Stefan Behnel <[email protected]> added the comment:
Interesting. Thanks for investigating this. It looks like the script
"appxmanifest.py" uses an empty string as prefix for a lookup:
File "D:\a\1\s\PC\layout\support\appxmanifest.py", line 407, in
get_appxmanifest
node = xml.find("m:Identity", NS)
I don't know where that script comes from, but it suggests that strictly
rejecting this kind of invalid library usage might not be the right thing to do
for now. It seems to be a case where users pass an arbitrary prefix-namespace
dict into .find() that they happen to have lying around, expecting unused
mappings to be ignored. I pushed a PR that removes the exception for now.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue30485>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com