Bugs item #2818443, was opened at 2009-07-08 13:20
Message generated for change (Tracker Item Submitted) made by efotinis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2818443&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pythonwin
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Elias Fotinis (efotinis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interactive prompt SyntaxError display (213->214 regression)
Initial Comment:
SyntaxError exception output in the Interactive prompt of PythonWin fails by throwing additional exceptions.
This doesn't happen in build 213 (Python 3.0.1), so it's a 214 (3.1) regression.
For example (in 214/3.1):
==========
>>> u''
...
File "<string>", line None
SyntaxError: invalid syntax (<interactive input>, line 1)
During handling of the above exception, another exception occurred:
...
File "...\pywin\framework\winout.py", line 465, in HandleOutput
pos = message.rfind('\n')
TypeError: expected an object with the buffer interface
During handling of the above exception, another exception occurred:
...
File "...\pywin\framework\winout.py", line 455, in QueueFlush
self.currentView.dowrite(''.join(items))
TypeError: sequence item 0: expected str instance, bytes found
==========
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2818443&group_id=78018
|