[issue1293] Trailing slash in sys.path cause import failure
Christian Heimes
report at bugs.python.org
Thu Nov 1 22:53:38 CET 2007
Christian Heimes added the comment:
Fixed patch. Georg pointed out that PyArg_ParseTuple("s") returns a
reference to the internal data of the PyString object. The new version
copies the path to a fixed width buffer before it mangles the trailing
slashes.
The new patch applies against the trunk.
Brett, you are the import master. Can you review the patch, please?
----------
assignee: -> brett.cannon
nosy: +brett.cannon
Added file: http://bugs.python.org/file8675/trailing_slash2.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1293>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trailing_slash2.patch
Type: text/x-diff
Size: 1304 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071101/2764684d/attachment.patch
More information about the Python-bugs-list
mailing list