[MERGE] Bencode Pyrex, pt 3
Jelmer Vernooij
jelmer at samba.org
Wed May 27 15:05:54 BST 2009
Hi John,
I think this updated patch covers your offline review comments:
* Fix copyright year in bzrlib/bencode.py
* In encode, check for string objects before int objects, since they're
significantly more common in real life
* Add several more tests for corner cases
* Use PyString_{AS_STRING,GET_SIZE} instead of PyString_AsStringAndSize
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bencode-pyrex-2710.patch
Type: text/x-diff
Size: 62907 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090527/4e59d966/attachment-0001.bin
More information about the bazaar
mailing list