[ python-Bugs-845802 ] Python crashes when __init__.py is a
directory.
SourceForge.net
noreply at sourceforge.net
Mon Jun 7 11:09:36 EDT 2004
Bugs item #845802, was opened at 2003-11-20 14:57
Message generated for change (Settings changed) made by theller
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=845802&group_id=5470
>Category: None
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Kerim Borchaev (warkid)
>Assigned to: Thomas Heller (theller)
Summary: Python crashes when __init__.py is a directory.
Initial Comment:
If package/__init__.py is a directory then this code
crashes under Windows XP:
###
import sys#or os or maybe something else;-)
import package#package/__init__.py is DIRECTORY!
'\n'.join([])
###
Test case attached.
----------------------------------------------------------------------
>Comment By: Thomas Heller (theller)
Date: 2004-06-07 17:09
Message:
Logged In: YES
user_id=11105
For me, it crashes in a debug built (on Windows) after
doing 'import package' with a refcount error.
I don't think it's windows specific.
Fixed in Python/import.c, CVS rev. 2.232 and rev. 2.222.6.3.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-11-20 23:44
Message:
Logged In: YES
user_id=33168
I can't duplicate this problem on Linux, so I'm assuming
it's Windows specific.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=845802&group_id=5470
More information about the Python-bugs-list
mailing list