This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年10月17日 03:26 by Ramchandra Apte, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (6) | |||
|---|---|---|---|
| msg173126 - (view) | Author: Ramchandra Apte (Ramchandra Apte) * | Date: 2012年10月17日 03:26 | |
In Lib/test/regrtest.py:1336 , exec is used to import an module. I think it could be replaced with an __import__ call. |
|||
| msg173128 - (view) | Author: Eric Snow (eric.snow) * (Python committer) | Date: 2012年10月17日 03:55 | |
Rather, importlib.import_module(). :) |
|||
| msg173162 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年10月17日 12:16 | |
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. |
|||
| msg174306 - (view) | Author: Ramchandra Apte (Ramchandra Apte) * | Date: 2012年10月31日 16:03 | |
Bump. |
|||
| msg179808 - (view) | Author: Ramchandra Apte (Ramchandra Apte) * | Date: 2013年01月12日 15:13 | |
Boiiummp. |
|||
| msg179822 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年01月12日 16:34 | |
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 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:37 | admin | set | github: 60463 |
| 2013年01月12日 16:35:28 | r.david.murray | set | status: open -> closed resolution: fixed stage: resolved |
| 2013年01月12日 16:34:55 | python-dev | set | nosy:
+ python-dev messages: + msg179822 |
| 2013年01月12日 15:13:12 | Ramchandra Apte | set | messages: + msg179808 |
| 2012年10月31日 16:03:52 | Ramchandra Apte | set | type: behavior messages: + msg174306 versions: + Python 3.4 |
| 2012年10月17日 12:16:55 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg173162 |
| 2012年10月17日 03:55:11 | eric.snow | set | nosy:
+ eric.snow messages: + msg173128 |
| 2012年10月17日 03:26:34 | Ramchandra Apte | create | |