This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients Thorben, akuchling, nnorwitz
Date 2008-01-19.13:46:57
SpamBayes Score 0.000627
Marked as misclassified No
Message-id <>
The C program does crash, but newwin() is returning NULL 
and the code should really be checking for this case.   When I try 
the Python script with 2.5-maint and 2.6-trunk, I get the error:
amk@amk:~/source/p/25$ ./python.exe ../python/
Traceback (most recent call last):
  File "../python/", line 8, in <module>
  File "/Users/amk/source/p/25/Lib/curses/", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "../python/", line 4, in foobar
    winmain = curses.newwin(50,50,50,50)
_curses.error: curses function returned NULL

I removed the import of the 'readline' module 
because I don't have it on my Mac, but that seems unlikely to 
make a difference.
Date User Action Args
2008-01-19 13:46:59akuchlingsetspambayes_score: 0.000627 -> 0.000627
recipients: + akuchling, nnorwitz, Thorben
2008-01-19 13:46:59akuchlingsetspambayes_score: 0.000627 -> 0.000627
messageid: <>
2008-01-19 13:46:58akuchlinglinkissue1266 messages
2008-01-19 13:46:57akuchlingcreate