[issue16259] Replace exec() in test.regrtest with __import__

2013-01-12 Thread Ramchandra Apte
Ramchandra Apte added the comment: Boiiummp. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___ ___ Python-bugs-list mailing list

[issue16259] Replace exec() in test.regrtest with __import__

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e22c09f636d4 by R David Murray in branch 'default': #16259: delete some no-longer-used code from regrtest. http://hg.python.org/cpython/rev/e22c09f636d4 -- nosy: +python-dev ___ Python tracker

[issue16259] Replace exec() in test.regrtest with __import__

2013-01-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___

[issue16259] Replace exec() in test.regrtest with __import__

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Bump. -- type: - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___ ___

[issue16259] Replace exec() in test.regrtest with __import__

2012-10-17 Thread R. David Murray
R. David Murray added the comment: That's a safe use of exec, since the name is coming from a loaded module and not from user input. Still, load_module would be cleaner. However, the real fix is to just delete that code. It is dead code...we always pass the indirect_test argument to dash_R.

[issue16259] Replace exec() in test.regrtest with __import__

2012-10-16 Thread Ramchandra Apte
New submission from Ramchandra Apte: In Lib/test/regrtest.py:1336 , exec is used to import an module. I think it could be replaced with an __import__ call. -- components: Library (Lib) messages: 173126 nosy: ramchandra.apte priority: normal severity: normal status: open title: Replace

[issue16259] Replace exec() in test.regrtest with __import__

2012-10-16 Thread Eric Snow
Eric Snow added the comment: Rather, importlib.import_module(). :) -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___