[issue1551] Port Python/import.c to py3k branch

Nick Coghlan report at bugs.python.org
Tue Dec 4 13:27:17 CET 2007


Nick Coghlan added the comment:

I should have known that fiddling with import.c couldn't possibly go as
smoothly as it had been ;)

The problem actually turned out to be fairly shallow - the merge picked
up a lot of calls to the PyString_* interfaces from the 2.x import
implementation. Replacing all those calls with the PyUnicode_*
equivalent eliminated the crash.

Fixed in rev 59319.

----------
resolution:  -> fixed
status: open -> closed
type:  -> crash

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1551>
__________________________________


More information about the Python-bugs-list mailing list