Ramchandra Apte added the comment:
Boiiummp.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16259
___
___
Python-bugs-list mailing list
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
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
___
Ramchandra Apte added the comment:
Bump.
--
type: - behavior
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16259
___
___
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.
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
Eric Snow added the comment:
Rather, importlib.import_module(). :)
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16259
___