Nick Coghlan added the comment:

Oh, and yes, this is *definitely* a bug: _collections_abc.__name__ is set to 
"collections.abc", but if "collections.abc" isn't imported anywhere in the 
program, then cx-freeze and similar tools will miss the fact that 
"collections.abc" should be bundled.

If "collections" is changed back to implicitly importing the submodule, that 
problem should go away (although the lie in __name__ for pickle compatibility 
may still cause problems with freezing, so it's perhaps worth mentioning in the 
porting notes regardless).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20784>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to