summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Update test_os.py according to my last changes on _Environ.__repr__()Victor Stinner2010-07-291-1/+3
|
* Issue #9283: Oops, add missing { and } to repr(os.environ)Victor Stinner2010-07-281-1/+1
|
* #9283: Fix repr(os.environ), display unicode keys and values on POSIX systemsVictor Stinner2010-07-281-1/+3
|
* Add missing file.Georg Brandl2010-07-281-0/+537
|
* Syntax cleanup.Florent Xicluna2010-07-287-11/+9
|
* Fix Issue6325 - robotparse to honor urls with query strings.Senthil Kumaran2010-07-282-2/+15
|
* #1682942: add some ConfigParser features: alternate delimiters, alternate ↵Georg Brandl2010-07-282-202/+396
| | | | comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
* #9354: Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa.Georg Brandl2010-07-282-0/+21
|
* Fix failure introduced in r83182.Ezio Melotti2010-07-281-1/+1
|
* Issue #8966: ctypes: Remove implicit bytes-unicode conversionVictor Stinner2010-07-285-137/+42
|
* Fix ctypes tests to avoid implicit bytes-unicode conversionVictor Stinner2010-07-2720-61/+57
|
* Issue #9378: python -m pickle <pickle file> will now load and displayAlexander Belopolsky2010-07-271-1/+23
| | | | the first object in the pickle file.
* With skipUnless there is no need to add test classes conditionally.Ezio Melotti2010-07-271-6/+3
|
* Use proper skips and assert* methods in test_asyncore.Ezio Melotti2010-07-271-96/+97
|
* Issue #4770: Restrict binascii module to accept only bytes (as specified).Florent Xicluna2010-07-274-17/+20
| | | | And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
* Issue #9384: python -m tkinter will now display a simple demo applet.Alexander Belopolsky2010-07-271-0/+7
|
* The default size of the re module's compiled regular expression cache hasGregory P. Smith2010-07-272-3/+99
| | | | | | | | been increased from 100 to 500 and the cache replacement policy has changed from simply clearing the entire cache on overflow to randomly forgetting 20% of the existing cached compiled regular expressions. This is a performance win for applications that use a lot of regular expressions and limits the impact of the performance hit anytime the cache is exceeded.
* Make python version of fromtimestamp behave more like C.Alexander Belopolsky2010-07-262-10/+20
|
* Fix #7113. Patch by Łukasz Langa.Brian Curtin2010-07-262-21/+60
| | | | | Changes include using a list of lines instead of patching together using string interpolation, and a multi-line value test cases.
* #777884: make .normalize() do nothing for childless nodes, instead of ↵Andrew M. Kuchling2010-07-252-0/+12
| | | | raising an exception
* Issue #4686 - add .args to exceptions in the configparsermoduleMichael Foord2010-07-252-16/+43
|
* Corrected comments on where settrace and setprofile are tested.Alexander Belopolsky2010-07-251-2/+2
|
* 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.
* Implementation for issue 4184Richard Jones2010-07-241-42/+168
| | | | 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-242-6/+1
| | | | | | | | | | | | 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-242-1/+7
| | | | | 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-233-3662/+5797
|
* 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.
* #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
|
* 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.
* 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-231-0/+29
| | | | Closes issue 9342. Thanks John Chandler for the patch.
* This fixes issue7900 by adding code that dealsRonald Oussoren2010-07-231-1/+52
| | | | | | | | | 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.
* Issue #6095: Make directory argument to os.listdir optional.Martin v. Löwis2010-07-231-3/+8
| | | | Patch by Virgil Dupras.
* Fix for issue 7895. Avoid crashing the interpreterRonald Oussoren2010-07-232-11/+69
| | | | | | 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.
* 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-2263-1649/+1597
| | | | disutils2, and distutils is now feature-frozen.