[issue22862] os.walk fails on undecodable filenames

2014-11-13 Thread Florian Höch
New submission from Florian Höch: If 'top' is an unicode directory name, os.listdir can still return non-unicode filenames if they can't be decoded. This case is not handled in the Python 2.x standard library version of os.walk and will cause join(top, name) to fail on such filenames

[issue22862] os.walk fails on undecodable filenames

2014-11-13 Thread Florian Höch
Florian Höch added the comment: This problem only affects Linux as far as I know (in my case I'm using Fedora 21 Beta). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22862

[issue22862] os.walk fails on undecodable filenames

2014-11-13 Thread Florian Höch
Florian Höch added the comment: 1) Is not yet possible for me unfortunately, some libraries I require are not yet available for Python 3 (but in the long run, this would be my preferred solution) 2) Would necessitate too many changes in a carefully crafted, unicode-only application. I think

[issue22862] os.walk fails on undecodable filenames

2014-11-13 Thread Florian Höch
Florian Höch added the comment: I'm curious, which libraries? wxPython and wexpect (wexpect I could probably port myself, so the problem is mainly with wx) Oh, I forgot to say that it's not possible to fix this issue in Python 2. Backporting the PEP 383 in Python 2 requires deep changes

[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured

2015-05-07 Thread Florian Höch
New submission from Florian Höch: If a ParsingError occurs while reading a config file, the multi-line values collected while reading will never be joined because the error is raised before this can happen. This leads to very unexpected results, e.g. consider the following config.ini

[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured

2015-05-07 Thread Florian Höch
Florian Höch added the comment: [Btw, you might want to fix the contributor agreement form - I can't sign it because it shows no text, so I don't know what I'm supposed to enter in the fields (Firefox 37.0.2)] -- ___ Python tracker rep

[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured

2016-08-07 Thread Florian Höch
Florian Höch added the comment: It seems this hasn't landed yet? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24142> ___ ___

[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured

2016-11-27 Thread Florian Höch
Florian Höch added the comment: > Thanks for your patch! As you can see, 2.7 is no longer touched as the codebases diverged. Thanks, although I have to say it's a little bit unfortunate that Python 2.7 will be left in a worse state than 2.6 where this bug did not ex