[Lxml-checkins] r55086 - in lxml/trunk: . src/lxml
scoder at codespeak.net
scoder at codespeak.net
Wed May 21 21:45:39 CEST 2008
Author: scoder
Date: Wed May 21 21:45:39 2008
New Revision: 55086
Modified:
lxml/trunk/ (props changed)
lxml/trunk/src/lxml/lxml.etree.pyx
Log:
r4251 at delle: sbehnel | 2008-05-20 22:00:27 +0200
prevent Py3 from decoding byte string on dictionary lookup
Modified: lxml/trunk/src/lxml/lxml.etree.pyx
==============================================================================
--- lxml/trunk/src/lxml/lxml.etree.pyx (original)
+++ lxml/trunk/src/lxml/lxml.etree.pyx Wed May 21 21:45:39 2008
@@ -371,7 +371,7 @@
return c_ns
if c_prefix is NULL:
- dict_result = python.PyDict_GetItemString(
+ dict_result = python.PyDict_GetItem(
_DEFAULT_NAMESPACE_PREFIXES, c_href)
if dict_result is not NULL:
prefix = <object>dict_result
More information about the lxml-checkins
mailing list