[Lxml-checkins] r35260 - in lxml/trunk: . src/lxml

scoder at codespeak.net scoder at codespeak.net
Mon Dec 4 17:32:10 CET 2006


Author: scoder
Date: Mon Dec  4 17:32:08 2006
New Revision: 35260

Modified:
   lxml/trunk/CHANGES.txt
   lxml/trunk/src/lxml/etree_defs.h
Log:
threading crash also appears under 2.4.1, not only 2.3

Modified: lxml/trunk/CHANGES.txt
==============================================================================
--- lxml/trunk/CHANGES.txt	(original)
+++ lxml/trunk/CHANGES.txt	Mon Dec  4 17:32:08 2006
@@ -13,7 +13,7 @@
 
 * ElementTree.parser property holds the parser used to parse the document
 
-* setup.py has been refactored for greater readability and flexibility.
+* setup.py has been refactored for greater readability and flexibility
 
 * --rpath flag to setup.py to induce automatic linking-in of dynamic library
   runtime search paths has been renamed to --auto-rpath. This makes it
@@ -23,6 +23,9 @@
 Bugs fixed
 ----------
 
+* Error handling could crash under Python <= 2.4.1 - fixed by disabling thread
+  support in these environments
+
 * Element.find*() did not accept QName objects as path
 
 

Modified: lxml/trunk/src/lxml/etree_defs.h
==============================================================================
--- lxml/trunk/src/lxml/etree_defs.h	(original)
+++ lxml/trunk/src/lxml/etree_defs.h	Mon Dec  4 17:32:08 2006
@@ -16,8 +16,8 @@
 #endif
 #endif
 
-/* Threading can crash under Python 2.3 */
-#if PY_VERSION_HEX < 0x02040000
+/* Threading can crash under Python <= 2.4.1 */
+#if PY_VERSION_HEX < 0x02040200
 #ifndef WITHOUT_THREADING
   #define WITHOUT_THREADING
 #endif


More information about the lxml-checkins mailing list