Berker Peksag <[email protected]> added the comment:
Unless I'm missing something, you want the following snippet work in 3.6.0,
right?
import configparser as c
import pathlib as p
cp = c.ConfigParser()
cp.read(p.Path('t.cfg'))
t.cfg:
$ cat t.cfg
[Spam]
foo = bar
Support for PathLike objects was added in 3.6.1 (see
https://github.com/python/cpython/blob/3.6/Lib/configparser.py#L691 for the
latest version of the code in the 3.6 branch) and we only support the latest
bugfix release of a feature release. So, in other words, we can't add a
workaround for 3.6.0 in the next bugfix release of 3.6 (which will be 3.6.7)
I suggest to close this as 'outdated'.
----------
nosy: +berker.peksag
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35002>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com