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 rpetrov
Recipients BreamoreBoy, Trundle, akuchling, brian.curtin, ipatrol, jmb, loewis, paul.moore, rpetrov, techtonik, tim.golden, zhirsch
Date 2010-08-24.11:42:15
SpamBayes Score 0.00024251247
Marked as misclassified No
Message-id <1282650136.47.0.403295572369.issue2889@psf.upfronthosting.co.za>
In-reply-to
Content
Recent ncurses pass python tests with only one small update (part of patch to issue 3871):
=====================================
--- ./Lib/test/test_curses.py.MINGW	2010-08-09 00:03:48.000000000 +0300
+++ ./Lib/test/test_curses.py	2010-08-09 00:05:38.000000000 +0300
@@ -167,11 +167,16 @@
     curses.delay_output(1)
     curses.echo() ; curses.echo(1)
 
-    f = tempfile.TemporaryFile()
+    fx = tempfile.TemporaryFile()
+    # cf tempfile.py TemporaryFile vs NamedTemporaryFile
+    if os.name != 'posix' or os.sys.platform == 'cygwin':
+        f = fx.file
+    else:
+        f = fx
     stdscr.putwin(f)
     f.seek(0)
     curses.getwin(f)
-    f.close()
+    fx.close()
 
     curses.halfdelay(1)
     curses.intrflush(1)
=====================================
About TERM environment variable - I don't have time to test ncurses if is not set.

Also PDCurses is not updated since 2008.
History
Date User Action Args
2010-08-24 11:42:16rpetrovsetrecipients: + rpetrov, loewis, akuchling, paul.moore, techtonik, tim.golden, zhirsch, Trundle, brian.curtin, jmb, ipatrol, BreamoreBoy
2010-08-24 11:42:16rpetrovsetmessageid: <1282650136.47.0.403295572369.issue2889@psf.upfronthosting.co.za>
2010-08-24 11:42:15rpetrovlinkissue2889 messages
2010-08-24 11:42:15rpetrovcreate