summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8897: Fix sunau module, use bytes to write the header. Patch written byVictor Stinner2010-06-072-1/+71
| | | | Thomas Jollans.
* Merged revisions 81770 via svnmerge fromMichael Foord2010-06-051-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81770 | michael.foord | 2010-06-06 00:58:40 +0100 (Sun, 06 Jun 2010) | 1 line Code formatting change. ........
* Merged revisions 81764 via svnmerge fromMichael Foord2010-06-053-22/+72
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81764 | michael.foord | 2010-06-05 21:59:00 +0100 (Sat, 05 Jun 2010) | 1 line Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors. ........
* Merged revisions 81763 via svnmerge fromMichael Foord2010-06-051-0/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81763 | michael.foord | 2010-06-05 21:33:43 +0100 (Sat, 05 Jun 2010) | 1 line Tests for unittest.TestCase.maxDiff. ........
* Merged revisions 81753 via svnmerge fromMichael Foord2010-06-052-4/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81753 | michael.foord | 2010-06-05 14:48:27 +0100 (Sat, 05 Jun 2010) | 1 line Fix unittest tests after previous commit. ........
* Merged revisions 81752 via svnmerge fromMichael Foord2010-06-051-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81752 | michael.foord | 2010-06-05 14:38:16 +0100 (Sat, 05 Jun 2010) | 1 line unittest.TestCase assertion methods inform you when they have omitted an over long diff on failure. Issue 8351. ........
* Merged revisions 81747 via svnmerge fromMichael Foord2010-06-052-6/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81747 | michael.foord | 2010-06-05 13:58:39 +0100 (Sat, 05 Jun 2010) | 1 line unittest.TestCase.assertDictEqual and assertMultilineEqual provide better default failure messages in the event of long diffs. ........
* Merged revisions 81739 via svnmerge fromMichael Foord2010-06-052-14/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81739 | michael.foord | 2010-06-05 13:10:52 +0100 (Sat, 05 Jun 2010) | 1 line Removed the new max_diff argument to assertSequenceEqual. All unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351. ........
* Test fix to use floor division. Correction from merge in previous commit.Michael Foord2010-06-051-1/+1
|
* Merged revisions 81728 via svnmerge fromMichael Foord2010-06-052-3/+29
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81728 | michael.foord | 2010-06-05 12:23:51 +0100 (Sat, 05 Jun 2010) | 1 line Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual. ........
* Merged revisions 81724 via svnmerge fromMichael Foord2010-06-051-20/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81724 | michael.foord | 2010-06-05 11:39:42 +0100 (Sat, 05 Jun 2010) | 1 line unittest TestLoader test discovery filename matching done in a method. This makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation. ........
* Merged revisions 81706-81707 via svnmerge fromBenjamin Peterson2010-06-051-0/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81706 | benjamin.peterson | 2010-06-04 19:32:50 -0500 (Fri, 04 Jun 2010) | 1 line properly lookup the __format__ special method ........ r81707 | benjamin.peterson | 2010-06-04 19:38:22 -0500 (Fri, 04 Jun 2010) | 1 line remove PyType_Ready call; float should be initialized in interpreter startup ........
* Merged revisions 81701 via svnmerge fromMartin v. Löwis2010-06-042-0/+27
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81701 | martin.v.loewis | 2010-06-04 21:39:07 +0200 (Fr, 04 Jun 2010) | 2 lines Issue #6470: Drop UNC prefix in FixTk.py Patch by Christop Gohlke and Amaury Forgeot d'Arc. ........
* Merged revisions 81691 via svnmerge fromSenthil Kumaran2010-06-041-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81691 | senthil.kumaran | 2010-06-04 22:47:09 +0530 (Fri, 04 Jun 2010) | 3 lines test verifying the resp object is closed for HEAD response. ........
* Merged revisions 81687 via svnmerge fromSenthil Kumaran2010-06-041-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81687 | senthil.kumaran | 2010-06-04 22:02:14 +0530 (Fri, 04 Jun 2010) | 3 lines Fix issue6312 - close the resp object for HEAD response. ........
* #4768: store base64 encoded email body parts as text, not binary.R. David Murray2010-06-042-4/+6
| | | | Patch and tests by Forest Bond.
* Merged revisions 81662 via svnmerge fromRonald Oussoren2010-06-031-1/+22
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81662 | ronald.oussoren | 2010-06-03 11:47:21 +0200 (Thu, 03 Jun 2010) | 9 lines Fix for issue #7724: ensure that distutils and python's own setup.py honor the MacOSX SDK when one is specified. This is needed to be able to build using the 10.4u SDK while running on OSX 10.6. This is a fixed version of the patch in r80963, I've tested this patch on OSX and Linux. ........
* Merged revisions 81667 via svnmerge fromLars Gustäbel2010-06-033-26/+90
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81667 | lars.gustaebel | 2010-06-03 14:34:14 +0200 (Thu, 03 Jun 2010) | 8 lines Issue #8741: Fixed the TarFile.makelink() method that is responsible for extracting symbolic and hard link entries as regular files as a work-around on platforms that do not support filesystem links. This stopped working reliably after a change in r74571. I also added a few tests for this functionality. ........
* Merged revisions 81663 via svnmerge fromLars Gustäbel2010-06-032-2/+6
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81663 | lars.gustaebel | 2010-06-03 11:56:22 +0200 (Thu, 03 Jun 2010) | 4 lines Issue #8833: tarfile created hard link entries with a size field != 0 by mistake. The associated testcase did not expose this bug because it was broken too. ........
* Fix Charset.body_encode to encode to output_charset before calling base64mime.R. David Murray2010-06-032-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | This means that what gets encoded in base64 is the encoded version of the unicode payload. This bug was revealed by a forward port of the tests from Issue 1368247, but the fix was completely different. Note that the merge is only of the tests, the doc changes were inappropriate since email5 expects unicode, not bytes. I'm also not convinced that quopri works correctly in email5, but that's a different issue. Merged revisions 81658 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines #1368247: make set_charset/MIMEText automatically encode unicode _payload. Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as the charset and unicode as the _text argument. Also makes the way in which unicode gets encoded to quoted printable for other charsets more sane (it only worked by accident previously). The _payload now is encoded to the charset.output_charset if it is unicode. ........
* Merged revisions 81640 via svnmerge fromBrian Curtin2010-06-011-0/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81640 | brian.curtin | 2010-06-01 08:29:13 -0500 (Tue, 01 Jun 2010) | 3 lines Fix #8618. Ask the Windows mixer API if there are any playback devices configured before attempting to test PlaySound. ........
* Merged revisions 81636 via svnmerge fromSenthil Kumaran2010-06-012-1/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81636 | senthil.kumaran | 2010-06-01 18:10:07 +0530 (Tue, 01 Jun 2010) | 3 lines Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries. ........
* #8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray2010-06-011-0/+23
| | | | Patch by R. David Murray, unit tests by Shashwat Anand.
* Issue #1289118: datetime.timedelta objects can now be multiplied by floatAlexander Belopolsky2010-05-311-10/+62
| | | | and divided by float and int objects.
* Remove conditional import of 'ic', that moduleRonald Oussoren2010-05-301-12/+0
| | | | | was removed in the transition from python 2.x to python 3.x.
* Merged revisions 81584 via svnmerge fromBrian Curtin2010-05-281-6/+50
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81584 | brian.curtin | 2010-05-28 10:49:21 -0500 (Fri, 28 May 2010) | 3 lines Fix #8405 for slow buildbots. Remove the sleep on startup and move the pipe communication into a loop to retry in case a buildbot gets even slower. ........
* Merged revisions 81566 via svnmerge fromAlexander Belopolsky2010-05-271-9/+10
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81566 | alexander.belopolsky | 2010-05-27 16:55:27 -0400 (Thu, 27 May 2010) | 3 lines Issue #7150: Raise OverflowError if the result of adding or subtracting timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range. ........
* Merged revisions 81559 via svnmerge fromAlexander Belopolsky2010-05-261-7/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81559 | alexander.belopolsky | 2010-05-26 16:45:37 -0400 (Wed, 26 May 2010) | 3 lines Issue #7879: Skip negative timestamps test on any Windows platform using unittest.skipIf decorator. ........
* Issue #2844: Make int('42', n) consistently raise ValueError forMark Dickinson2010-05-261-0/+10
| | | | invalid integers n (including n = -909).
* Merged revisions 81555 via svnmerge fromAlexander Belopolsky2010-05-261-3/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81555 | alexander.belopolsky | 2010-05-26 15:43:16 -0400 (Wed, 26 May 2010) | 3 lines Issue #7879: Do not test negative timestamps on any Windows platform including Windows CE. ........
* Merged revisions 81551 via svnmerge fromMark Dickinson2010-05-261-0/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81551 | mark.dickinson | 2010-05-26 20:06:33 +0100 (Wed, 26 May 2010) | 1 line Issue #8825: additional testcases for int(string, 0) and long(string, 0). ........
* fix wrong assertIs contextGiampaolo Rodolà2010-05-261-1/+1
|
* Fix issue #8806: add SSL contexts support to ftplibGiampaolo Rodolà2010-05-262-5/+43
|
* Fix #2810 - handle the case where some registry calls returnBrian Curtin2010-05-261-0/+53
| | | | | | ERROR_MORE_DATA, requiring another call to get the remaining data. Patch by Daniel Stutzbach
* Merged revisions 81543 via svnmerge fromVictor Stinner2010-05-261-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81543 | victor.stinner | 2010-05-26 19:25:28 +0200 (mer., 26 mai 2010) | 2 lines Issue #7449: Skip test_socketserver if threading support is disabled ........
* Fix the new TestMain.test_decode() of test_base64 for WindowsVictor Stinner2010-05-251-1/+1
|
* Issue #4769: Fix main() function of the base64 module, use sys.stdin.buffer andVictor Stinner2010-05-252-2/+36
| | | | sys.stdout.buffer (instead of sys.stdin and sys.stdout) to use the bytes API
* Merged revisions 81527 via svnmerge fromMark Dickinson2010-05-251-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81527 | mark.dickinson | 2010-05-25 20:44:49 +0100 (Tue, 25 May 2010) | 1 line Fix a NameError in test_enumerate. ........
* Merged revisions 81525 via svnmerge fromMark Dickinson2010-05-252-0/+30
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81525 | mark.dickinson | 2010-05-25 20:01:08 +0100 (Tue, 25 May 2010) | 3 lines Issue #8816: Extra tests for some built-in functions. These tests are ports of IronPython tests. Thanks Gregory Nofi. ........
* added the list of public APIs in sysconfigTarek Ziadé2010-05-251-0/+4
|
* Made sysconfig a script that displays useful information - #8770Tarek Ziadé2010-05-252-2/+29
|
* Recorded merge of revisions 81500-81501 via svnmerge fromVictor Stinner2010-05-242-0/+10
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81500 | victor.stinner | 2010-05-24 23:33:24 +0200 (lun., 24 mai 2010) | 2 lines Issue #6662: Fix parsing of malformatted charref (&#bad;) ........ r81501 | victor.stinner | 2010-05-24 23:37:28 +0200 (lun., 24 mai 2010) | 2 lines Add the author of the last fix (Issue #6662) ........
* Merged revisions 81492 via svnmerge fromSteven Bethard2010-05-242-1/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81492 | steven.bethard | 2010-05-23 20:45:26 -0700 (Sun, 23 May 2010) | 1 line Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html ........
* Issue #8188: Introduce a new scheme for computing hashes of numbersMark Dickinson2010-05-235-66/+222
| | | | | | (instances of int, float, complex, decimal.Decimal and fractions.Fraction) that makes it easy to maintain the invariant that hash(x) == hash(y) whenever x and y have equal value.
* Merged revisions 81479 via svnmerge fromBenjamin Peterson2010-05-221-1/+3
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r81479 | benjamin.peterson | 2010-05-22 13:52:21 -0500 (Sat, 22 May 2010) | 13 lines Merged revisions 80937,81478 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r80937 | benjamin.peterson | 2010-05-07 14:10:58 -0500 (Fri, 07 May 2010) | 1 line remove redundant unicode call ........ r81478 | benjamin.peterson | 2010-05-22 13:47:39 -0500 (Sat, 22 May 2010) | 1 line ensure doctests have some future_features ........ ................
* #Issue 8540: Make Context._clamp attribute public in decimal module.Mark Dickinson2010-05-222-16/+62
|
* Merged revisions 81471-81472 via svnmerge fromVictor Stinner2010-05-224-19/+74
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81471 | victor.stinner | 2010-05-22 15:37:56 +0200 (sam., 22 mai 2010) | 7 lines Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32 * Fix seek() method of codecs.open(), don't write the BOM twice after seek(0) * Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes * test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by Solaris or Windows, but does it really exist? I found it the in the issue. ........ r81472 | victor.stinner | 2010-05-22 15:44:25 +0200 (sam., 22 mai 2010) | 4 lines Fix my last commit (r81471) about codecs Rememder: don't touch the code just before a commit ........
* Merged revisions 81459 via svnmerge fromVictor Stinner2010-05-222-0/+25
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81459 | victor.stinner | 2010-05-22 04:11:07 +0200 (sam., 22 mai 2010) | 3 lines Issue #6268: Fix seek() method of codecs.open(), don't read the BOM twice after seek(0) ........
* Issue #3798: sys.exit(message) writes the message to sys.stderr file, insteadVictor Stinner2010-05-211-2/+10
| | | | of the C file stderr, to use stderr encoding and error handler
* Merged revisions 81428-81429,81432-81433,81437 via svnmerge fromBenjamin Peterson2010-05-212-43/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81428 | benjamin.peterson | 2010-05-21 16:16:12 -0500 (Fri, 21 May 2010) | 1 line use addCleanup ........ r81429 | benjamin.peterson | 2010-05-21 16:17:22 -0500 (Fri, 21 May 2010) | 1 line fix name ........ r81432 | benjamin.peterson | 2010-05-21 16:31:24 -0500 (Fri, 21 May 2010) | 1 line ensure the last line has a trailing newline #8782 ........ r81433 | benjamin.peterson | 2010-05-21 16:32:49 -0500 (Fri, 21 May 2010) | 1 line remove debugging rubish ........ r81437 | benjamin.peterson | 2010-05-21 16:35:44 -0500 (Fri, 21 May 2010) | 1 line simplify and modernize updatecache() ........