[Lxml-checkins] r32532 - lxml/trunk/src/lxml

scoder at codespeak.net scoder at codespeak.net
Wed Sep 20 17:31:09 CEST 2006


Author: scoder
Date: Wed Sep 20 17:31:08 2006
New Revision: 32532

Modified:
   lxml/trunk/src/lxml/objectify.pyx
Log:
make Python longs (1L) parsable

Modified: lxml/trunk/src/lxml/objectify.pyx
==============================================================================
--- lxml/trunk/src/lxml/objectify.pyx	(original)
+++ lxml/trunk/src/lxml/objectify.pyx	Wed Sep 20 17:31:08 2006
@@ -845,7 +845,7 @@
                              "int", "unsignedInt", "short", "unsignedShort")
     pytype.register()
 
-    pytype = PyType('long', None, LongElement)
+    pytype = PyType('long', long, LongElement)
     pytype.xmlSchemaTypes = ("long", "unsignedLong")
     pytype.register()
 


More information about the lxml-checkins mailing list