[issue19609] Codec exception chaining shouldn't cover the initial codec lookup

2013-11-15 Thread Stefan Behnel
Stefan Behnel added the comment: Thanks! -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue19609] Codec exception chaining shouldn't cover the initial codec lookup

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Fixed by narrowing the scope of the chaining in http://hg.python.org/cpython/rev/4ea622c085ca -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue19609] Codec exception chaining shouldn't cover the initial codec lookup

2013-11-15 Thread Nick Coghlan
New submission from Nick Coghlan: The exception chaining from issue 17828 is triggering for the initial codec lookup. This is less than helpful: Failed example: str(result) Expected: Traceback (most recent call last): ... LookupError: unknown encoding: UCS