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年09月09日 12:20 by chris.jerdonek, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue-regrtest-start-1.patch | chris.jerdonek, 2012年09月09日 12:20 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg170099 - (view) | Author: Chris Jerdonek (chris.jerdonek) * (Python committer) | Date: 2012年09月09日 12:20 | |
The --start option to regrtest raises an AttributeError in many scenarios. For example, these both raise an error: $ ./python.exe -m test --start test_random $ ./python.exe -m test --start test_random test_binascii test_random Traceback (most recent call last): File ".../Lib/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File ".../Lib/runpy.py", line 73, in _run_code exec(code, run_globals) File ".../Lib/test/__main__.py", line 13, in <module> regrtest.main() File ".../Lib/test/regrtest.py", line 562, in main del tests[:tests.index(start)] AttributeError: 'NoneType' object has no attribute 'index' Patch attached. |
|||
| msg170100 - (view) | Author: Chris Jerdonek (chris.jerdonek) * (Python committer) | Date: 2012年09月09日 12:28 | |
This issue also affects 3.2 (but not 2.7; there is no --start option in 2.7). |
|||
| msg173977 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年10月27日 21:10 | |
New changeset f6d04f5cff31 by R David Murray in branch '3.2': #15889: make regrtest --start succeed in more cases. http://hg.python.org/cpython/rev/f6d04f5cff31 New changeset 19f205e3111c by R David Murray in branch '3.3': merge #15889: make regrtest --start succeed in more cases. http://hg.python.org/cpython/rev/19f205e3111c New changeset f9bd7633316c by R David Murray in branch 'default': merge #15889: make regrtest --start succeed in more cases. http://hg.python.org/cpython/rev/f9bd7633316c |
|||
| msg173978 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年10月27日 21:11 | |
Thanks, Chris. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:35 | admin | set | github: 60093 |
| 2012年10月27日 21:11:09 | r.david.murray | set | status: open -> closed versions: + Python 3.4 nosy: + r.david.murray messages: + msg173978 resolution: fixed stage: patch review -> resolved |
| 2012年10月27日 21:10:22 | python-dev | set | nosy:
+ python-dev messages: + msg173977 |
| 2012年09月09日 12:28:15 | chris.jerdonek | set | messages:
+ msg170100 versions: + Python 3.2 |
| 2012年09月09日 12:20:18 | chris.jerdonek | create | |