Hello !
Python 2.6 appeared in SXCE 109. It seems, however, that curses
support is not functional.
hellride:/home/imp> python2.6
Python 2.6.1 (r261:67515, Feb 9 2009, 17:07:13) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/curses/__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses
>>> ^D
hellride:/home/imp>
with python 2.5 it works as expected
hellride:/home/imp> python2.5
Python 2.5.2 (r252:60911, Feb 9 2009, 17:00:38) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
>>> ^D
hellride:/home/imp>
Looking under /usr/lib/python2.x/lib-dynload it appears that curses
module is renamed to _curses_failed.
hellride:/home/imp> ls -l /usr/lib/python2.*/lib-dynload/_curs*
-rwxr-xr-x 1 root bin 77908 Feb 12 11:48
/usr/lib/python2.4/lib-dynload/_curses.so
-rwxr-xr-x 1 root bin 13688 Feb 12 11:48
/usr/lib/python2.4/lib-dynload/_curses_panel.so
-rwxr-xr-x 1 root bin 78772 Feb 12 11:56
/usr/lib/python2.5/lib-dynload/_curses.so
-rwxr-xr-x 1 root bin 13996 Feb 12 11:56
/usr/lib/python2.5/lib-dynload/_curses_panel.so
-rwxr-xr-x 1 root bin 78324 Feb 18 05:03
/usr/lib/python2.6/lib-dynload/_curses_failed.so
-rwxr-xr-x 1 root bin 13736 Feb 18 05:03
/usr/lib/python2.6/lib-dynload/_curses_panel_failed.so
Was it done on purpose ? Can someone elaborate more on that ?
--
Regards,
Cyril