[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-11-08 Thread Brett Cannon
Brett Cannon added the comment: test_importlib now runs both frozen and source code for all relevant tests. Should allow for making changes in the source w/o recompiling and making sure any source tests pass. Also makes sure the pure Python implementation of import that mirrors what import.c

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-11-08 Thread Eric Snow
Eric Snow added the comment: Hurray! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16803 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-10-04 Thread Brett Cannon
Brett Cannon added the comment: It looks like as long as you block _frozen_importlib and do a fresh import of importlib you can make sure to use the source version of importlib._bootstrap instead of _frozen_importlib. from test.support import import_fresh_module mod =

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-06-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16803 ___ ___

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-01-23 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16803 ___ ___ Python-bugs-list

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-01-04 Thread Ezio Melotti
Ezio Melotti added the comment: Is the usual PEP 399 idiom enough, or is something more advanced required? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16803 ___

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-01-04 Thread Brett Cannon
Brett Cannon added the comment: With some tricky use of import_fresh_module() because importlib.__init__ does some masking trickery, it should ... I think. =) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16803

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2012-12-31 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- title: Make time_importlib run tests under both _frozen_importlib and importlib._bootstrap - Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap ___ Python tracker