Author ncoghlan
Recipients brett.cannon, eric.snow, mjacob, ncoghlan
Date 2017-03-19.11:22:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Right, there's a longstanding RFE to allow builtin packages and submodules:

At the moment, modules like pyexpat are more like the os module than they are packages: they eagerly set other modules as attributes at import time (akin to os.path), rather than defining an actual package with submodules that can be optionally loaded via the import system.

Given the import system changes in recent 3.x releases, I'd expect it to be feasible (but not necessarily easy) to come up with a viable specification and implementation for builtin and extension packages that work similarly to traditional packages (perhaps based on the handling of frozen packages).
Date User Action Args
2017-03-19 11:22:38ncoghlansetrecipients: + ncoghlan, brett.cannon, eric.snow, mjacob
2017-03-19 11:22:38ncoghlansetmessageid: <>
2017-03-19 11:22:38ncoghlanlinkissue29830 messages
2017-03-19 11:22:38ncoghlancreate