[issue11506] b'' += gives SystemError instead of SyntaxError

2011-04-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks all for fixing. This 'silently' crashes IDLE with no message. Just 'poof'. -- nosy: +terry.reedy ___ Python tracker ___

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d9a8e84279a by Benjamin Peterson in branch '3.1': make assigning to a bytes literal a syntax error (closes #11506) http://hg.python.org/cpython/rev/4d9a8e84279a -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected statu

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-04-12 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- components: +Interpreter Core type: -> behavior versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-04-12 Thread Andreas Stührk
Andreas Stührk added the comment: Benjamin told me that "test_syntax" is the right place for the test and indeed, there are quite some literals already tested. -- nosy: +benjamin.peterson Added file: http://bugs.python.org/file21637/issue_11506_v2.patch ___

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-17 Thread Andreas Stührk
Andreas Stührk added the comment: Added a test. Perhaps that should be done for other literals as well? -- Added file: http://bugs.python.org/file21272/issue_11506.patch ___ Python tracker

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-17 Thread Andreas Stührk
Changes by Andreas Stührk : Removed file: http://bugs.python.org/file21140/issue_11506.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-14 Thread Andreas Stührk
Andreas Stührk added the comment: Seems like like a case for "Bytes_kind" is missing in `set_context()`. Attached is a patch, without a test though. -- keywords: +patch nosy: +Trundle Added file: http://bugs.python.org/file21140/issue_11506.patch __

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-14 Thread Nick Coghlan
New submission from Nick Coghlan : b'' += source gives SystemError instead of SyntaxError -- messages: 130881 nosy: ncoghlan priority: normal severity: normal status: open title: b'' += gives SystemError instead of SyntaxError ___ Python tracker