Open msabramo opened 13 years ago
It looks like this one can be closed as Python 3 is supported.
no it's not, one test fails
FAIL: test_dumps_dict (tests.PhpSerializeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/d/src/git/nikola/phpserialize/tests.py", line 36, in test_dumps_dict
b'a:3:{s:1:"a";i:1;s:1:"c";i:3;s:1:"b";i:2;}')
AssertionError: b'a:3:{s:1:"b";i:2;s:1:"c";i:3;s:1:"a";i:1;}' != b'a:3:{s:1:"a";i:1;s:1:"c";i:3;s:1:"b";i:2;}'
… oops, false negative, that's just dictionary ordering. Nevertheless,l to be fixed.
I have changes to make it work at:
https://github.com/msabramo/phpserialize/tree/python3.x
Obviously, you don't want to pull these changes into master and break Python 2.x compatibility, which is why I didn't send a pull request (I didn't see a way to request that it be pulled into an upstream branch that doesn't exist yet...?).
Cheers, Marc