summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)Senthil Kumaran2010-04-162-12/+54
|
* Fix os.kill tests to be more robust and work with slower machines.Brian Curtin2010-04-151-6/+44
| | | | | | | | | Rather than depending on some sleep value, start up an interpreter as a subprocess and communicate with it. Because subprocess pipes can't be read from until EOF and I want to read from them before that, use ctypes to peek by using PeekNamedPipe. Once the subprocess has written the message, then it is ready to roll and accept signals. After that, kill it.
* #5341: fix typo and adapt docstring syntax.Georg Brandl2010-04-141-2/+2
|
* Add a small sleep to let a subprocess start before terminating it.Brian Curtin2010-04-141-0/+1
| | | | | | David Bolen's buildbot isn't know for it's speed, and it seems that we may have been trying to kill the subprocess before it was fully initialized. I ran with this change on the bot itself and it seemed to work.
* Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.R. David Murray2010-04-132-1/+9
|
* In test_winsound, don't try to import _winreg until after checking that ↵Mark Dickinson2010-04-131-1/+1
| | | | winsound is supported.
* Fix #7306. Add skips to test_winsound when no default sound is configured.Brian Curtin2010-04-131-0/+18
| | | | These failures occur on a Windows Server 2003 machine I test on.
* Fix #8364. Update the setquit docstring and change a built-in to builtin.Brian Curtin2010-04-121-3/+5
|
* Issue #7585: use tab between components in unified and context diff headers.R. David Murray2010-04-122-17/+42
| | | | | | | | | | | | Instead of spaces between the filename and date (or whatever the string is that follows the filename, if any) use tabs. This is what the unix 'diff' command does, for example, and difflib was intended to follow the 'standard' way of doing diffs. This improves compatibility with patch tools. The docs and examples are also changed to recommended that the date format used be the ISO 8601 format, which is what modern diff tools emit by default. Patch by Anatoly Techtonik.
* Issue #8367: Fix spurious test failure on systems without a sound card.Stefan Krah2010-04-121-5/+3
|
* Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.R. David Murray2010-04-121-1/+1
| | | | | | | | Fixed a typo in the email.encoders module so that messages output using an ISO-2022 character set will use a content-transfer-encoding of 7bit consistently. Previously if the input data had any eight bit characters the output data would get marked as 8bit even though it was actually 7bit.
* Adding additional examples of valid urls as per RFC 3986 (for issue8339)Senthil Kumaran2010-04-121-1/+1
|
* Re-enable all tests, to see which ones fail on the buildbots.Martin v. Löwis2010-04-121-6/+6
|
* Issue #8330: Fix expected output in test_gdb.Martin v. Löwis2010-04-121-10/+28
|
* Issue #8374: Update the internal alias table in the :mod:`locale` moduleAntoine Pitrou2010-04-111-13/+89
| | | | to cover recent locale changes and additions.
* Minor factoringRaymond Hettinger2010-04-111-2/+1
|
* Fix for issues #3581, #1481 and #7650:Stefan Krah2010-04-111-26/+9
| | | | | | | | | | | | | | 1. The assumptions in check_node() were too restrictive: - Hardware addresses with universal_local_bit=1 are valid (locally administered). - Many of the tested functions (including uuid.getnode()) may return valid RFC 4122 random node IDs. These are pretty much random 48-bit values with the multicast bit set to 1. 2. _unixdll_getnode() calls _uuid_generate_time(), which may be None on some platforms. The resulting TypeError is now caught.
* add test for class with no operations definedBenjamin Peterson2010-04-111-0/+6
|
* Revert temporary commit in r79937Antoine Pitrou2010-04-102-62/+3
|
* Temporary commit of fix to issue #5380 (in order to watch buildbot response)Antoine Pitrou2010-04-102-3/+62
|
* fix PYTHONWARNINGS handling to not modify the original env value and improvePhilip Jenvey2010-04-101-3/+6
| | | | its tests
* Refactor a couple inspect module tests to remove duplicate codeJean-Paul Calderone2010-04-101-62/+26
| | | | | | | | | The test_classify_oldstyle and test_classify_newstyle methods of test.test_inspect.TestClassesAndFunctions were previously almost identical (aside from irrelevant whitespace and one semantic difference). They now share a single helper. Fixes issue #8363.
* adjust gc_collect for JythonPhilip Jenvey2010-04-101-1/+3
|
* Issue 8361: Remove assert from functools.total_orderingRaymond Hettinger2010-04-101-2/+3
|
* update pydoc-topicsv2.7b1Benjamin Peterson2010-04-101-20/+20
|
* bump version to 2.7b1Benjamin Peterson2010-04-102-2/+2
|
* Fix typo in commentNick Coghlan2010-04-101-1/+1
|
* Try to turn some buildbots green by allowing test_multiprocessing to pass ↵Nick Coghlan2010-04-101-6/+22
| | | | even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system)
* Revert r79915 (temporary commit to check for buildbots -> the fix was ↵Antoine Pitrou2010-04-091-36/+11
| | | | successful)
* Temporarily commit fix to issue #8108, to check for buildbot responseAntoine Pitrou2010-04-091-11/+36
|
* Issue #8348: Fix test ftp url in test_urllib2net.Martin v. Löwis2010-04-081-1/+1
|
* Issue #8204: Fix test_ttk notebook test by forcing focus.Martin v. Löwis2010-04-081-0/+4
|
* Issue #8344: Fix test_ttk bug on FreeBSD.Martin v. Löwis2010-04-081-2/+2
|
* Switch regrtest to use StringIO instead of cStringIO for ↵Michael Foord2010-04-082-7/+11
| | | | test_multiprocessing on Windows. Issue 8333.
* unittest.result.TestResult does not create its buffers until they're used. ↵Michael Foord2010-04-072-6/+11
| | | | It uses StringIO not cStringIO. Issue 8333.
* Issue #8337: Disable the remaining test also for now.Martin v. Löwis2010-04-071-1/+1
|
* Use some more interesting test values for (unsigned) long long ctypes tests,Mark Dickinson2010-04-071-0/+6
| | | | | in the hope of getting more information about the test_ctypes failures on Sparc (see issue #8314).
* #7301: add the environment variable $PYTHONWARNINGS to supplement the -WPhilip Jenvey2010-04-061-0/+39
| | | | | command line option patch from Brian Curtin
* Fix module directory finding logic for dotted paths in unittest test discovery.Michael Foord2010-04-061-1/+13
|
* remove a optimization that resulted in unexpected behavior #8929Benjamin Peterson2010-04-061-0/+7
|
* use skip decoratorBenjamin Peterson2010-04-061-4/+2
|
* Issue #8193: Fix test_zlib failure with zlib 1.2.4.Antoine Pitrou2010-04-061-1/+1
|
* Fix Issue8262 - changing RuntimeError wording to "Threads can only be ↵Senthil Kumaran2010-04-061-1/+1
| | | | started once"
* Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,Antoine Pitrou2010-04-052-0/+29
| | | | | using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO` and `ssl.OPENSSL_VERSION_NUMBER`.
* Fix a failing test on an apparently slow Windows buildbot.Brian Curtin2010-04-052-3/+4
| | | | | | | On slower Windows machines, waiting 0.1 seconds can sometimes not be enough for a subprocess to start and be ready to accept signals, causing the test to fail. One buildbot is also choking on input()/EOFError so that was changed to not depend on input.
* Classes that override __eq__ also need to define __hash__.Raymond Hettinger2010-04-052-0/+9
|
* Use a more robust infinity check in _Py_HashDouble.Mark Dickinson2010-04-051-0/+9
| | | | | This fixes a test_decimal failure on FreeBSD 8.0. (modf apparently doesn't follow C99 Annex F on FreeBSD.)
* Issue 8316: make test_gdb robust in the face of differing terminalR. David Murray2010-04-051-14/+13
| | | | widths. Patch by Dave Malcolm.
* fix escape_encode to return the correct consumed sizePhilip Jenvey2010-04-051-0/+3
|
* fix dis on new style classes #8310Benjamin Peterson2010-04-041-4/+4
|