[New-bugs-announce] [issue34461] Availability of parsers in etree initializer

nilanjan roy report at bugs.python.org
Wed Aug 22 06:41:28 EDT 2018


New submission from nilanjan roy <roy.nilanjan at gmail.com>:

As xml package make the availability of separate global name-space by *__all__* so considerably *etree* should have included of all the parser files in its initialize(i.e. in *__init__.py*). 

So if any script consider as "from xml import *" then *etree* should have accessibility on all of it's parser files i.e. etree should access like *etree.ElementTree* which is not working as expected currently. Currently it's enforced to use as normal behavior as "import xml.etree.ElementTree"

----------
components: XML
messages: 323872
nosy: nilanjan roy
priority: normal
severity: normal
status: open
title: Availability of parsers in etree initializer
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34461>
_______________________________________


More information about the New-bugs-announce mailing list