]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 88080 via svnmerge from
Benjamin Peterson [Mon, 17 Jan 2011 23:55:58 +0000 (23:55 +0000)]
Merged revisions 88080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88080 | benjamin.peterson | 2011-01-17 17:49:51 -0600 (Mon, 17 Jan 2011) | 1 line

  very out of date file
........

14 years agoMerged revisions 88069 via svnmerge from
Benjamin Peterson [Mon, 17 Jan 2011 19:57:01 +0000 (19:57 +0000)]
Merged revisions 88069 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88069 | benjamin.peterson | 2011-01-17 13:54:55 -0600 (Mon, 17 Jan 2011) | 1 line

  remove unneeded assertion
........

14 years agoMerged revisions 88066 via svnmerge from
Benjamin Peterson [Mon, 17 Jan 2011 19:48:58 +0000 (19:48 +0000)]
Merged revisions 88066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88066 | benjamin.peterson | 2011-01-17 13:44:46 -0600 (Mon, 17 Jan 2011) | 1 line

  correct assertion
........

14 years agoMerged revisions 88063 via svnmerge from
Benjamin Peterson [Mon, 17 Jan 2011 19:30:29 +0000 (19:30 +0000)]
Merged revisions 88063 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88063 | benjamin.peterson | 2011-01-17 13:24:34 -0600 (Mon, 17 Jan 2011) | 4 lines

  turn some checks into assertions, since they are implied by the caller

  Reviewed by Georg.
........

14 years agoFix asyncore test that fails on pypy by explicitly closing file
Michael Foord [Sun, 16 Jan 2011 13:03:37 +0000 (13:03 +0000)]
Fix asyncore test that fails on pypy by explicitly closing file

14 years agoMerged revisions 88036 via svnmerge from
Antoine Pitrou [Sat, 15 Jan 2011 17:40:00 +0000 (17:40 +0000)]
Merged revisions 88036 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88036 | antoine.pitrou | 2011-01-15 18:25:58 +0100 (sam., 15 janv. 2011) | 3 lines

  Fix mmap and test_mmap under Windows too (followup to r88022)
........

14 years agoMerged revisions 88022 via svnmerge from
Antoine Pitrou [Sat, 15 Jan 2011 16:18:57 +0000 (16:18 +0000)]
Merged revisions 88022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88022 | antoine.pitrou | 2011-01-15 17:17:07 +0100 (sam., 15 janv. 2011) | 7 lines

  Issue #10916: mmap should not segfault when a file is mapped using 0 as
  length and a non-zero offset, and an attempt to read past the end of file
  is made (IndexError is raised instead).  Patch by Ross Lagerwall.

  Requested by Georg.
........

14 years agoMerged revisions 88012-88018 via svnmerge from
Antoine Pitrou [Sat, 15 Jan 2011 14:29:23 +0000 (14:29 +0000)]
Merged revisions 88012-88018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88012 | antoine.pitrou | 2011-01-15 12:39:23 +0100 (sam., 15 janv. 2011) | 3 lines

  Avoid ResourceWarnings in ccbench
........
  r88013 | antoine.pitrou | 2011-01-15 12:44:17 +0100 (sam., 15 janv. 2011) | 3 lines

  Standard streams use file descriptors, not FILE pointers.
........
  r88014 | antoine.pitrou | 2011-01-15 12:57:42 +0100 (sam., 15 janv. 2011) | 3 lines

  Restructure a bit
........
  r88015 | antoine.pitrou | 2011-01-15 13:10:48 +0100 (sam., 15 janv. 2011) | 3 lines

  Improve description of issues
........
  r88016 | antoine.pitrou | 2011-01-15 13:21:53 +0100 (sam., 15 janv. 2011) | 3 lines

  Add mention of how to switch interpreters
........
  r88017 | antoine.pitrou | 2011-01-15 13:54:19 +0100 (sam., 15 janv. 2011) | 3 lines

  Reword and restructure the GIL API doc
........
  r88018 | antoine.pitrou | 2011-01-15 14:11:48 +0100 (sam., 15 janv. 2011) | 4 lines

  Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
  PyEval_ReleaseLock().  The thread-state aware APIs should be used instead.
........

14 years agoIssue #10902: Fix reference to run* methods
Eli Bendersky [Fri, 14 Jan 2011 07:50:27 +0000 (07:50 +0000)]
Issue #10902: Fix reference to run* methods

14 years agoMerged revisions 87984 via svnmerge from
Georg Brandl [Thu, 13 Jan 2011 07:30:21 +0000 (07:30 +0000)]
Merged revisions 87984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line

  Add semicolon for consistency.
........

14 years agoMerged revisions 87895 via svnmerge from
Benjamin Peterson [Wed, 12 Jan 2011 19:27:17 +0000 (19:27 +0000)]
Merged revisions 87895 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87895 | lukasz.langa | 2011-01-09 12:18:53 -0600 (Sun, 09 Jan 2011) | 5 lines

  #10874: test_urllib2 shouldn't use `is` operator for comparing strings

  Patch by Adreas Stührk.
........

14 years agoMerged revisions 87960 via svnmerge from
Benjamin Peterson [Wed, 12 Jan 2011 19:00:37 +0000 (19:00 +0000)]
Merged revisions 87960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87960 | benjamin.peterson | 2011-01-12 12:56:07 -0600 (Wed, 12 Jan 2011) | 1 line

  use PyErr_SetString instead of PyErr_Format
........

14 years agoMerged revisions 87958 via svnmerge from
Antoine Pitrou [Wed, 12 Jan 2011 18:56:09 +0000 (18:56 +0000)]
Merged revisions 87958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87958 | antoine.pitrou | 2011-01-12 19:45:27 +0100 (mer., 12 janv. 2011) | 4 lines

  Issue #10822: Fix test_posix:test_getgroups failure under Solaris.  Patch
  by Ross Lagerwall.
........

14 years agoMerged revisions 87952-87954 via svnmerge from
Benjamin Peterson [Wed, 12 Jan 2011 15:49:47 +0000 (15:49 +0000)]
Merged revisions 87952-87954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87952 | benjamin.peterson | 2011-01-12 09:24:27 -0600 (Wed, 12 Jan 2011) | 1 line

  move this test to test_descr; it's not abc specific
........
  r87953 | benjamin.peterson | 2011-01-12 09:25:02 -0600 (Wed, 12 Jan 2011) | 1 line

  oops, wrong class
........
  r87954 | benjamin.peterson | 2011-01-12 09:34:01 -0600 (Wed, 12 Jan 2011) | 1 line

  don't segfault on deleting __abstractmethods__ #10892
........

14 years agoMerged revisions 87949 via svnmerge from
Benjamin Peterson [Wed, 12 Jan 2011 04:47:43 +0000 (04:47 +0000)]
Merged revisions 87949 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87949 | benjamin.peterson | 2011-01-11 22:44:41 -0600 (Tue, 11 Jan 2011) | 1 line

  fix weirdly ambigious sentence
........

14 years agoReverted r87944 - issue #5109 should not have been backported
Alexander Belopolsky [Tue, 11 Jan 2011 22:35:58 +0000 (22:35 +0000)]
Reverted r87944 - issue #5109 should not have been backported

14 years agoMerged revisions 87942 via svnmerge from
Alexander Belopolsky [Tue, 11 Jan 2011 22:16:24 +0000 (22:16 +0000)]
Merged revisions 87942 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87942 | alexander.belopolsky | 2011-01-11 16:44:00 -0500 (Tue, 11 Jan 2011) | 3 lines

  Issue #5109: array.array constructor will now use fast code when
  initial data is provided in an array object with correct type.
........

14 years agoMerged revisions 82547 via svnmerge from
Alexander Belopolsky [Tue, 11 Jan 2011 15:35:23 +0000 (15:35 +0000)]
Merged revisions 82547 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82547 | alexander.belopolsky | 2010-07-04 13:00:20 -0400 (Sun, 04 Jul 2010) | 3 lines

  Issue #9118: help(None) will now return NoneType doc instead of
  starting interactive help.
........

14 years agoSynchronize maintainers file
Éric Araujo [Tue, 11 Jan 2011 12:22:14 +0000 (12:22 +0000)]
Synchronize maintainers file

14 years agoIssue #10875: Update Regular Expression HOWTO; additional backport with 2.7 modification.
Terry Reedy [Tue, 11 Jan 2011 00:07:12 +0000 (00:07 +0000)]
Issue #10875: Update Regular Expression HOWTO; additional backport with 2.7 modification.

14 years agoIssue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.
Terry Reedy [Mon, 10 Jan 2011 22:15:19 +0000 (22:15 +0000)]
Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.

14 years agoBlocked revisions 87891 via svnmerge
Georg Brandl [Sun, 9 Jan 2011 09:33:24 +0000 (09:33 +0000)]
Blocked revisions 87891 via svnmerge

........
  r87891 | georg.brandl | 2011-01-09 10:31:01 +0100 (So, 09 Jan 2011) | 1 line

  #10871: "file" does not exist anymore in Python 3.  Also adapt the reprs of opened file objects.
........

14 years agoMerged revisions 87890 via svnmerge from
Georg Brandl [Sun, 9 Jan 2011 09:33:09 +0000 (09:33 +0000)]
Merged revisions 87890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87890 | georg.brandl | 2011-01-09 10:04:08 +0100 (So, 09 Jan 2011) | 1 line

  Wrap some long examples and signatures.
........

14 years agoHand-port parts of r87789.
Georg Brandl [Sun, 9 Jan 2011 08:04:37 +0000 (08:04 +0000)]
Hand-port parts of r87789.

14 years agoBlocked revisions 87789-87790 via svnmerge
Georg Brandl [Sun, 9 Jan 2011 08:01:47 +0000 (08:01 +0000)]
Blocked revisions 87789-87790 via svnmerge

........
  r87789 | georg.brandl | 2011-01-06 10:23:56 +0100 (Do, 06 Jan 2011) | 1 line

  Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
........
  r87790 | georg.brandl | 2011-01-06 10:25:27 +0100 (Do, 06 Jan 2011) | 1 line

  Add acks where acks are due.
........

14 years agoMerged revisions 87791 via svnmerge from
Georg Brandl [Sun, 9 Jan 2011 08:00:33 +0000 (08:00 +0000)]
Merged revisions 87791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87791 | georg.brandl | 2011-01-06 11:05:26 +0100 (Do, 06 Jan 2011) | 1 line

  #10844: update copyright years in Mac plists.
........

14 years agoMerged revisions 87807,87820,87831,87859 via svnmerge from
Georg Brandl [Sun, 9 Jan 2011 07:58:45 +0000 (07:58 +0000)]
Merged revisions 87807,87820,87831,87859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87807 | georg.brandl | 2011-01-06 20:28:18 +0100 (Do, 06 Jan 2011) | 1 line

  #10846: fix typo.
........
  r87820 | georg.brandl | 2011-01-07 19:28:45 +0100 (Fr, 07 Jan 2011) | 1 line

  #10856: document (Base)Exception.args better.
........
  r87831 | georg.brandl | 2011-01-07 21:58:25 +0100 (Fr, 07 Jan 2011) | 1 line

  Fix indent.
........
  r87859 | georg.brandl | 2011-01-08 10:45:43 +0100 (Sa, 08 Jan 2011) | 1 line

  #10855: document close() semantics of wave objects.
........

14 years agoBlocked revisions 86882 via svnmerge
Georg Brandl [Sun, 9 Jan 2011 07:55:47 +0000 (07:55 +0000)]
Blocked revisions 86882 via svnmerge

........
  r86882 | georg.brandl | 2010-11-30 09:20:16 +0100 (Di, 30 Nov 2010) | 1 line

  Fix input type for zlib.
........

14 years agoBlocked revisions 87870 via svnmerge
Georg Brandl [Sun, 9 Jan 2011 07:54:52 +0000 (07:54 +0000)]
Blocked revisions 87870 via svnmerge

........
  r87870 | georg.brandl | 2011-01-08 22:04:25 +0100 (Sa, 08 Jan 2011) | 1 line

  zlib only works with bytes objects.
........

14 years agoMerged revisions 87876-87877 via svnmerge from
Georg Brandl [Sun, 9 Jan 2011 07:53:14 +0000 (07:53 +0000)]
Merged revisions 87876-87877 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line

  #10869: do not visit root node twice in ast.increment_lineno().
........
  r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line

  Add missing line.
........

14 years agoRemove duplicate entry.
Georg Brandl [Sun, 9 Jan 2011 07:51:15 +0000 (07:51 +0000)]
Remove duplicate entry.

14 years agoMerged revisions 87873 via svnmerge from
R. David Murray [Sun, 9 Jan 2011 03:02:04 +0000 (03:02 +0000)]
Merged revisions 87873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87873 | r.david.murray | 2011-01-08 21:35:24 -0500 (Sat, 08 Jan 2011) | 12 lines

  #5871: protect against header injection attacks.

  This makes Header.encode throw a HeaderParseError if it winds up
  formatting a header such that a continuation line has no leading
  whitespace and looks like a header.  Since Header accepts values
  containing newlines and preserves them (and this is by design), without
  this fix any program that took user input (say, a subject in a web form)
  and passed it to the email package as a header was vulnerable to header
  injection attacks.  (As far as we know this has never been exploited.)

  Thanks to Jakub Wilk for reporting this vulnerability.
........

14 years agoIssue 10357: Clarify what it means to be a mapping.
Raymond Hettinger [Sat, 8 Jan 2011 23:50:39 +0000 (23:50 +0000)]
Issue 10357: Clarify what it means to be a mapping.

14 years agoMerged revisions 87861,87863 via svnmerge from
Antoine Pitrou [Sat, 8 Jan 2011 10:32:51 +0000 (10:32 +0000)]
Merged revisions 87861,87863 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87861 | antoine.pitrou | 2011-01-08 11:23:29 +0100 (sam., 08 janv. 2011) | 3 lines

  Fix test_ssl after r87849
........
  r87863 | antoine.pitrou | 2011-01-08 11:28:11 +0100 (sam., 08 janv. 2011) | 3 lines

  Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().
........

14 years agoBlocked revisions 87840 via svnmerge
R. David Murray [Fri, 7 Jan 2011 23:32:46 +0000 (23:32 +0000)]
Blocked revisions 87840 via svnmerge

........
  r87840 | r.david.murray | 2011-01-07 18:25:30 -0500 (Fri, 07 Jan 2011) | 6 lines

  #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.

  This applies only when generating strings from non-RFC compliant binary
  input; it makes the existing recoding behavior more consistent (ie:
  now no data is lost when recoding).
........

14 years agoMerged revisions 87834 via svnmerge from
Antoine Pitrou [Fri, 7 Jan 2011 21:49:44 +0000 (21:49 +0000)]
Merged revisions 87834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87834 | antoine.pitrou | 2011-01-07 22:43:59 +0100 (ven., 07 janv. 2011) | 5 lines

  Issue #8020: Avoid a crash where the small objects allocator would read
  non-Python managed memory while it is being modified by another thread.
  Patch by Matt Bandy.
........

14 years agoMerged revisions 87802 via svnmerge from
Antoine Pitrou [Thu, 6 Jan 2011 18:30:26 +0000 (18:30 +0000)]
Merged revisions 87802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87802 | antoine.pitrou | 2011-01-06 19:25:55 +0100 (jeu., 06 janv. 2011) | 6 lines

  Issue #7858: Raise an error properly when os.utime() fails under Windows
  on an existing file.

  (this does not seem to be easily testable)
........

14 years agoMerged revisions 87796 via svnmerge from
David Malcolm [Thu, 6 Jan 2011 17:39:24 +0000 (17:39 +0000)]
Merged revisions 87796 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87796 | david.malcolm | 2011-01-06 12:01:36 -0500 (Thu, 06 Jan 2011) | 6 lines

  Issue #10655: Fix the build on PowerPC on Linux with GCC when building with
  timestamp profiling (--with-tsc): the preprocessor test for the PowerPC
  support now looks for "__powerpc__" as well as "__ppc__": the latter seems to
  only be present on OS X; the former is the correct one for Linux with GCC.
........

14 years agoMerged revisions 87797 via svnmerge from
Antoine Pitrou [Thu, 6 Jan 2011 17:19:05 +0000 (17:19 +0000)]
Merged revisions 87797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87797 | antoine.pitrou | 2011-01-06 18:17:04 +0100 (jeu., 06 janv. 2011) | 4 lines

  Issue #3839: wsgiref should not override a Content-Length header set by
  the application.  Initial patch by Clovis Fabricio.
........

14 years agoMerged revisions 87792 via svnmerge from
Antoine Pitrou [Thu, 6 Jan 2011 16:35:14 +0000 (16:35 +0000)]
Merged revisions 87792 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87792 | antoine.pitrou | 2011-01-06 17:31:28 +0100 (jeu., 06 janv. 2011) | 3 lines

  Elaborate about the GIL.
........

14 years agoMerged revisions 87762 via svnmerge from
Antoine Pitrou [Wed, 5 Jan 2011 18:41:13 +0000 (18:41 +0000)]
Merged revisions 87762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87762 | antoine.pitrou | 2011-01-05 19:37:22 +0100 (mer., 05 janv. 2011) | 3 lines

  Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing.
........

14 years agoBlocked revisions 87750 via svnmerge
R. David Murray [Wed, 5 Jan 2011 01:50:00 +0000 (01:50 +0000)]
Blocked revisions 87750 via svnmerge

........
  r87750 | r.david.murray | 2011-01-04 20:39:32 -0500 (Tue, 04 Jan 2011) | 5 lines

  #10790: make append work when output codec is different from input codec

  There's still a bug here (the encode call shouldn't use the 'errors'
  paramter), but I'll fix that later.
........

14 years agoFix typo
Daniel Stutzbach [Tue, 4 Jan 2011 18:47:17 +0000 (18:47 +0000)]
Fix typo

14 years agobackport fix from r87741 related to the issue6643 fix in r87727.
Gregory P. Smith [Tue, 4 Jan 2011 18:43:54 +0000 (18:43 +0000)]
backport fix from r87741 related to the issue6643 fix in r87727.

14 years agoMerged revisions 87710 via svnmerge from
Gregory P. Smith [Tue, 4 Jan 2011 01:10:08 +0000 (01:10 +0000)]
Merged revisions 87710 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87710 | gregory.p.smith | 2011-01-03 13:06:12 -0800 (Mon, 03 Jan 2011) | 4 lines

  issue6643 - Two locks held within the threading module on each thread instance
  needed to be reinitialized after fork().  Adds tests to confirm that they are
  and that a potential deadlock and crasher bug are fixed (platform dependant).
........

This required a bit more fiddling for 2.x as __block and __started are __
private as well as the __started Event's __cond.  A new "private"
_reset_internal_locks() method is added to Thread and _Event objects to
address this.

14 years agoMerged revisions 87721 via svnmerge from
Antoine Pitrou [Tue, 4 Jan 2011 00:32:11 +0000 (00:32 +0000)]
Merged revisions 87721 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87721 | antoine.pitrou | 2011-01-04 01:24:03 +0100 (mar., 04 janv. 2011) | 3 lines

  Issue #10267: Fix refleak in test_ttk_guionly.  Patch by Hirokazu Yamamoto.
........

14 years agoRecorded merge of revisions 85881,85897,85899 via svnmerge from
Victor Stinner [Mon, 3 Jan 2011 22:35:43 +0000 (22:35 +0000)]
Recorded merge of revisions 85881,85897,85899 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85881 | victor.stinner | 2010-10-28 13:20:31 +0200 (jeu., 28 oct. 2010) | 2 lines

  test_pep277: add identifiers to filenames
........
  r85897 | victor.stinner | 2010-10-29 00:57:03 +0200 (ven., 29 oct. 2010) | 5 lines

  test_pep277: disable filenames 11, 12, 13, 14 on darwin

  Because darwin "normalizes" these filenames differently than Python's NFD
  normalization.
........
  r85899 | victor.stinner | 2010-10-29 01:14:45 +0200 (ven., 29 oct. 2010) | 4 lines

  #10209, test_pep277: disable test_normalize and test_listdir on darwin

  These tests are irrevelant on this OS.
........

14 years agoIgnore pgen.stamp.
Antoine Pitrou [Mon, 3 Jan 2011 20:51:04 +0000 (20:51 +0000)]
Ignore pgen.stamp.

14 years agoMerged revisions 87704-87705 via svnmerge from
Antoine Pitrou [Mon, 3 Jan 2011 20:49:01 +0000 (20:49 +0000)]
Merged revisions 87704-87705 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87704 | antoine.pitrou | 2011-01-03 21:38:52 +0100 (lun., 03 janv. 2011) | 5 lines

  Issue #6293: Have regrtest.py echo back sys.flags.  This is done by default
  in whole runs and enabled selectively using `--header` when running an
  explicit list of tests.  Original patch by Collin Winter.
........
  r87705 | antoine.pitrou | 2011-01-03 21:40:07 +0100 (lun., 03 janv. 2011) | 3 lines

  Mention --randseed in option list
........

14 years agoMerged revisions 84068,87558 via svnmerge from
Antoine Pitrou [Mon, 3 Jan 2011 19:11:32 +0000 (19:11 +0000)]
Merged revisions 84068,87558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84068 | martin.v.loewis | 2010-08-15 17:47:25 +0200 (dim., 15 août 2010) | 2 lines

  Don't run pgen twice when using make -j.
........
  r87558 | victor.stinner | 2010-12-29 00:14:17 +0100 (mer., 29 déc. 2010) | 1 line

  Don't ignore pgen error (on "make Parser/pgen.stamp")
........

14 years agoMerged revisions 87698 via svnmerge from
Antoine Pitrou [Mon, 3 Jan 2011 18:57:14 +0000 (18:57 +0000)]
Merged revisions 87698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines

  Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
  the configure script but use $GREP instead.  Patch by Fabian Groffen.
........

14 years agoMerged revisions 87695 via svnmerge from
Antoine Pitrou [Mon, 3 Jan 2011 18:45:09 +0000 (18:45 +0000)]
Merged revisions 87695 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87695 | antoine.pitrou | 2011-01-03 19:23:55 +0100 (lun., 03 janv. 2011) | 5 lines

  Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
  file descriptors (0, 1, 2) are closed in the parent process.  Initial
  patch by Ross Lagerwall.
........

14 years agoMerged revisions 87691 via svnmerge from
Éric Araujo [Mon, 3 Jan 2011 17:57:29 +0000 (17:57 +0000)]
Merged revisions 87691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87691 | eric.araujo | 2011-01-03 18:51:11 +0100 (lun., 03 janv. 2011) | 2 lines

  Fix test_site for systems without unsetenv.  Reported by Zsolt Cserna.
........

14 years agoIssue 10814: time.asctime test will now use a valid day with out of range year.
Alexander Belopolsky [Mon, 3 Jan 2011 17:52:03 +0000 (17:52 +0000)]
Issue 10814: time.asctime test will now use a valid day with out of range year.

14 years agoBackport r87672 and r87615, improving tests, using super() instead of direct parent...
Raymond Hettinger [Mon, 3 Jan 2011 08:59:18 +0000 (08:59 +0000)]
Backport r87672 and r87615, improving tests, using super() instead of direct parent references, and using  __reduce__ method for pickling.

14 years agoMerged revisions 87666 via svnmerge from
Amaury Forgeot d'Arc [Mon, 3 Jan 2011 00:50:57 +0000 (00:50 +0000)]
Merged revisions 87666 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87666 | amaury.forgeotdarc | 2011-01-03 01:19:11 +0100 (lun., 03 janv. 2011) | 4 lines

  #8278: In the Windows implementation of stat() and utime(),
  use time_t instead of int.  This gives support for dates after 2038,
  at least when compiled with VS2003 or later, where time_t is 64bit.
........

14 years agoMerged revisions 87648,87656 via svnmerge from
Alexander Belopolsky [Sun, 2 Jan 2011 23:23:54 +0000 (23:23 +0000)]
Merged revisions 87648,87656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87648 | alexander.belopolsky | 2011-01-02 15:48:22 -0500 (Sun, 02 Jan 2011) | 1 line

  Issue #8013: Fixed time.asctime segfault when OS's asctime fails
........
  r87656 | alexander.belopolsky | 2011-01-02 17:16:10 -0500 (Sun, 02 Jan 2011) | 1 line

  Issue #8013: Fixed test
........

14 years agoMerged revisions 87653-87655 via svnmerge from
Antoine Pitrou [Sun, 2 Jan 2011 22:39:10 +0000 (22:39 +0000)]
Merged revisions 87653-87655 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87653 | antoine.pitrou | 2011-01-02 23:06:53 +0100 (dim., 02 janv. 2011) | 3 lines

  Clarify behaviour of close() and shutdown() on sockets.
........
  r87654 | antoine.pitrou | 2011-01-02 23:09:27 +0100 (dim., 02 janv. 2011) | 3 lines

  Add a shutdown() call in the server example.
........
  r87655 | antoine.pitrou | 2011-01-02 23:12:22 +0100 (dim., 02 janv. 2011) | 3 lines

  Some nits.
........

14 years agoMerged revisions 87646 via svnmerge from
Antoine Pitrou [Sun, 2 Jan 2011 20:51:34 +0000 (20:51 +0000)]
Merged revisions 87646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87646 | antoine.pitrou | 2011-01-02 21:45:21 +0100 (dim., 02 janv. 2011) | 3 lines

  Fix bad quoting in r87639. Caught by Arfrever.
........

14 years agoFix indentation
Antoine Pitrou [Sun, 2 Jan 2011 20:06:12 +0000 (20:06 +0000)]
Fix indentation

14 years agoTypo
Antoine Pitrou [Sun, 2 Jan 2011 20:05:11 +0000 (20:05 +0000)]
Typo

14 years agoIssue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k
Antoine Pitrou [Sun, 2 Jan 2011 20:04:52 +0000 (20:04 +0000)]
Issue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k
DeprecationWarning.

14 years agoMerged revisions 87639 via svnmerge from
Antoine Pitrou [Sun, 2 Jan 2011 19:37:45 +0000 (19:37 +0000)]
Merged revisions 87639 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines

  Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
  and DragonFly BSD.  Patch by Nicolas Joly.
........

14 years ago#10804: fix copy-paste error when checking assigned fields for NULL.
Georg Brandl [Sun, 2 Jan 2011 14:20:16 +0000 (14:20 +0000)]
#10804: fix copy-paste error when checking assigned fields for NULL.

14 years agoRaymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp
Raymond Hettinger [Sun, 2 Jan 2011 01:03:26 +0000 (01:03 +0000)]
Raymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp
Backport r87594 r87611 and r87612 so that OrderedDict subclassing behavior
better matches dict subclassing (i.e. adding __missing__ works and
extending/overriding the update() methods doesn't break __init__()).

14 years agoMerged revisions 87607 via svnmerge from
Benjamin Peterson [Sat, 1 Jan 2011 14:30:24 +0000 (14:30 +0000)]
Merged revisions 87607 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87607 | benjamin.peterson | 2011-01-01 08:28:31 -0600 (Sat, 01 Jan 2011) | 1 line

  update copyright to 2011
........

14 years agoIssue 6285: catch missing IDLE help file. Backport from 3.2.
Terry Reedy [Sat, 1 Jan 2011 02:32:46 +0000 (02:32 +0000)]
Issue 6285: catch missing IDLE help file. Backport from 3.2.

14 years agoIssue 10789: Correct threading.Lock.acquire signature.
Terry Reedy [Sat, 1 Jan 2011 00:36:18 +0000 (00:36 +0000)]
Issue 10789: Correct threading.Lock.acquire signature.

14 years agoMerged revisions 83089,87590 via svnmerge from
R. David Murray [Fri, 31 Dec 2010 19:31:48 +0000 (19:31 +0000)]
Merged revisions 83089,87590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83089 | brett.cannon | 2010-07-23 09:54:14 -0400 (Fri, 23 Jul 2010) | 4 lines

  Test calendar.monthrange.

  Closes issue 9342. Thanks John Chandler for the patch.
........
  r87590 | r.david.murray | 2010-12-31 14:21:14 -0500 (Fri, 31 Dec 2010) | 4 lines

  #9361: add some tests for calendar.leapdays

  Patch by John Chandler.
........

14 years agoBlocked revisions 87567 via svnmerge
R. David Murray [Wed, 29 Dec 2010 16:59:09 +0000 (16:59 +0000)]
Blocked revisions 87567 via svnmerge

........
  r87567 | r.david.murray | 2010-12-29 11:57:24 -0500 (Wed, 29 Dec 2010) | 2 lines

  Fix a comment typo and update another comment to match Python3 reality
........

14 years agoMerged revisions 87564 via svnmerge from
Senthil Kumaran [Wed, 29 Dec 2010 06:30:19 +0000 (06:30 +0000)]
Merged revisions 87564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87564 | senthil.kumaran | 2010-12-29 14:25:42 +0800 (Wed, 29 Dec 2010) | 3 lines

  Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.
........

14 years agoIssue 10738: Fix webbrowser.Opera.raise_opts value.
Terry Reedy [Tue, 28 Dec 2010 19:53:32 +0000 (19:53 +0000)]
Issue 10738: Fix webbrowser.Opera.raise_opts value.

14 years agoMerged revisions 87550 via svnmerge from
R. David Murray [Tue, 28 Dec 2010 19:11:03 +0000 (19:11 +0000)]
Merged revisions 87550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87550 | r.david.murray | 2010-12-28 13:54:13 -0500 (Tue, 28 Dec 2010) | 8 lines

  #9824: encode , and ; in cookie values so that browsers don't split on them

  There is a small chance of backward incompatibility here, but only for
  non-SimpleCookie applications reading SimpleCookie generated cookies.  Even
  then, any such ap is likely to be handling escaped values already, and it would
  take a fairly perverse implementation of unescaping to fail to unescape these
  newly escaped chars, so the risk seems minimal.
........

14 years agoFix Issue10759 - HTMLParser.unescape() to handle malform charrefs.
Senthil Kumaran [Tue, 28 Dec 2010 16:05:07 +0000 (16:05 +0000)]
Fix Issue10759  - HTMLParser.unescape() to handle malform charrefs.

14 years agofixed issue 10254 test
Alexander Belopolsky [Tue, 28 Dec 2010 16:04:06 +0000 (16:04 +0000)]
fixed issue 10254 test

14 years agoMerged revisions 87442 via svnmerge from
Alexander Belopolsky [Tue, 28 Dec 2010 15:47:56 +0000 (15:47 +0000)]
Merged revisions 87442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87442 | alexander.belopolsky | 2010-12-22 21:27:37 -0500 (Wed, 22 Dec 2010) | 1 line

  Issue #10254: Fixed a crash and a regression introduced by the implementation of PRI 29.
........

14 years ago#1379416: encode charset name to ascii to avoid unicode promotion of output
R. David Murray [Mon, 27 Dec 2010 19:17:17 +0000 (19:17 +0000)]
#1379416: encode charset name to ascii to avoid unicode promotion of output

14 years agoMerged revisions 87508 via svnmerge from
R. David Murray [Mon, 27 Dec 2010 04:37:25 +0000 (04:37 +0000)]
Merged revisions 87508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87508 | r.david.murray | 2010-12-26 23:31:48 -0500 (Sun, 26 Dec 2010) | 5 lines

  Skip test that does not raise an error on Windows.

  I'm assuming that the putative path from the malformed
  pth file is simply not found and therefore ignored.
........

14 years agoMerged revisions 87501 via svnmerge from
R. David Murray [Mon, 27 Dec 2010 00:09:41 +0000 (00:09 +0000)]
Merged revisions 87501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87501 | r.david.murray | 2010-12-26 19:03:13 -0500 (Sun, 26 Dec 2010) | 2 lines

  Escape file path before searching for it in output via regex
........

14 years agoMerged revisions 87497 via svnmerge from
R. David Murray [Sun, 26 Dec 2010 22:29:53 +0000 (22:29 +0000)]
Merged revisions 87497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87497 | r.david.murray | 2010-12-26 14:54:29 -0500 (Sun, 26 Dec 2010) | 7 lines

  #5258/#10642: print fn, line, traceback and continue when .pth file is broken

  If a .pth file contained an error, it could cause a traceback in site.py,
  terminating its processing.  In 2.7 and 3.2, the interpreter will then not
  start.  Previously, a message would print saying to use -v to get the
  traceback.  In either case, the traceback generated for a failed .pth file did
  not include the .pth filename, making it difficult to debug the problem.  Now
  site.py reports not only the .pth filename but also the line number causing the
  error, and just skips the remainder of the file.
........

14 years agoMerged revisions 87493 via svnmerge from
Éric Araujo [Sun, 26 Dec 2010 17:55:02 +0000 (17:55 +0000)]
Merged revisions 87493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87493 | eric.araujo | 2010-12-26 18:53:27 +0100 (dim., 26 déc. 2010) | 2 lines

  Fix typo (#10770)
........

14 years agoMerged revisions 87489 via svnmerge from
Éric Araujo [Sun, 26 Dec 2010 02:39:48 +0000 (02:39 +0000)]
Merged revisions 87489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87489 | eric.araujo | 2010-12-26 03:38:05 +0100 (dim., 26 déc. 2010) | 2 lines

  Remove unexistent parameter (#3216)
........

14 years agoMerged revisions 87486 via svnmerge from
Éric Araujo [Sun, 26 Dec 2010 02:24:42 +0000 (02:24 +0000)]
Merged revisions 87486 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87486 | eric.araujo | 2010-12-26 03:18:49 +0100 (dim., 26 déc. 2010) | 2 lines

  Fix typo spotted by Rodrigo Bernardo Pimentel (#9891)
........

14 years agoBlocked revisions 87479 via svnmerge
R. David Murray [Fri, 24 Dec 2010 22:41:42 +0000 (22:41 +0000)]
Blocked revisions 87479 via svnmerge

........
  r87479 | r.david.murray | 2010-12-24 17:36:49 -0500 (Fri, 24 Dec 2010) | 8 lines

  #1693546: don't add quotes around RFC 2231 encoded values.

  The RFC is bit hard to understand on this point, but the examples
  clearly show that parameter values that are encoded according
  to its charset/language rules don't have surrounding quotes, and
  the ABNF does not allow for quotes.  So when we produce such
  encoded values, we no longer add quotes.
........

14 years agoMerged revisions 87463 via svnmerge from
Alexander Belopolsky [Fri, 24 Dec 2010 00:27:27 +0000 (00:27 +0000)]
Merged revisions 87463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87463 | alexander.belopolsky | 2010-12-23 19:24:11 -0500 (Thu, 23 Dec 2010) | 1 line

  Issue #9063: Corrected the tzinfo example.
........

14 years agoMerged revisions 87455 via svnmerge from
Benjamin Peterson [Thu, 23 Dec 2010 22:22:48 +0000 (22:22 +0000)]
Merged revisions 87455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87455 | benjamin.peterson | 2010-12-23 16:17:42 -0600 (Thu, 23 Dec 2010) | 1 line

  fix docstring
........

14 years agoBlocked revisions 87451 via svnmerge
R. David Murray [Thu, 23 Dec 2010 20:37:41 +0000 (20:37 +0000)]
Blocked revisions 87451 via svnmerge

........
  r87451 | r.david.murray | 2010-12-23 15:35:46 -0500 (Thu, 23 Dec 2010) | 4 lines

  #1155362: allow hh:mm:ss-uuuu like we allow hh:mm:ss+uuuu in parsedate_tz

  Original patch by Thomas Herve.
........

14 years agoMerged revisions 87448 via svnmerge from
R. David Murray [Thu, 23 Dec 2010 19:50:56 +0000 (19:50 +0000)]
Merged revisions 87448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87448 | r.david.murray | 2010-12-23 14:44:49 -0500 (Thu, 23 Dec 2010) | 4 lines

  #4496: remove misleading comment and note that self.handlers is obsolete.

  self.handlers is still used in one urllib2 test, but not by the code iteslf.
........

14 years agoBlocked revisions 87430 via svnmerge
R. David Murray [Tue, 21 Dec 2010 22:02:31 +0000 (22:02 +0000)]
Blocked revisions 87430 via svnmerge

........
  r87430 | r.david.murray | 2010-12-21 16:53:37 -0500 (Tue, 21 Dec 2010) | 9 lines

  #4871: check that zipfile password is bytes, and give useful error message.

  Previously passing a string in as the password would fail either with
  an assertion error or a TypeError with a confusing error message.
  Note that a string can't be accepted since zipfile has no way to
  guess what encoding should be used to turn it into bytes.

  Patch by Victor Stinner.
........

14 years agoMerged revisions 87427 via svnmerge from
Antoine Pitrou [Tue, 21 Dec 2010 21:26:55 +0000 (21:26 +0000)]
Merged revisions 87427 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87427 | antoine.pitrou | 2010-12-21 22:20:59 +0100 (mar., 21 déc. 2010) | 3 lines

  Issue #10750: The `raw` attribute of buffered IO objects is now read-only.
........

14 years agoMerged revisions 87421 via svnmerge from
Antoine Pitrou [Tue, 21 Dec 2010 18:56:45 +0000 (18:56 +0000)]
Merged revisions 87421 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87421 | antoine.pitrou | 2010-12-21 19:49:01 +0100 (mar., 21 déc. 2010) | 4 lines

  Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit.
  (part of #10735)
........

14 years agoBlocked revisions 87418 via svnmerge
R. David Murray [Tue, 21 Dec 2010 18:27:56 +0000 (18:27 +0000)]
Blocked revisions 87418 via svnmerge

........
  r87418 | r.david.murray | 2010-12-21 13:24:33 -0500 (Tue, 21 Dec 2010) | 10 lines

  Make test_compileall more robust by using -S to keep sys.path minimized.

  Try this again, hopefully the right way this time.

  Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
  install because it was tyring to write .pyc files to a read-only system
  directory during test_no_args_compiles_path.  Having the tests call python
  with -S should eliminate the system directories from the path.
........

14 years agoMerged revisions 87415 via svnmerge from
R. David Murray [Tue, 21 Dec 2010 18:12:50 +0000 (18:12 +0000)]
Merged revisions 87415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87415 | r.david.murray | 2010-12-21 13:07:59 -0500 (Tue, 21 Dec 2010) | 4 lines

  Fix the change made for issue 1243654.

  Surprisingly, it turns out there was no test that exercised this code path.
........

14 years ago#10748: add versionchanged for non-trivial bugfix.
Georg Brandl [Tue, 21 Dec 2010 17:58:06 +0000 (17:58 +0000)]
#10748: add versionchanged for non-trivial bugfix.

14 years agoBlocked revisions 87411 via svnmerge
R. David Murray [Mon, 20 Dec 2010 19:07:21 +0000 (19:07 +0000)]
Blocked revisions 87411 via svnmerge

........
  r87411 | r.david.murray | 2010-12-20 14:04:51 -0500 (Mon, 20 Dec 2010) | 2 lines

  Revert incorrect patch made at the wrong time.
........

14 years agoBlocked revisions 87408 via svnmerge
R. David Murray [Mon, 20 Dec 2010 18:10:29 +0000 (18:10 +0000)]
Blocked revisions 87408 via svnmerge

........
  r87408 | r.david.murray | 2010-12-20 13:08:59 -0500 (Mon, 20 Dec 2010) | 8 lines

  Make test_compileall more robust by using -S to keep sys.path minimized.

  Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
  install because it was tyring to write .pyc files to a read-only system
  directory during test_no_args_compiles_path.  Having subprocess call python
  with -S should eliminate the system directories from the path.
........

14 years agoIssue 10242. Switching unittest.TestCase.assertItemsEqual to use a collections.Counte...
Michael Foord [Sun, 19 Dec 2010 15:52:56 +0000 (15:52 +0000)]
Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a collections.Counter under the hood.
This fixes bugs when comparing collections of items like sets that can be sorted without raising an exception but where sorting has no meaning.

14 years agoIssue 10611. SystemExit should not cause a unittest test run to exit.
Michael Foord [Sun, 19 Dec 2010 14:53:19 +0000 (14:53 +0000)]
Issue 10611. SystemExit should not cause a unittest test run to exit.

14 years agoImprovement to fix for issue 9926 to allow TestResult to be reused.
Michael Foord [Sun, 19 Dec 2010 14:12:23 +0000 (14:12 +0000)]
Improvement to fix for issue 9926 to allow TestResult to be reused.

14 years agoMerged revisions 87027 via svnmerge from
R. David Murray [Sat, 18 Dec 2010 19:43:05 +0000 (19:43 +0000)]
Merged revisions 87027 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87027 | gregory.p.smith | 2010-12-04 06:36:58 -0500 (Sat, 04 Dec 2010) | 3 lines

  issue10622: fix superflous scrollbar on the right side of <pre> boxes in the
  generated html docs.  visible in chrome, possibly other webkit browsers.
........