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

2011-04-12 Thread Andreas Stührk

Andreas Stührk andy-pyt...@hammerhartes.de 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Santoso Wijaya

Changes by Santoso Wijaya santoso.wij...@gmail.com:


--
components: +Interpreter Core
type:  - behavior
versions: +Python 3.1, Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Roundup Robot

Roundup Robot devnull@devnull 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
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Thanks all for fixing. This 'silently' crashes IDLE with no message.
Just 'poof'.

--
nosy: +terry.reedy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-17 Thread Andreas Stührk

Changes by Andreas Stührk andy-pyt...@hammerhartes.de:


Removed file: http://bugs.python.org/file21140/issue_11506.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-17 Thread Andreas Stührk

Andreas Stührk andy-pyt...@hammerhartes.de 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 rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-14 Thread Nick Coghlan

New submission from Nick Coghlan ncogh...@gmail.com:

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 rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-14 Thread Andreas Stührk

Andreas Stührk andy-pyt...@hammerhartes.de 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com