Antoine Pitrou added the comment: > Ideally, we'd also have a standard lazy import mechanism in 3.5, so these > definitions could go in the collections module, but only installed if pprint > was also imported.
That sounds more like an on-import hook than a lazy import mechanism, no? ---------- keywords: +easy _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7434> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com