summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* fix test_smtplib/test_smtpd collision through pre-loaded reply data in ↵Richard Jones2010-08-043-4/+10
| | | | mock_socket
* Factor out stripping of interpreter debug output in ↵Antoine Pitrou2010-08-043-3/+13
| | | | test.support.strip_python_stderr()
* as per discussion with antoine revert changes made in 83708 as the user ↵Giampaolo Rodolà2010-08-042-49/+12
| | | | useing ftplib's readline methods is supposed to always use a binary file
* fix issue #6822: ftplib's storline method doesn't work with text filesGiampaolo Rodolà2010-08-042-12/+49
|
* issue #8687: provides a test suite for sched.py moduleGiampaolo Rodolà2010-08-042-1/+80
|
* fix issue #2944: asyncore doesn't handle connection refused correctly (patch ↵Giampaolo Rodolà2010-08-041-1/+4
| | | | by Alexander Shigin). Merged from 2.7 branch.
* Fix Issue754016 - urlparse goes wrong with IP:port without schemeSenthil Kumaran2010-08-042-5/+27
|
* improve smtpd module test coverageRichard Jones2010-08-041-5/+83
|
* That test was never run (since thread has been renamed to _thread in 3.x)Antoine Pitrou2010-08-041-14/+8
|
* #3196: if needed pad a short base64 encoded word before trying to decode.R. David Murray2010-08-032-1/+13
| | | | | | | | | The RFCs encourage following Postel's law: be liberal in what you accept. So if someone forgot to pad the base64 encoded word payload to an even four bytes, we add the padding before handing it to base64mime.decode. Previously, missing padding resulted in a HeaderParseError. Patch by Jason Williams.
* In test_threading_local, test both the default _thread._local implementationAntoine Pitrou2010-08-031-16/+26
| | | | and the pure Python implementation in Lib/_threading_local.py
* #9444: use first of prefix_chars for help opt instead of raising errorR. David Murray2010-08-032-9/+77
| | | | | | | | | | | An argparse option parser created with a prefix_chars that did not include a '-' would happily add -h and --help options, and then throw an error when it tried to format the help because the - was an invalid prefix character. This patch makes it use the first character of prefix_chars as the character for the help options if and only if '-' is not one of the valid prefix_chars. Fix by Theodore Turocy, unit tests by Catherine Devlin.
* Fix regrtest -F.Georg Brandl2010-08-031-5/+6
|
* Fix for issue 9455: platform.mac_ver() broken on OSX/ppcRonald Oussoren2010-08-031-1/+1
|
* improvements to test_smtplib per issue2423Richard Jones2010-08-033-75/+188
| | | | merged the socket mock introduced in test_smtpd
* #9087: update json docstrings -- unicode and long do not exist anymore.Georg Brandl2010-08-023-23/+21
|
* #8861: remove unused variable.Georg Brandl2010-08-021-2/+1
|
* #7973: Fix distutils options spelling.Georg Brandl2010-08-022-2/+2
|
* #8560: add progress indicator to regrtest.Georg Brandl2010-08-021-5/+12
|
* Move test_SimpleHTTPServer into test_httpservers.Georg Brandl2010-08-022-46/+33
|
* #7372: fix regression in pstats: a previous fix to handle cProfile data in ↵Georg Brandl2010-08-022-2/+13
| | | | add_callers broke handling of profile data.
* #3821: beginnings of a trace.py unittest.Georg Brandl2010-08-021-0/+47
|
* Fix softspace relic.Georg Brandl2010-08-021-2/+2
|
* Get rid of spurious "threading" entries in trace output.Georg Brandl2010-08-021-2/+2
|
* #9428: fix running scripts from profile/cProfile with their own name and the ↵Georg Brandl2010-08-022-21/+34
| | | | right namespace. Same fix as for trace.py in #1690103.
* #9209 and #7781: fix two crashes in pstats interactive browser.Georg Brandl2010-08-021-26/+29
|
* Fix Issue8572 - httplib getheader() throws error instead of defaultSenthil Kumaran2010-08-022-2/+43
|
* Update OrderedDict implementation to match that in Py2.7.Raymond Hettinger2010-08-011-41/+37
|
* Issue #8397: Raise an error when attempting to mix iteration and regularAntoine Pitrou2010-08-011-0/+18
| | | | reads on a BZ2File object, rather than returning incorrect results.
* test_getgroups as introduced with issue7900 failed on systemsRonald Oussoren2010-08-011-4/+4
| | | | | | where 'id -G' and posix.getgroups() returned the same information, but one of the sources contains duplicate information. Rewrite the check using sets instead of lists.
* Fix Issue8123 - TypeError in urllib when trying to use HTTP authenticationSenthil Kumaran2010-08-012-2/+13
|
* #5551: symbolic links never can be mount points. Fixes the fix for #1713.Georg Brandl2010-08-011-0/+3
|
* Fix #8105. Add validation to mmap.mmap so invalid file descriptorsBrian Curtin2010-08-011-1/+12
| | | | don't cause a crash on Windows.
* #8046: add context manager protocol support to mmap objects. Also add ↵Georg Brandl2010-08-011-0/+14
| | | | closed property.
* #4943: do not try to include drive letters (and colons) when looking for a ↵Georg Brandl2010-08-011-1/+3
| | | | probably module name.
* Add test for memory leak reported in issue 9422.Mark Dickinson2010-08-011-1/+6
|
* Issue #9416: Fix some issues with complex formatting where theMark Dickinson2010-08-011-0/+10
| | | | | | | output with no type specifier failed to match the str output: - format(complex(-0.0, 2.0), '-') omitted the real part from the output, - format(complex(0.0, 2.0), '-') included a sign and parentheses.
* #8826: the "expires" attribute value is a date string with spaces, but ↵Georg Brandl2010-08-012-0/+12
| | | | apparently not all user-agents put it in quotes. Handle that as a special case.
* Ensure that test_site actually passes with a framework buildRonald Oussoren2010-08-013-7/+4
|
* #4810: document "--" option separator in timeit help.Georg Brandl2010-08-011-1/+2
|
* #1690103: fix initial namespace for code run with trace.main().Georg Brandl2010-08-011-1/+8
|
* #8230: make Lib/test/sortperf.py run on Python 3.Georg Brandl2010-08-011-4/+4
|
* Small improvements to pstats browser: do not crash on reading invalid file, ↵Georg Brandl2010-08-011-1/+9
| | | | and actually do a reload when executing "read" as intended.
* #7395: fix traceback in do_add() when no stats are loaded. Apply same fix ↵Georg Brandl2010-08-011-4/+15
| | | | for do_sort() and do_reverse().
* #8768: name test method properly so that it gets executed.Georg Brandl2010-08-011-1/+1
|
* #8773: mailbox.py does not need to be executable.Georg Brandl2010-08-011-0/+0
|
* Build properties using lambdas. This makes test_pyclbr pass again, because ↵Georg Brandl2010-08-011-7/+2
| | | | it does not think that input and output are methods anymore.
* #8620: Cmd no longer truncates last character if stdin ends without newlineR. David Murray2010-08-012-2/+27
| | | | | | | | | | | | | | | | Cmd used to blindly chop off the last character of every input line. If the input reached EOF and there was no final new line, it would truncate the last character of the last command. This fix instead strips trailing \r\n from the input lines. While this is a small behavior change, it should not break any working code, since feeding a '\r\n' terminated file to Cmd would previously leave the \r's on the lines, resulting in failed command execution. I wrote the unit test in preparation for a PyOhio TeachMe session run by Catherine Devlin, and we can thank Catherine and the PyOhio session attendees for the fix. I've added Catherine to the Acks file for organizing and leading the TeachMe session, out of which we will hopefully get some new contributors.
* #5146: handle UID THREAD command correctly.Georg Brandl2010-07-311-1/+1
|
* #5147: revert accidental indentation of header constant for MozillaCookieJar.Georg Brandl2010-07-311-3/+3
|