summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #9315: Renamed test_trace to test_sys_settrace andAlexander Belopolsky2010-07-252-0/+0
| | | | | test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency.
* Issue #9315: Revert r83005 before renaming test_trace toAlexander Belopolsky2010-07-251-0/+0
| | | | | test_sys_settrace and test_profilehooks to test_sys_setprofile in all three branches.
* Fix for issue 9367: the test code for os.getgroupsRonald Oussoren2010-07-241-1/+5
| | | | | | assumes that the result of getgroups and the output of the id(1) command return groups in the same order. That assumption is both fragile and false.
* Put listdir default argument into declaration.Martin v. Löwis2010-07-241-2/+2
|
* Implementation for issue 4184Richard Jones2010-07-242-44/+266
| | | | Changes the previously private attributes to make them public, increasing the potential for extending the library in user code. Backward-compatible and documented.
* #9032: XML-RPC client: Transport.request() retries on EPIPE errorVictor Stinner2010-07-243-6/+5
| | | | | | | | | | | | The EPIPE error occurs when the server closes the socket and the client sends a "big" XML-RPC request (I don't know exactly the size threshold). request() just have to ignore the error because single_request() closes the socket on error, and so the next call to single_request() will open a new socket. Remove also a comment in the HTTP client because it's now wrong: see r70643 and issue #5542.
* Issue #4629: getopt raises an error if an argument ends with = whereas getoptVictor Stinner2010-07-243-1/+11
| | | | | doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long options).
* Use _datetime docstring if _datetime is available.Alexander Belopolsky2010-07-231-0/+5
|
* Issue #7989: Added pure python implementation of the datetime module.Alexander Belopolsky2010-07-239-3670/+5813
|
* Add Brian Brazil.Brett Cannon2010-07-231-0/+1
|
* Mention in the fnmatch docs that meta-characters in translate cannot be quoted.Brett Cannon2010-07-231-0/+2
| | | | Closes issue 9358. Thanks to Brian Brazil for the patch.
* Add queue tests for empty, full, put_nowait, and get_nowait.Brett Cannon2010-07-231-0/+23
| | | | Closes issue 9357. Thanks to Brian Brazil for the patch.
* Update to 1.0.Georg Brandl2010-07-231-1/+1
|
* Fix some markup glitches.Georg Brandl2010-07-234-4/+6
|
* #9359: fix typo. Thanks to Piotr Kasprzyk for the patch.Ezio Melotti2010-07-231-1/+1
|
* Tab test_repr_daemon over so it's included in ThreadTests.Brian Curtin2010-07-231-5/+5
| | | | Noticed by Amaury.
* Add tests for fnmatch.filter and translate.Brett Cannon2010-07-231-2/+24
| | | | Partially closes issue 9356. Thanks to Brian Brazil for the patch.
* Make fnmatch be more PEP 8 compliant.Brett Cannon2010-07-231-8/+11
| | | | Partially closes issue 9356. Thanks to Brian Brazil for the patch.
* New tests for smtpd module. Has full coverage for SMTPChannel and SMTPServer.Richard Jones2010-07-231-0/+221
|
* Ensure that sys.prefix can reliably be foundRonald Oussoren2010-07-231-1/+1
| | | | | | | | | | | | | on OSX. This fixes a small issue that was exposed by running test_subprocess through regrtest (and hence in a subdirectory). Without this patch running python.exe from the build tree will fail when these tree conditions are true: 1) the CWD is not the root of build tree 2) python.exe is found through $PATH 3) the framework is not yet installed
* Add more tests for the threading.Thread.repr.Brett Cannon2010-07-231-1/+8
| | | | Partially closes issue 9346. Thanks to Brian Brazil for the patch.
* Rip out old testing code that was inlined in threading.Brett Cannon2010-07-231-88/+0
| | | | Partially closes issue 9346. Thanks Brian Brazil for the patch.
* Rename some macros in the sha1 module to no longer conflict with termios.h.Brett Cannon2010-07-231-28/+28
|
* Stop shadowing a test class.Brett Cannon2010-07-231-2/+2
|
* Explicitly test relative imports by reusing importlib tests.Brett Cannon2010-07-231-1/+14
| | | | Closes issue 8392. Thanks Virgil Dupras for the initial patch.
* Test calendar.monthrange.Brett Cannon2010-07-232-0/+30
| | | | Closes issue 9342. Thanks John Chandler for the patch.
* This fixes issue7900 by adding code that dealsRonald Oussoren2010-07-233-8/+101
| | | | | | | | | with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional.
* Clarify the wording for threading.is_alive() to not suggest something isBrett Cannon2010-07-231-2/+2
| | | | | | "roughly" done. Closes issue 9339. Thanks Brian Brazil for the patch.
* Issue #6095: Make directory argument to os.listdir optional.Martin v. Löwis2010-07-234-14/+35
| | | | Patch by Virgil Dupras.
* Fix for issue 7895. Avoid crashing the interpreterRonald Oussoren2010-07-233-11/+71
| | | | | | when calling platform.mac_ver after calling os.fork by reading from a system configuration file instead of using OSX APIs.
* Minor tweak of test_osx_env toRonald Oussoren2010-07-231-1/+1
| | | | | avoid failing when the framework is not yet installed.
* Document the fact that the 'test' package is meant only for use by PythonBrett Cannon2010-07-232-0/+10
| | | | | | itself and not by others. Closes issue 9255.
* Workaround for issue 4047: in some configurations ofRonald Oussoren2010-07-231-0/+15
| | | | | | | | | the Crash Reporter on OSX test_subprocess will trigger the reporter. This patch prints a warning when the Crash Reporter will get triggered intentionally, which should avoid confusing people.
* Ensure that the Makefile variable expansionRonald Oussoren2010-07-232-0/+32
| | | | | | | | | | | in distutils.sysconfig matches that in the toplevel sysconfig module. Without this patch universal builds on OSX are broken. Als add a test that checks that the two version of get_config_vars agree on important values.
* Use augassign.Georg Brandl2010-07-231-22/+22
|
* Skip this test as it doesn't apply to Windows. It was added forBrian Curtin2010-07-221-0/+1
| | | | #9189 for some GCC flags.
* reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé2010-07-2264-1684/+1632
| | | | disutils2, and distutils is now feature-frozen.
* Add importlib benchmarks which try to be "realistic" by importing the decimalBrett Cannon2010-07-221-7/+50
| | | | module which is the largest module in the stdlib.
* Issue #9323: Fixed a bug in trace.py that resulted in loosing the nameAlexander Belopolsky2010-07-213-7/+7
| | | | of the script being traced. Patch by Eli Bendersky.
* Issue #5395: check that array.fromfile() re-raises an IOError instead of ↵Antoine Pitrou2010-07-211-0/+11
| | | | | | | replacing it with EOFError. (this is only an added test, but 2.x will get a fix too)
* Remove outdated mention of deprecated functions in the string module - they ↵Antoine Pitrou2010-07-211-7/+7
| | | | have been removed in 3.x.
* Apply patch from Ray Allen for issue 9296Doug Hellmann2010-07-212-1/+10
|
* Minor clarification about importlib.abc.SourceLoader.get_filename.Brett Cannon2010-07-211-1/+1
|
* Fix #9316. if/is grammar corrections.Brian Curtin2010-07-211-3/+3
|
* revert unintended changesBenjamin Peterson2010-07-207-31/+11
|
* move test_trace.py so as not to conflict with future tests for the trace moduleBenjamin Peterson2010-07-208-11/+31
|
* Issue #9282: Fixed --listfuncs option of trace.py. Thanks EliAlexander Belopolsky2010-07-203-1/+6
| | | | Bendersky for the patch.
* Without this patch the value of sysconfig.get_config_var('LDSHARED')Ronald Oussoren2010-07-201-7/+27
| | | | | | | | | | | | | | is wrong when PY_LDFLAGS is not empty. The bug was caused by LDSHARED getting expanded *before* sysconfig renamed PY_LDSHARED (and simular values) to names without a PY_ prefix. The patch tries to maintain the intended behaviour of allowing users to set LDFLAGS in the environment and have that affect the build. Without this patch a universal build on OSX cannot build universal (fat binary) extensions.
* Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / inGregory P. Smith2010-07-193-35/+47
| | | | the parameters. (This is jjlee's issue3704.patch ported to py3k)
* Fix Issue9301 - urllib.parse.unquote and unquote_to_byte to raise TypeError ↵Senthil Kumaran2010-07-192-0/+7
| | | | for None.