[issue10598] curses fails to import on Solaris

River Tarnell report at bugs.python.org
Wed Dec 1 21:12:59 CET 2010


New submission from River Tarnell <river at tamara.tcx.org.uk>:

On Solaris 10 using system libcurses, curses fails to import:

hemlock% python3.1
Python 3.1.3 (r313:86834, Dec  1 2010, 19:51:26) 
[GCC 4.5.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
  File "/opt/ts/python/3.1/lib/python3.1/curses/__init__.py", line 57, in <module>
    has_key
NameError: name 'has_key' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/ts/python/3.1/lib/python3.1/curses/__init__.py", line 59, in <module>
    from has_key import has_key
ImportError: No module named has_key
>>>

----------
components: Extension Modules
messages: 123007
nosy: rtarnell
priority: normal
severity: normal
status: open
title: curses fails to import on Solaris
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10598>
_______________________________________


More information about the Python-bugs-list mailing list