Message157166
| Author |
serhiy.storchaka |
| Recipients |
d9pouces, ned.deily, r.david.murray, ronaldoussoren, serhiy.storchaka |
| Date |
2012年03月31日.07:55:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1333180516.49.0.0574472808221.issue14455@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This patch is for Python 2. New features are accepted only for Python 3.3+. I ported the patch, but since I have no Mac, I can't check.
To date code was specified incorrectly.
The length of integers was calculated incorrectly. To convert integers, you can use int.from_bytes.
Objects identity was not preserved.
I'm not sure that the recognition of XML done enough. Should consider UTF-16 and UTF-32 with the BOM and without.
Need tests.
Also I'm a bit cleaned up and modernizing the code. I believe that it should be rewritten in a more object-oriented style. It is also worth to implement writer. |
|