CIA.vc
Archived Message
for Michael Marineau
Stats » Authors » Michael Marineau » Archived Message
envelope
Received 22:48 on Sep 03, 2010
Generated by Simple JSON POST parser for google code version 0.5
linksUTC clock
07:50 on Feb 13, 2012

Commit Message

Author:marineam
Project:coil
Revision:247
URL:http://coil.googlecode.com/svn-history/r247/
Consider attribute order in Struct equality tests.

Previous versions of 0.3.x used the default unordered dict comparison
when testing equality. So even though Structs are ordered mapping
objects order didn't matter in comparisons. This lead to a surprise in
the unit tests, for a long while I couldn't figure out how the @map unit
test was actually passing because the ordering was wrong.

This is an incompatible change so it is not suitable for 0.3.x.

Modified Files

  • trunk
    • coil
      • struct.pyModified
      • test
        • test_parser.pyModified