[issue18260] configparser: TypeError occurs when handling errors in files with binary names

2013-06-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 56c1227f21f5 by Łukasz Langa in branch '3.3': Fixed issue #18260: configparser TypeError on source name specified as bytes http://hg.python.org/cpython/rev/56c1227f21f5 New changeset 06e70937364b by Łukasz Langa in branch 'default': Merged fix for

[issue18260] configparser: TypeError occurs when handling errors in files with binary names

2013-06-23 Thread Łukasz Langa
Łukasz Langa added the comment: 1. Duplicate sections and options are consciously reported as errors now. This is a documented backwards-incompatible change [1]_. If you wish to revert to previous behaviour, you can set strict=False on parser creation. 2. It's really just a coincidence that

[issue18260] configparser: TypeError occurs when handling errors in files with binary names

2013-06-18 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: TypeError occurs when handling errors in files with binary names. configparser.* exceptions are expected. This regression was introduced in Python 3.2. $ cat /tmp/test1 [section] [section] $ cat /tmp/test2 [section] option = value option