[pywin32-bugs] [ pywin32-Bugs-2818443 ] Interactive prompt SyntaxError display (213->214 regression
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-07-10 05:31:27
|
Bugs item #2818443, was opened at 2009-07-08 05:20 Message generated for change (Settings changed) made by rupole 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: Closed >Resolution: Fixed 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 ========== ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2009-07-10 00:31 Message: This is fixed in interact.py v1.23. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2818443&group_id=78018 |