]> granicus.if.org Git - python/log
python
14 years agoconvertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure
Victor Stinner [Sun, 6 Jun 2010 20:38:02 +0000 (20:38 +0000)]
convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure

Raise a more revelant error (MemoryError instead of TypeError)

14 years agoSimplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL
Victor Stinner [Sun, 6 Jun 2010 20:27:51 +0000 (20:27 +0000)]
Simplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL

14 years agoMerged revisions 81788 via svnmerge from
Tarek Ziadé [Sun, 6 Jun 2010 20:18:42 +0000 (20:18 +0000)]
Merged revisions 81788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line

  Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst
........

14 years agobltn-file-objects don't exist in python3
Benjamin Peterson [Sun, 6 Jun 2010 02:44:41 +0000 (02:44 +0000)]
bltn-file-objects don't exist in python3

14 years agoreST indentation nit
Benjamin Peterson [Sun, 6 Jun 2010 02:41:24 +0000 (02:41 +0000)]
reST indentation nit

14 years agofix typo
Benjamin Peterson [Sun, 6 Jun 2010 02:40:38 +0000 (02:40 +0000)]
fix typo

14 years agoMerged revisions 81774-81775 via svnmerge from
Benjamin Peterson [Sun, 6 Jun 2010 02:32:09 +0000 (02:32 +0000)]
Merged revisions 81774-81775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81774 | benjamin.peterson | 2010-06-05 19:50:58 -0500 (Sat, 05 Jun 2010) | 1 line

  remove extra space
........
  r81775 | benjamin.peterson | 2010-06-05 19:54:29 -0500 (Sat, 05 Jun 2010) | 1 line

  fix sphinx warning with an extra space
........

14 years agoBlocked revisions 81772-81773,81777 via svnmerge
Benjamin Peterson [Sun, 6 Jun 2010 02:14:27 +0000 (02:14 +0000)]
Blocked revisions 81772-81773,81777 via svnmerge

........
  r81772 | benjamin.peterson | 2010-06-05 19:22:09 -0500 (Sat, 05 Jun 2010) | 1 line

  bump version to 2.7 rc1
........
  r81773 | benjamin.peterson | 2010-06-05 19:49:27 -0500 (Sat, 05 Jun 2010) | 1 line

  update pydoc-topics
........
  r81777 | benjamin.peterson | 2010-06-05 21:09:33 -0500 (Sat, 05 Jun 2010) | 1 line

  careening towards 2.7rc2 we go
........

14 years agoMerged revisions 81770 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 23:59:34 +0000 (23:59 +0000)]
Merged revisions 81770 via svnmerge from
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.
........

14 years agoMerged revisions 81767 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 21:59:55 +0000 (21:59 +0000)]
Merged revisions 81767 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81767 | michael.foord | 2010-06-05 22:57:03 +0100 (Sat, 05 Jun 2010) | 1 line

  Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
........

14 years agoMerged revisions 81764 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 21:12:23 +0000 (21:12 +0000)]
Merged revisions 81764 via svnmerge from
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.
........

14 years agoMerged revisions 81763 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 21:01:08 +0000 (21:01 +0000)]
Merged revisions 81763 via svnmerge from
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.
........

14 years agoBlocked revisions 81761 via svnmerge
Michael Foord [Sat, 5 Jun 2010 19:58:25 +0000 (19:58 +0000)]
Blocked revisions 81761 via svnmerge

........
  r81761 | michael.foord | 2010-06-05 20:51:38 +0100 (Sat, 05 Jun 2010) | 1 line

  Updated NEWS file.
........

14 years agoMerged revisions 81756 via svnmerge from
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.
........

14 years agoMerged revisions 81753 via svnmerge from
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.
........

14 years agoMerged revisions 81752 via svnmerge from
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.
........

14 years agoBlocked revisions 81749 via svnmerge
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.
........

14 years agoMerged revisions 81747 via svnmerge from
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.
........

14 years agoBlocked revisions 81744 via svnmerge
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.
........

14 years agoBlocked revisions 81740 via svnmerge
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.
........

14 years agoMerged revisions 81739 via svnmerge from
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.
........

14 years agoBlocked revisions 81736 via svnmerge
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__
........

14 years agoTest fix to use floor division. Correction from merge in previous commit.
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.

14 years agoMerged revisions 81728 via svnmerge from
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.
........

14 years agoMerged revisions 81724 via svnmerge from
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.
........

14 years agoMerged revisions 81712 via svnmerge from
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
........

14 years agoMerged revisions 81709-81710 via svnmerge from
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
........

14 years agoMerged revisions 81706-81707 via svnmerge from
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
........

14 years agoMerged revisions 81701 via svnmerge from
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.
........

14 years agoPort to Python 3.
Martin v. Löwis [Fri, 4 Jun 2010 18:40:55 +0000 (18:40 +0000)]
Port to Python 3.

14 years agoMerged revisions 81697 via svnmerge from
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.
........

14 years agoMerged revisions 81691 via svnmerge from
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.
........

14 years agoMerged revisions 81692 via svnmerge from
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.
........

14 years agoMerged revisions 81687 via svnmerge from
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.
........

14 years ago#4768: store base64 encoded email body parts as text, not binary.
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.

14 years agoIssue8810: Clearing up docstring for tzinfo.utcoffset.
Sean Reifscheider [Fri, 4 Jun 2010 01:51:38 +0000 (01:51 +0000)]
Issue8810: Clearing up docstring for tzinfo.utcoffset.

14 years agoMerged revisions 81662 via svnmerge from
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.
........

14 years agoMerged revisions 81667 via svnmerge from
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.
........

14 years agoMerged revisions 81663 via svnmerge from
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.
........

14 years agoFix Charset.body_encode to encode to output_charset before calling base64mime.
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.
........

14 years agoremove description of LOAD_LOCALS #8874
Benjamin Peterson [Wed, 2 Jun 2010 18:10:09 +0000 (18:10 +0000)]
remove description of LOAD_LOCALS #8874

14 years agoMerged revisions 81652 via svnmerge from
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.
........

14 years agoMerged revisions 81649 via svnmerge from
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.
........

14 years agoMerged revisions 81645 via svnmerge from
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
........

14 years agoMerged revisions 81640 via svnmerge from
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.
........

14 years agoMerged revisions 81636 via svnmerge from
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.
........

14 years ago#8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.
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.

14 years agoMerged revisions 81586 via svnmerge from
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.
........

14 years agoMerged revisions 81587 via svnmerge from
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.
........

14 years agoIssue #1289118: datetime.timedelta objects can now be multiplied by float
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.

14 years agoMerged revisions 81621 via svnmerge from
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)
........

14 years agoRemove conditional import of 'ic', that module
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.

14 years agouse atomic structures in non-thread version
Benjamin Peterson [Sun, 30 May 2010 14:49:32 +0000 (14:49 +0000)]
use atomic structures in non-thread version

14 years agoRecorded merge of revisions 81610 via svnmerge from
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.
........

14 years agoBlocked revisions 81608 via svnmerge
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.
........

14 years agoBlocked revisions 81606 via svnmerge
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.
........

14 years agoMerged revisions 81602 via svnmerge from
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.
........

14 years agoMerged revisions 81598 via svnmerge from
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
........

14 years agoMerged revisions 81594 via svnmerge from
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
........

14 years agoRemove dead code
Victor Stinner [Sat, 29 May 2010 00:13:06 +0000 (00:13 +0000)]
Remove dead code

14 years agoIssue #8837: Remove "O?" format of PyArg_Parse*() functions. The format is no
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.

14 years agoMerged revisions 81584 via svnmerge from
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.
........

14 years agoMerged revisions 81582 via svnmerge from
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.
........

14 years agoBlocked revisions 81578-81579 via svnmerge
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
........

14 years agoMerged revisions 81318 via svnmerge from
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.
........

14 years agocorrect default value in signature
Benjamin Peterson [Thu, 27 May 2010 22:32:22 +0000 (22:32 +0000)]
correct default value in signature

14 years agoMerged revisions 81566 via svnmerge from
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.
........

14 years agoStefan Krah was missing from Misc/ACKS in the py3k branch.
Mark Dickinson [Thu, 27 May 2010 19:47:53 +0000 (19:47 +0000)]
Stefan Krah was missing from Misc/ACKS in the py3k branch.

14 years agoMerged revisions 81512 via svnmerge from
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.
........

14 years agoMerged revisions 81559 via svnmerge from
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.
........

14 years agoIssue #2844: Make int('42', n) consistently raise ValueError for
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).

14 years agoMerged revisions 81555 via svnmerge from
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.
........

14 years agoMerged revisions 81551 via svnmerge from
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).
........

14 years agofix wrong assertIs context
Giampaolo Rodolà [Wed, 26 May 2010 18:21:26 +0000 (18:21 +0000)]
fix wrong assertIs context

14 years agoFix issue #8806: add SSL contexts support to ftplib
Giampaolo Rodolà [Wed, 26 May 2010 18:06:04 +0000 (18:06 +0000)]
Fix issue #8806: add SSL contexts support to ftplib

14 years agoFix #2810 - handle the case where some registry calls return
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

14 years agoMerged revisions 81543 via svnmerge from
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
........

14 years agoIssue #8817: Expose round-to-nearest variant of divmod in _PyLong_Divmod_Near
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.

14 years agoBlocked revisions 81537 via svnmerge
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.

14 years agoFix the new TestMain.test_decode() of test_base64 for Windows
Victor Stinner [Tue, 25 May 2010 22:17:22 +0000 (22:17 +0000)]
Fix the new TestMain.test_decode() of test_base64 for Windows

14 years agoIssue #4769: Fix main() function of the base64 module, use sys.stdin.buffer and
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

14 years agoMerged revisions 81531 via svnmerge from
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.
........

14 years agoMerged revisions 81527 via svnmerge from
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.
........

14 years agoMerged revisions 81525 via svnmerge from
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.
........

14 years agoRecorded merge of revisions 81521 via svnmerge from
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'.
........

14 years agoBlocked revisions 81518 via svnmerge
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.
........

14 years agoadded the list of public APIs in sysconfig
Tarek Ziadé [Tue, 25 May 2010 09:47:06 +0000 (09:47 +0000)]
added the list of public APIs in sysconfig

14 years agoMade sysconfig a script that displays useful information - #8770
Tarek Ziadé [Tue, 25 May 2010 09:44:36 +0000 (09:44 +0000)]
Made sysconfig a script that displays useful information - #8770

14 years agoBlocked revisions 81509 via svnmerge
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
........

14 years agoRecorded merge of revisions 81500-81501 via svnmerge from
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)
........

14 years agoDocument the context attribute of SSL sockets
Antoine Pitrou [Mon, 24 May 2010 21:20:20 +0000 (21:20 +0000)]
Document the context attribute of SSL sockets

14 years agoAdd a versionadded tag for SSL contexts.
Antoine Pitrou [Mon, 24 May 2010 15:58:43 +0000 (15:58 +0000)]
Add a versionadded tag for SSL contexts.

14 years agoMerged revisions 81492 via svnmerge from
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
........

14 years agoMerged revisions 81490 via svnmerge from
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)
........

14 years agoIssue #8188: Introduce a new scheme for computing hashes of numbers
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.

14 years agoRemove duplicate NEWS entry.
Mark Dickinson [Sun, 23 May 2010 13:26:48 +0000 (13:26 +0000)]
Remove duplicate NEWS entry.

14 years agoMerged revisions 81479 via svnmerge from
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
  ........
................

14 years ago#Issue 8540: Make Context._clamp attribute public in decimal module.
Mark Dickinson [Sat, 22 May 2010 18:35:36 +0000 (18:35 +0000)]
#Issue 8540: Make Context._clamp attribute public in decimal module.

14 years agoMerged revisions 81471-81472 via svnmerge from
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
........

14 years agoIssue #8749: remove unused code in Objects/object.c. Thanks Yaniv Aknin.
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.