Message301026
Calling `config_parser.read` with `'test'` is equivalent to:
config_parser.read(['test'])
while calling `config_parser.read` with `b'test'` is treated as:
config_parser.read([116, 101, 115, 116])
which means python will try to open the file descriptors 101, 115 and 116.
I don't know if byte path should be supported, but this is probably not the expected behavior.
The method code: https://github.com/python/cpython/blob/master/Lib/configparser.py#L678-L702 |
|
| Date |
User |
Action |
Args |
| 2017-08-30 14:15:47 | vxgmichel | set | recipients:
+ vxgmichel |
| 2017-08-30 14:15:47 | vxgmichel | set | messageid: <1504102547.11.0.362577067596.issue31307@psf.upfronthosting.co.za> |
| 2017-08-30 14:15:46 | vxgmichel | link | issue31307 messages |
| 2017-08-30 14:15:46 | vxgmichel | create | |
|