homepage

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 Nicholas.Cole
Recipients Nicholas.Cole
Date 2012年03月07日.20:44:53
SpamBayes Score 3.01436e-08
Marked as misclassified No
Message-id <1331153094.15.0.871612927682.issue14223@psf.upfronthosting.co.za>
In-reply-to
Content
The following code works on Python versions prior to 3.3a1:
import curses
def test_screen(screen):
 screen.addch(5,5, curses.ACS_HLINE)
 screen.refresh()
curses.wrapper(test_screen)
On python3.3, the program produces the following traceback:
Traceback (most recent call last):
 File "/tmp/p.py", line 7, in <module>
 curses.wrapper(test_screen)
 File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/curses/__init__.py", line 94, in wrapper
 return func(stdscr, *args, **kwds)
 File "/tmp/p.py", line 4, in test_screen
 screen.addch(5,5, curses.ACS_HLINE)
OverflowError: byte doesn't fit in chtype
History
Date User Action Args
2012年03月07日 20:44:54Nicholas.Colesetrecipients: + Nicholas.Cole
2012年03月07日 20:44:54Nicholas.Colesetmessageid: <1331153094.15.0.871612927682.issue14223@psf.upfronthosting.co.za>
2012年03月07日 20:44:53Nicholas.Colelinkissue14223 messages
2012年03月07日 20:44:53Nicholas.Colecreate

AltStyle によって変換されたページ (->オリジナル) /