Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #16306: report only the first unknown option and add more tests. Patch by ↵ | Ezio Melotti | 2012-11-23 | 1 | -4/+14 |
| | | | | Serhiy Storchaka. | ||||
* | #16306: Fix multiple error messages when unknown command line parameters ↵ | Ezio Melotti | 2012-11-18 | 1 | -1/+10 |
| | | | | where passed to the interpreter. Patch by Hieu Nguyen. | ||||
* | Issue #15001: fix segfault on "del sys.modules['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -2/+17 |
| | | | | Patch by Victor Stinner. | ||||
* | merge 2.6 with hash randomization fix | Benjamin Peterson | 2012-02-20 | 1 | -0/+14 |
|\ | |||||
| * | - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED | Barry Warsaw | 2012-02-20 | 1 | -0/+14 |
| | | | | | | | | | | | | environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner. | ||||
* | | Remove unused imports in test modules. | Georg Brandl | 2010-02-07 | 1 | -1/+0 |
| | | |||||
* | | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -3/+3 |
| | | |||||
* | | Issue #6816: expose the zipfile and directory execution mechanism to Python ↵ | Nick Coghlan | 2009-11-15 | 1 | -25/+7 |
| | | | | | | | | code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation. | ||||
* | | don't use subprocess.call with PIPEs as the child can fill the pipe buf and | Philip Jenvey | 2009-05-22 | 1 | -2/+4 |
|/ | | | | | deadlock. add a warning to subprocess docs about this, similar to Popen.wait's. refs http://bugs.jython.org/issue1351 | ||||
* | Patch #1739468: Directories and zipfiles containing __main__.py are now ↵ | Nick Coghlan | 2007-11-18 | 1 | -0/+3 |
| | | | | executable | ||||
* | Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056) | Nick Coghlan | 2007-09-11 | 1 | -5/+2 |
| | |||||
* | Fix bug 1764407 - the -i switch now does the right thing when using the -m ↵ | Nick Coghlan | 2007-08-25 | 1 | -11/+29 |
| | | | | switch | ||||
* | Deprecate os.popen* and popen2 module in favor of the subprocess module. | Neal Norwitz | 2007-05-11 | 1 | -6/+7 |
| | |||||
* | Patch #1559413: Fix test_cmd_line if sys.executable contains a space. | Martin v. Löwis | 2007-03-14 | 1 | -1/+1 |
| | | | | Will backport. | ||||
* | Add new utility function, reap_children(), to test_support. This should | Neal Norwitz | 2006-06-29 | 1 | -0/+1 |
| | | | | | | | | | | be called at the end of each test that spawns children (perhaps it should be called from regrtest instead?). This will hopefully prevent some of the unexplained failures in the buildbots (hppa and alpha) during tests that spawn children. The problems were not reproducible. There were many zombies that remained at the end of several tests. In the worst case, this shouldn't cause any more problems, though it may not help either. Time will tell. | ||||
* | More reliable version of new command line tests that just checks the exit codes | Nick Coghlan | 2006-04-24 | 1 | -2/+37 |
| | |||||
* | Back out new command line tests (broke buildbot) | Nick Coghlan | 2006-04-24 | 1 | -55/+0 |
| | |||||
* | Add unit tests for the -m and -c command line switches | Nick Coghlan | 2006-04-24 | 1 | -0/+55 |
| | |||||
* | Add a comment to explain why we are calling _cleanup() | Neal Norwitz | 2006-04-17 | 1 | -0/+2 |
| | |||||
* | Try to stop the test from leaking and yet still work on windows | Neal Norwitz | 2006-04-17 | 1 | -3/+2 |
| | |||||
* | Get test to consistently show no leaks | Neal Norwitz | 2006-04-17 | 1 | -1/+3 |
| | |||||
* | Try to be a bit more consistent on all platforms: | Neal Norwitz | 2006-03-09 | 1 | -13/+2 |
| | | | | | | | python . python < . both print a message, return non-zero and do not core dump. | ||||
* | Fix test not to fail on FreeBSD. Directories work also as data | Hye-Shik Chang | 2005-12-13 | 1 | -0/+4 |
| | | | | files on the platform. | ||||
* | SF patch #1364545: test_cmd_line.py relied on english error messages when | Walter Dörwald | 2005-11-25 | 1 | -13/+12 |
| | | | | | invoking the Python interpreter (which didn't work on non-english Windows versions). Check return codes instead. | ||||
* | test_directories(): This test had no chance of passing on | Tim Peters | 2005-10-30 | 1 | -2/+14 |
| | | | | | Windows. Hacked it to pass, but not sure it's worth the bother. | ||||
* | Fix unit test failure -- the output received from Python can be empty, | Guido van Rossum | 2005-10-08 | 1 | -1/+1 |
| | | | | but verify_valid_flag() wasn't expecting that. Will backport. | ||||
* | SF bug #887946, segfault if redirecting directory | Neal Norwitz | 2005-10-03 | 1 | -0/+50 |
Also provide a warning if a directory is passed on the command line. Add minimal command line test. Will backport. |