SilentGhost added the comment:
I wouldn't say it matter, "from configparser import _ChainMap" works too, but
that's just how imports work in Python. There is not reason to do what you've
done on purpose - ChainMap is undocumented and is clearly just a detail of
implementation.
The fact that ChainMap pollutes namespace when doing star import ("from string
import *"), however, is unfortunate. I believe there was an issue around that
was supposed to add missing __all__, but I'm not able to find that issue atm.
----------
nosy: +SilentGhost, georg.brandl
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26809>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com