Bugs item #989333, was opened at 2004-07-12 14:00 Message generated for change (Comment added) made by tebeka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989333&group_id=5470
Category: Python Library Group: Python 2.4 >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Miki Tebeka (tebeka) Assigned to: Nobody/Anonymous (nobody) Summary: Empty curses module is loaded in win32 Initial Comment: When doing "import curses" an empty curses module is loaded. I think that since curses is not supported in win32 that an ImportError should be raised (like in 2.3) ---------------------------------------------------------------------- >Comment By: Miki Tebeka (tebeka) Date: 2005-01-31 09:13 Message: Logged In: YES user_id=358087 Currently I have 2.4 installed and I also get an ImportError. Looks likes something went wrong with my 2.3 installation. Closing the bug. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2005-01-31 02:25 Message: Logged In: YES user_id=552329 I do not get this behaviour (I get the expected ImportError): C:\>c:\python22\python Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import curses Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named curses C:\>c:\python23\python Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import curses Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named curses C:\>c:\python24\python Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import curses Traceback (most recent call last): File "<stdin>", line 1, in ? File "c:\python24\lib\curses\__init__.py", line 15, in ? from _curses import * ImportError: No module named _curses What version of Python is this with? Do you possibly have a curses.pyc that shouldn't be there? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989333&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com