[issue13518] configparser can’t read file objects from urlopen

2012-09-03 Thread moijes12
Changes by moijes12 : -- nosy: -moijes12 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue13518] configparser can’t read file objects from urlopen

2012-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13518] configparser can’t read file objects from urlopen

2012-08-23 Thread moijes12
Changes by moijes12 : -- nosy: +moijes12 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue13518] configparser can’t read file objects from urlopen

2012-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mickey, you can wrap file-like object returned by urlopen with io.TextIOWrapper. config = configparser.RawConfigParser() config.read_file(io.TextIOWrapper(urlopen(path_config), encoding='utf-8')) Because there is no bug and new feature is not needed, I b

[issue13518] configparser can’t read file objects from urlopen

2011-12-03 Thread Éric Araujo
Changes by Éric Araujo : -- title: configparser -> configparser can’t read file objects from urlopen ___ Python tracker ___ ___ Python

[issue13518] configparser

2011-12-01 Thread Łukasz Langa
Łukasz Langa added the comment: Hello, Mickey. By doing open('file', 'rb') you're explicitly stating you want the file to be opened in BINARY mode which means it doesn't return strings but bytes. This is not supported anymore in Python 3. This is clearly documented here: http://docs.python.o

[issue13518] configparser

2011-12-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue13518] configparser

2011-12-01 Thread Mickey Ju
New submission from Mickey Ju : If this issue has raised previously, then I am sorry for repeating. I did a search but did not find related reports. Below is the thing I did. config = configparser.RawConfigParser() #config.read_file(urlopen(path_config)) config.read_file(open('jkl.ini',