]>
granicus.if.org Git - python/log
Alexander Belopolsky [Sat, 5 Jun 2010 15:04:51 +0000 (15:04 +0000)]
Merged revisions 81756 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81756 | alexander.belopolsky | 2010-06-05 10:54:26 -0400 (Sat, 05 Jun 2010) | 1 line
Issue #8899: time.struct_time now has class and atribute docstrings.
........
Michael Foord [Sat, 5 Jun 2010 13:57:23 +0000 (13:57 +0000)]
Merged revisions 81753 via svnmerge from
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.
........
Michael Foord [Sat, 5 Jun 2010 13:49:56 +0000 (13:49 +0000)]
Merged revisions 81752 via svnmerge from
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.
........
Mark Dickinson [Sat, 5 Jun 2010 13:27:17 +0000 (13:27 +0000)]
Blocked revisions 81749 via svnmerge
........
r81749 | mark.dickinson | 2010-06-05 14:18:33 +0100 (Sat, 05 Jun 2010) | 2 lines
Fix test_py3kwarn not to test for __cmp__-related DeprecationWarning.
........
Michael Foord [Sat, 5 Jun 2010 13:14:43 +0000 (13:14 +0000)]
Merged revisions 81747 via svnmerge from
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.
........
Mark Dickinson [Sat, 5 Jun 2010 12:52:23 +0000 (12:52 +0000)]
Blocked revisions 81744 via svnmerge
........
r81744 | mark.dickinson | 2010-06-05 13:51:21 +0100 (Sat, 05 Jun 2010) | 1 line
Fix comment typo.
........
Mark Dickinson [Sat, 5 Jun 2010 12:38:00 +0000 (12:38 +0000)]
Blocked revisions 81740 via svnmerge
........
r81740 | mark.dickinson | 2010-06-05 13:14:43 +0100 (Sat, 05 Jun 2010) | 5 lines
Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.
This is just a quick fix: if the warning is turned into an exception, the
exception simply gets ignored.
........
Michael Foord [Sat, 5 Jun 2010 12:17:02 +0000 (12:17 +0000)]
Merged revisions 81739 via svnmerge from
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.
........
Mark Dickinson [Sat, 5 Jun 2010 11:53:11 +0000 (11:53 +0000)]
Blocked revisions 81736 via svnmerge
........
r81736 | mark.dickinson | 2010-06-05 12:52:24 +0100 (Sat, 05 Jun 2010) | 1 line
Issue #8627: remove out-of-date warning about overriding __cmp__
........
Michael Foord [Sat, 5 Jun 2010 11:30:23 +0000 (11:30 +0000)]
Test fix to use floor division. Correction from merge in previous commit.
Michael Foord [Sat, 5 Jun 2010 11:27:52 +0000 (11:27 +0000)]
Merged revisions 81728 via svnmerge from
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.
........
Michael Foord [Sat, 5 Jun 2010 10:45:41 +0000 (10:45 +0000)]
Merged revisions 81724 via svnmerge from
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.
........
Benjamin Peterson [Sat, 5 Jun 2010 02:11:45 +0000 (02:11 +0000)]
Merged revisions 81712 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81712 | benjamin.peterson | 2010-06-04 21:07:01 -0500 (Fri, 04 Jun 2010) | 1 line
_PyObject_LookupSpecial returns a new reference
........
Benjamin Peterson [Sat, 5 Jun 2010 01:03:24 +0000 (01:03 +0000)]
Merged revisions 81709-81710 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81709 | benjamin.peterson | 2010-06-04 19:56:46 -0500 (Fri, 04 Jun 2010) | 1 line
implement object.__format__ with PyObject_Format
........
r81710 | benjamin.peterson | 2010-06-04 20:00:10 -0500 (Fri, 04 Jun 2010) | 1 line
fix ref counting
........
Benjamin Peterson [Sat, 5 Jun 2010 00:45:37 +0000 (00:45 +0000)]
Merged revisions 81706-81707 via svnmerge from
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
........
Martin v. Löwis [Fri, 4 Jun 2010 19:50:26 +0000 (19:50 +0000)]
Merged revisions 81701 via svnmerge from
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.
........
Martin v. Löwis [Fri, 4 Jun 2010 18:40:55 +0000 (18:40 +0000)]
Port to Python 3.
Martin v. Löwis [Fri, 4 Jun 2010 18:14:42 +0000 (18:14 +0000)]
Merged revisions 81697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81697 | martin.v.loewis | 2010-06-04 20:04:42 +0200 (Fr, 04 Jun 2010) | 2 lines
Issue #5464: Implement plural forms in msgfmt.py.
........
Senthil Kumaran [Fri, 4 Jun 2010 17:27:11 +0000 (17:27 +0000)]
Merged revisions 81691 via svnmerge from
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.
........
Martin v. Löwis [Fri, 4 Jun 2010 17:20:56 +0000 (17:20 +0000)]
Merged revisions 81692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81692 | martin.v.loewis | 2010-06-04 19:18:42 +0200 (Fr, 04 Jun 2010) | 3 lines
Issue #8864: Define _XOPEN_SOURCE on Solaris for the
multiprocessing module.
........
Senthil Kumaran [Fri, 4 Jun 2010 16:38:00 +0000 (16:38 +0000)]
Merged revisions 81687 via svnmerge from
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.
........
R. David Murray [Fri, 4 Jun 2010 16:11:08 +0000 (16:11 +0000)]
#4768: store base64 encoded email body parts as text, not binary.
Patch and tests by Forest Bond.
Sean Reifscheider [Fri, 4 Jun 2010 01:51:38 +0000 (01:51 +0000)]
Issue8810: Clearing up docstring for tzinfo.utcoffset.
Ronald Oussoren [Thu, 3 Jun 2010 14:42:25 +0000 (14:42 +0000)]
Merged revisions 81662 via svnmerge from
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.
........
Lars Gustäbel [Thu, 3 Jun 2010 12:45:16 +0000 (12:45 +0000)]
Merged revisions 81667 via svnmerge from
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.
........
Lars Gustäbel [Thu, 3 Jun 2010 10:11:52 +0000 (10:11 +0000)]
Merged revisions 81663 via svnmerge from
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.
........
R. David Murray [Thu, 3 Jun 2010 01:58:28 +0000 (01:58 +0000)]
Fix Charset.body_encode to encode to output_charset before calling base64mime.
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.
........
Benjamin Peterson [Wed, 2 Jun 2010 18:10:09 +0000 (18:10 +0000)]
remove description of LOAD_LOCALS #8874
Antoine Pitrou [Wed, 2 Jun 2010 17:10:49 +0000 (17:10 +0000)]
Merged revisions 81652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81652 | antoine.pitrou | 2010-06-02 19:08:47 +0200 (mer., 02 juin 2010) | 4 lines
Issue #8873: add a documentation note about possible performance issues with the
default of unbuffered IO in subprocess.Popen.
........
Ronald Oussoren [Wed, 2 Jun 2010 03:50:56 +0000 (03:50 +0000)]
Merged revisions 81649 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81649 | ronald.oussoren | 2010-06-02 05:47:14 +0200 (Wed, 02 Jun 2010) | 5 lines
Fix for issue8868: without this patch 'MacOS.WMAvailable()' will return
False on MacOSX 10.5 or earlier and scripts won't be able to access GUI
functionality.
........
Senthil Kumaran [Wed, 2 Jun 2010 02:29:00 +0000 (02:29 +0000)]
Merged revisions 81645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81645 | senthil.kumaran | 2010-06-02 07:49:15 +0530 (Wed, 02 Jun 2010) | 3 lines
Fix issue8788 - description of doseq parameter in urllib.urlencode
........
Brian Curtin [Tue, 1 Jun 2010 13:49:19 +0000 (13:49 +0000)]
Merged revisions 81640 via svnmerge from
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.
........
Senthil Kumaran [Tue, 1 Jun 2010 12:53:48 +0000 (12:53 +0000)]
Merged revisions 81636 via svnmerge from
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.
........
R. David Murray [Tue, 1 Jun 2010 01:32:12 +0000 (01:32 +0000)]
#8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.
Patch by R. David Murray, unit tests by Shashwat Anand.
R. David Murray [Tue, 1 Jun 2010 01:11:18 +0000 (01:11 +0000)]
Merged revisions 81586 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81586 | r.david.murray | 2010-05-28 14:08:11 -0400 (Fri, 28 May 2010) | 2 lines
Make reference to Generic Attribute Management a hyperlink.
........
R. David Murray [Mon, 31 May 2010 23:23:50 +0000 (23:23 +0000)]
Merged revisions 81587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81587 | r.david.murray | 2010-05-28 14:17:20 -0400 (Fri, 28 May 2010) | 2 lines
Make the ctl-C shutdown of serve.py prettier.
........
Alexander Belopolsky [Mon, 31 May 2010 17:33:47 +0000 (17:33 +0000)]
Issue #
1289118 : datetime.timedelta objects can now be multiplied by float
and divided by float and int objects.
Antoine Pitrou [Mon, 31 May 2010 17:04:40 +0000 (17:04 +0000)]
Merged revisions 81621 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81621 | antoine.pitrou | 2010-05-31 19:01:01 +0200 (lun., 31 mai 2010) | 4 lines
Improve documentation for getaddrinfo() (part of #8857)
........
Ronald Oussoren [Sun, 30 May 2010 15:46:48 +0000 (15:46 +0000)]
Remove conditional import of 'ic', that module
was removed in the transition from python 2.x to
python 3.x.
Benjamin Peterson [Sun, 30 May 2010 14:49:32 +0000 (14:49 +0000)]
use atomic structures in non-thread version
Mark Dickinson [Sun, 30 May 2010 13:18:47 +0000 (13:18 +0000)]
Recorded merge of revisions 81610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81610 | mark.dickinson | 2010-05-30 14:18:10 +0100 (Sun, 30 May 2010) | 3 lines
Issue #8748: Fix incorrect results from comparisons between an integer
and a complex instance. Based on a patch by Meador Inge.
........
Mark Dickinson [Sun, 30 May 2010 12:17:39 +0000 (12:17 +0000)]
Blocked revisions 81608 via svnmerge
........
r81608 | mark.dickinson | 2010-05-30 13:17:11 +0100 (Sun, 30 May 2010) | 1 line
Remove declaration for unused variable.
........
Mark Dickinson [Sun, 30 May 2010 12:12:56 +0000 (12:12 +0000)]
Blocked revisions 81606 via svnmerge
........
r81606 | mark.dickinson | 2010-05-30 13:12:25 +0100 (Sun, 30 May 2010) | 4 lines
Issue #5211: Complete removal of implicit coercions for the complex
type. Coercion for arithmetic operations was already removed in
r78280, but that commit didn't remove coercion for rich comparisons.
........
Mark Dickinson [Sat, 29 May 2010 21:05:27 +0000 (21:05 +0000)]
Merged revisions 81602 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81602 | mark.dickinson | 2010-05-29 22:00:52 +0100 (Sat, 29 May 2010) | 1 line
Untabify Modules/config.c.in.
........
Stefan Krah [Sat, 29 May 2010 12:59:18 +0000 (12:59 +0000)]
Merged revisions 81598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81598 | stefan.krah | 2010-05-29 14:54:35 +0200 (Sat, 29 May 2010) | 1 line
Fix typo
........
Antoine Pitrou [Sat, 29 May 2010 12:08:25 +0000 (12:08 +0000)]
Merged revisions 81594 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81594 | antoine.pitrou | 2010-05-29 14:06:13 +0200 (sam., 29 mai 2010) | 3 lines
Issue #8840: Make documentation for truncate() clearer
........
Victor Stinner [Sat, 29 May 2010 00:13:06 +0000 (00:13 +0000)]
Remove dead code
Victor Stinner [Fri, 28 May 2010 21:55:10 +0000 (21:55 +0000)]
Issue #8837: Remove "O?" format of PyArg_Parse*() functions. The format is no
used anymore and it was never documented.
Brian Curtin [Fri, 28 May 2010 16:08:40 +0000 (16:08 +0000)]
Merged revisions 81584 via svnmerge from
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.
........
Martin v. Löwis [Fri, 28 May 2010 15:44:20 +0000 (15:44 +0000)]
Merged revisions 81582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81582 | martin.v.loewis | 2010-05-28 17:28:47 +0200 (Fr, 28 Mai 2010) | 2 lines
Issue #
1759169 : Drop _XOPEN_SOURCE on Solaris.
........
Benjamin Peterson [Fri, 28 May 2010 03:23:57 +0000 (03:23 +0000)]
Blocked revisions 81578-81579 via svnmerge
........
r81578 | benjamin.peterson | 2010-05-27 21:12:36 -0500 (Thu, 27 May 2010) | 1 line
remove non-ascii coding per PEP 8
........
r81579 | benjamin.peterson | 2010-05-27 22:10:31 -0500 (Thu, 27 May 2010) | 1 line
2to3 doesn't fix test_support #6583
........
Ezio Melotti [Thu, 27 May 2010 22:38:16 +0000 (22:38 +0000)]
Merged revisions 81318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81318 | ezio.melotti | 2010-05-19 03:32:52 +0300 (Wed, 19 May 2010) | 1 line
Fix typo in argparse doc.
........
Benjamin Peterson [Thu, 27 May 2010 22:32:22 +0000 (22:32 +0000)]
correct default value in signature
Alexander Belopolsky [Thu, 27 May 2010 21:42:58 +0000 (21:42 +0000)]
Merged revisions 81566 via svnmerge from
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.
........
Mark Dickinson [Thu, 27 May 2010 19:47:53 +0000 (19:47 +0000)]
Stefan Krah was missing from Misc/ACKS in the py3k branch.
Mark Dickinson [Thu, 27 May 2010 19:45:50 +0000 (19:45 +0000)]
Merged revisions 81512 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81512 | brett.cannon | 2010-05-25 03:53:04 +0100 (Tue, 25 May 2010) | 1 line
Make the contributor list alphabetical again.
........
Alexander Belopolsky [Wed, 26 May 2010 20:48:30 +0000 (20:48 +0000)]
Merged revisions 81559 via svnmerge from
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.
........
Mark Dickinson [Wed, 26 May 2010 20:07:58 +0000 (20:07 +0000)]
Issue #2844: Make int('42', n) consistently raise ValueError for
invalid integers n (including n = -909).
Alexander Belopolsky [Wed, 26 May 2010 20:00:12 +0000 (20:00 +0000)]
Merged revisions 81555 via svnmerge from
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.
........
Mark Dickinson [Wed, 26 May 2010 19:14:01 +0000 (19:14 +0000)]
Merged revisions 81551 via svnmerge from
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).
........
Giampaolo Rodolà [Wed, 26 May 2010 18:21:26 +0000 (18:21 +0000)]
fix wrong assertIs context
Giampaolo Rodolà [Wed, 26 May 2010 18:06:04 +0000 (18:06 +0000)]
Fix issue #8806: add SSL contexts support to ftplib
Brian Curtin [Wed, 26 May 2010 17:43:50 +0000 (17:43 +0000)]
Fix #2810 - handle the case where some registry calls return
ERROR_MORE_DATA, requiring another call to get the remaining data.
Patch by Daniel Stutzbach
Victor Stinner [Wed, 26 May 2010 17:33:03 +0000 (17:33 +0000)]
Merged revisions 81543 via svnmerge from
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
........
Mark Dickinson [Wed, 26 May 2010 16:02:59 +0000 (16:02 +0000)]
Issue #8817: Expose round-to-nearest variant of divmod in _PyLong_Divmod_Near
for use by the datetime module; also refactor long_round to use this function.
Victor Stinner [Tue, 25 May 2010 22:35:40 +0000 (22:35 +0000)]
Blocked revisions 81537 via svnmerge
........
r81537 | victor.stinner | 2010-05-26 00:30:32 +0200 (mer., 26 mai 2010) | 3 lines
Issue #3798: Write sys.exit() message to sys.stderr to use stderr encoding and
error handler, instead of writing to the C stderr file in utf-8
........
py3k was already fixed by r81252.
Victor Stinner [Tue, 25 May 2010 22:17:22 +0000 (22:17 +0000)]
Fix the new TestMain.test_decode() of test_base64 for Windows
Victor Stinner [Tue, 25 May 2010 21:12:34 +0000 (21:12 +0000)]
Issue #4769: Fix main() function of the base64 module, use sys.stdin.buffer and
sys.stdout.buffer (instead of sys.stdin and sys.stdout) to use the bytes API
Martin v. Löwis [Tue, 25 May 2010 20:07:11 +0000 (20:07 +0000)]
Merged revisions 81531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81531 | martin.v.loewis | 2010-05-25 22:06:02 +0200 (Di, 25 Mai 2010) | 2 lines
Add Alexander Belopolsky.
........
Mark Dickinson [Tue, 25 May 2010 19:46:20 +0000 (19:46 +0000)]
Merged revisions 81527 via svnmerge from
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.
........
Mark Dickinson [Tue, 25 May 2010 19:06:24 +0000 (19:06 +0000)]
Merged revisions 81525 via svnmerge from
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.
........
R. David Murray [Tue, 25 May 2010 15:36:46 +0000 (15:36 +0000)]
Recorded merge of revisions 81521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81521 | r.david.murray | 2010-05-25 11:32:06 -0400 (Tue, 25 May 2010) | 2 lines
Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'.
........
R. David Murray [Tue, 25 May 2010 15:26:21 +0000 (15:26 +0000)]
Blocked revisions 81518 via svnmerge
........
r81518 | r.david.murray | 2010-05-25 11:20:46 -0400 (Tue, 25 May 2010) | 8 lines
Issue 8143: sync unquote in urlparse with urllib; add comment about doing so.
unquote is duplicated in the two files to avoid a circular reference.
(This is fixed in Python3.) Updates keep getting made to the public unquote
without fixing the urlparse one, however, so this fix syncs the two
and adds a comment to both to make sure changes are applied to both.
........
Tarek Ziadé [Tue, 25 May 2010 09:47:06 +0000 (09:47 +0000)]
added the list of public APIs in sysconfig
Tarek Ziadé [Tue, 25 May 2010 09:44:36 +0000 (09:44 +0000)]
Made sysconfig a script that displays useful information - #8770
Benjamin Peterson [Tue, 25 May 2010 02:27:55 +0000 (02:27 +0000)]
Blocked revisions 81509 via svnmerge
........
r81509 | benjamin.peterson | 2010-05-24 21:23:32 -0500 (Mon, 24 May 2010) | 1 line
correct default docs
........
Victor Stinner [Mon, 24 May 2010 21:46:25 +0000 (21:46 +0000)]
Recorded merge of revisions 81500-81501 via svnmerge from
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)
........
Antoine Pitrou [Mon, 24 May 2010 21:20:20 +0000 (21:20 +0000)]
Document the context attribute of SSL sockets
Antoine Pitrou [Mon, 24 May 2010 15:58:43 +0000 (15:58 +0000)]
Add a versionadded tag for SSL contexts.
Steven Bethard [Mon, 24 May 2010 03:47:38 +0000 (03:47 +0000)]
Merged revisions 81492 via svnmerge from
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
........
Steven Bethard [Mon, 24 May 2010 03:21:08 +0000 (03:21 +0000)]
Merged revisions 81490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81490 | steven.bethard | 2010-05-23 19:38:00 -0700 (Sun, 23 May 2010) | 1 line
argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP)
........
Mark Dickinson [Sun, 23 May 2010 13:33:13 +0000 (13:33 +0000)]
Issue #8188: Introduce a new scheme for computing hashes of numbers
(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.
Mark Dickinson [Sun, 23 May 2010 13:26:48 +0000 (13:26 +0000)]
Remove duplicate NEWS entry.
Benjamin Peterson [Sat, 22 May 2010 18:59:24 +0000 (18:59 +0000)]
Merged revisions 81479 via svnmerge from
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
........
................
Mark Dickinson [Sat, 22 May 2010 18:35:36 +0000 (18:35 +0000)]
#Issue 8540: Make Context._clamp attribute public in decimal module.
Victor Stinner [Sat, 22 May 2010 16:59:09 +0000 (16:59 +0000)]
Merged revisions 81471-81472 via svnmerge from
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
........
Mark Dickinson [Sat, 22 May 2010 12:02:35 +0000 (12:02 +0000)]
Issue #8749: remove unused code in Objects/object.c. Thanks Yaniv Aknin.
Victor Stinner [Sat, 22 May 2010 02:16:27 +0000 (02:16 +0000)]
Merged revisions 81459 via svnmerge from
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)
........
Victor Stinner [Fri, 21 May 2010 23:45:42 +0000 (23:45 +0000)]
Issue #3798: sys.exit(message) writes the message to sys.stderr file, instead
of the C file stderr, to use stderr encoding and error handler
Victor Stinner [Fri, 21 May 2010 22:52:10 +0000 (22:52 +0000)]
Blocked revisions 81454 via svnmerge
........
r81454 | victor.stinner | 2010-05-22 00:50:28 +0200 (sam., 22 mai 2010) | 3 lines
Issue #5640: Fix Shift-JIS incremental encoder for error handlers different
than strict
........
Georg Brandl [Fri, 21 May 2010 22:04:32 +0000 (22:04 +0000)]
Merged revisions 81450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81450 | georg.brandl | 2010-05-22 00:03:29 +0200 (Sa, 22 Mai 2010) | 1 line
#8709: mention Windows support for os.devnull.
........
Georg Brandl [Fri, 21 May 2010 21:49:47 +0000 (21:49 +0000)]
Merged revisions 81443 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81443 | georg.brandl | 2010-05-21 23:48:57 +0200 (Fr, 21 Mai 2010) | 1 line
typo
........
Georg Brandl [Fri, 21 May 2010 21:48:27 +0000 (21:48 +0000)]
Merged revisions 81440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81440 | georg.brandl | 2010-05-21 23:47:05 +0200 (Fr, 21 Mai 2010) | 1 line
Correct info for Semaphore.acquire() semantics under OSX.
........
Benjamin Peterson [Fri, 21 May 2010 21:45:06 +0000 (21:45 +0000)]
Merged revisions 81428-81429,81432-81433,81437 via svnmerge from
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()
........
Georg Brandl [Fri, 21 May 2010 21:33:23 +0000 (21:33 +0000)]
Merged revisions 81431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81431 | georg.brandl | 2010-05-21 23:30:47 +0200 (Fr, 21 Mai 2010) | 1 line
#8707: remove duplicate paragraph part.
........
Georg Brandl [Fri, 21 May 2010 21:12:07 +0000 (21:12 +0000)]
Fix signatures for the various TemporaryFile class^Wfunctions.
Georg Brandl [Fri, 21 May 2010 21:03:02 +0000 (21:03 +0000)]
Blocked revisions 81419 via svnmerge
........
r81419 | georg.brandl | 2010-05-21 22:58:12 +0200 (Fr, 21 Mai 2010) | 1 line
Add missing parameter in SimpleXMLRPCServer signature.
........
Georg Brandl [Fri, 21 May 2010 21:01:32 +0000 (21:01 +0000)]
Fix variable name in example.
Georg Brandl [Fri, 21 May 2010 20:57:33 +0000 (20:57 +0000)]
Recorded merge of revisions 81415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line
typo
........
Benjamin Peterson [Fri, 21 May 2010 20:55:22 +0000 (20:55 +0000)]
Merged revisions 81414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81414 | benjamin.peterson | 2010-05-21 15:51:45 -0500 (Fri, 21 May 2010) | 1 line
return NotImplemented from Mapping when comparing to a non-mapping #8729
........