]> granicus.if.org Git - python/log
python
15 years agoBlocked revisions 74843 via svnmerge
Mark Dickinson [Wed, 16 Sep 2009 20:29:50 +0000 (20:29 +0000)]
Blocked revisions 74843 via svnmerge

........
  r74843 | mark.dickinson | 2009-09-16 21:26:31 +0100 (Wed, 16 Sep 2009) | 4 lines

  Remove outdated include; this include was breaking OS X builds using
  non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h
  won't compile under non-Apple gcc).
........

15 years agoMerged revisions 74841 via svnmerge from
Thomas Wouters [Wed, 16 Sep 2009 20:06:36 +0000 (20:06 +0000)]
Merged revisions 74841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines

  Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
  acquiring the import lock around fork() calls. This prevents other threads
  from having that lock while the fork happens, and is the recommended way of
  dealing with such issues. There are two other locks we care about, the GIL
  and the Thread Local Storage lock. The GIL is obviously held when calling
  Python functions like os.fork(), and the TLS lock is explicitly reallocated
  instead, while also deleting now-orphaned TLS data.

  This only fixes calls to os.fork(), not extension modules or embedding
  programs calling C's fork() directly. Solving that requires a new set of API
  functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
  warning explaining the problem to the documentation in the mean time.

  This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
  getting the import lock reallocated, seemingly to avoid this very same
  problem. This is not the right approach, because the import lock is a
  re-entrant one, and reallocating would do the wrong thing when forking while
  holding the import lock.

  Will backport to 2.6, minus the tiny AIX behaviour change.
........

15 years agoMerged revisions 74825 via svnmerge from
Ezio Melotti [Wed, 16 Sep 2009 13:31:18 +0000 (13:31 +0000)]
Merged revisions 74825 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74825 | ezio.melotti | 2009-09-16 16:14:05 +0300 (Wed, 16 Sep 2009) | 1 line

  #6879 - fix misstatement about exceptions
........

15 years agoMerged revisions 74806 via svnmerge from
Ronald Oussoren [Tue, 15 Sep 2009 19:14:37 +0000 (19:14 +0000)]
Merged revisions 74806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74806 | ronald.oussoren | 2009-09-15 21:13:15 +0200 (Tue, 15 Sep 2009) | 3 lines

  Finish support for --with-universal-archs=intel
  and --with-universal-archs=3-way (issue6245)
........

15 years agoMerged revisions 74798 via svnmerge from
Ronald Oussoren [Tue, 15 Sep 2009 18:47:35 +0000 (18:47 +0000)]
Merged revisions 74798 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74798 | ronald.oussoren | 2009-09-15 20:33:33 +0200 (Tue, 15 Sep 2009) | 8 lines

  MacOSX: detect the architectures supported by
  Tk.framework and build _tkinter only for those
  architectures.

  This replaces the hardcoded solution that is no
  longer valid now that 64-bit capable versions of
  Tk are available on OSX.
........

15 years agoMerged revisions 74799 via svnmerge from
Ezio Melotti [Tue, 15 Sep 2009 18:46:35 +0000 (18:46 +0000)]
Merged revisions 74799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line

  #6917 - typo in method name
........

15 years agoMerged revisions 74795 via svnmerge from
Benjamin Peterson [Tue, 15 Sep 2009 03:39:14 +0000 (03:39 +0000)]
Merged revisions 74795 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line

  Py_SetPythonHome uses static storage #6913
........

15 years agoMerged revisions 74787 via svnmerge from
Ezio Melotti [Mon, 14 Sep 2009 01:20:43 +0000 (01:20 +0000)]
Merged revisions 74787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74787 | ezio.melotti | 2009-09-14 03:48:31 +0300 (Mon, 14 Sep 2009) | 1 line

  #6904 - fix broken link
........

15 years ago- Re-add 2.6.2 entry, move all entries made after 2.6.2 to the 2.6.3 entry.
Matthias Klose [Sun, 13 Sep 2009 15:51:51 +0000 (15:51 +0000)]
- Re-add 2.6.2 entry, move all entries made after 2.6.2 to the 2.6.3 entry.

15 years agoMerged revisions 74773 via svnmerge from
Matthias Klose [Sun, 13 Sep 2009 15:12:47 +0000 (15:12 +0000)]
Merged revisions 74773 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74773 | matthias.klose | 2009-09-13 17:09:24 +0200 (So, 13 Sep 2009) | 2 lines

  Issue #6635: Fix profiler printing usage message.
........

15 years agoMerged revisions 74769 via svnmerge from
Mark Dickinson [Sun, 13 Sep 2009 11:59:41 +0000 (11:59 +0000)]
Merged revisions 74769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74769 | mark.dickinson | 2009-09-13 12:56:13 +0100 (Sun, 13 Sep 2009) | 3 lines

  Fix potential signed-overflow bug in _PyLong_Format;  also fix
  a couple of whitespace issues.
........

15 years agoMerged revisions 74757 via svnmerge from
Benjamin Peterson [Sun, 13 Sep 2009 02:21:55 +0000 (02:21 +0000)]
Merged revisions 74757 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74757 | benjamin.peterson | 2009-09-12 20:59:31 -0500 (Sat, 12 Sep 2009) | 1 line

  update urls
........

15 years agoBlocked revisions 74750 via svnmerge
Lars Gustäbel [Sat, 12 Sep 2009 10:47:57 +0000 (10:47 +0000)]
Blocked revisions 74750 via svnmerge

........
  r74750 | lars.gustaebel | 2009-09-12 12:28:15 +0200 (Sat, 12 Sep 2009) | 9 lines

  Issue #6856: Add a filter keyword argument to TarFile.add().

  The filter argument must be a function that takes a TarInfo
  object argument, changes it and returns it again. If the
  function returns None the TarInfo object will be excluded
  from the archive.
  The exclude argument is deprecated from now on, because it
  does something similar but is not as flexible.
........

15 years agoMerged revisions 74727 via svnmerge from
Benjamin Peterson [Wed, 9 Sep 2009 11:46:13 +0000 (11:46 +0000)]
Merged revisions 74727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74727 | benjamin.peterson | 2009-09-08 18:04:22 -0500 (Tue, 08 Sep 2009) | 1 line

  #6865 fix ref counting in initialization of pwd module
........

15 years agoremoved unecessary lines for clarity and added a the same test than in trunk for...
Tarek Ziadé [Wed, 9 Sep 2009 11:39:41 +0000 (11:39 +0000)]
removed unecessary lines for clarity and added a the same test than in trunk for the inplace

15 years agoMerged revisions 74728 via svnmerge from
Tarek Ziadé [Wed, 9 Sep 2009 08:34:06 +0000 (08:34 +0000)]
Merged revisions 74728 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74728 | tarek.ziade | 2009-09-09 10:14:20 +0200 (Wed, 09 Sep 2009) | 1 line

  Issue #6163: Fixed HP-UX runtime library dir options in distutils.unixcompiler
........

15 years agoBlocked revisions 74723 via svnmerge
Mark Dickinson [Tue, 8 Sep 2009 20:20:51 +0000 (20:20 +0000)]
Blocked revisions 74723 via svnmerge

........
  r74723 | mark.dickinson | 2009-09-08 21:20:19 +0100 (Tue, 08 Sep 2009) | 3 lines

  Issue #6857: Fix Decimal formatting to be consistent with existing float
  formatting:  both are now right-aligned by default.
........

15 years agoMerged revisions 74708 via svnmerge from
Mark Dickinson [Tue, 8 Sep 2009 19:22:18 +0000 (19:22 +0000)]
Merged revisions 74708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines

  #Issue 6795:  Fix infinite recursion in long(Decimal('nan'));  change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext.
........

15 years agoUnblocked revisions 74708 via svnmerge
Mark Dickinson [Tue, 8 Sep 2009 19:20:53 +0000 (19:20 +0000)]
Unblocked revisions 74708 via svnmerge

........
  r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines

  #Issue 6795:  Fix infinite recursion in long(Decimal('nan'));  change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext.
........

15 years agoMerged revisions 74701 via svnmerge from
Ronald Oussoren [Tue, 8 Sep 2009 07:10:07 +0000 (07:10 +0000)]
Merged revisions 74701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74701 | ronald.oussoren | 2009-09-07 08:12:00 +0200 (Mon, 07 Sep 2009) | 2 lines

  Fix typo in configure.in
........

15 years agoBlocked revisions 74708 via svnmerge
Mark Dickinson [Mon, 7 Sep 2009 18:09:46 +0000 (18:09 +0000)]
Blocked revisions 74708 via svnmerge

........
  r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines

  #Issue 6795:  Fix infinite recursion in long(Decimal('nan'));  change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext.
........

15 years agoMerged revisions 74704 via svnmerge from
Mark Dickinson [Mon, 7 Sep 2009 16:19:35 +0000 (16:19 +0000)]
Merged revisions 74704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74704 | mark.dickinson | 2009-09-07 17:17:41 +0100 (Mon, 07 Sep 2009) | 3 lines

  Issue #6850: Fix bug in Decimal._parse_format_specifier for formats
  with no type specifier.
........

15 years agoMerged revisions 74693 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 21:23:05 +0000 (21:23 +0000)]
Merged revisions 74693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74693 | mark.dickinson | 2009-09-06 22:21:05 +0100 (Sun, 06 Sep 2009) | 2 lines

  Issue #6848:  Fix curses module build failure on OS X 10.6.
........

15 years agoMerged revisions 74689 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 20:52:43 +0000 (20:52 +0000)]
Merged revisions 74689 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74689 | mark.dickinson | 2009-09-06 21:51:37 +0100 (Sun, 06 Sep 2009) | 1 line

  Remove redundant assignment
........

15 years agobroken minimal merge...
Ronald Oussoren [Sun, 6 Sep 2009 13:07:26 +0000 (13:07 +0000)]
broken minimal merge...

15 years agoMerged revisions 74684 via svnmerge from
Ronald Oussoren [Sun, 6 Sep 2009 12:26:54 +0000 (12:26 +0000)]
Merged revisions 74684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74684 | ronald.oussoren | 2009-09-06 14:23:18 +0200 (Sun, 06 Sep 2009) | 2 lines

  Fix for issue 4937
........

15 years agoMerged revisions 74672 via svnmerge from
Ronald Oussoren [Sun, 6 Sep 2009 10:54:28 +0000 (10:54 +0000)]
Merged revisions 74672 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line

  Fix build issues on OSX 10.6 (issue 6802)
........

15 years agoMerged revisions 74677 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 10:33:12 +0000 (10:33 +0000)]
Merged revisions 74677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74677 | mark.dickinson | 2009-09-06 11:32:21 +0100 (Sun, 06 Sep 2009) | 1 line

  Issue #6847: s/bytes/bytearray/ in some bytearray error messages.  Thanks Hagen Fürstenau.
........

15 years agoMerged revisions 74673 via svnmerge from
Mark Dickinson [Sun, 6 Sep 2009 10:05:28 +0000 (10:05 +0000)]
Merged revisions 74673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74673 | mark.dickinson | 2009-09-06 11:03:31 +0100 (Sun, 06 Sep 2009) | 3 lines

  Issue #6846: bytearray.pop was returning ints in the range [-128, 128)
  instead of [0, 256).  Thanks Hagen Fürstenau for the report and fix.
........

15 years agoBlocked revisions 74667 via svnmerge
Mark Dickinson [Sat, 5 Sep 2009 10:28:04 +0000 (10:28 +0000)]
Blocked revisions 74667 via svnmerge

........
  r74667 | mark.dickinson | 2009-09-05 11:27:00 +0100 (Sat, 05 Sep 2009) | 2 lines

  Add configure-time checks for gamma and error functions.
........

15 years agoRecorded merge of revisions 74655-74656 via svnmerge from
Georg Brandl [Fri, 4 Sep 2009 17:13:30 +0000 (17:13 +0000)]
Recorded merge of revisions 74655-74656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74655 | chris.withers | 2009-09-04 18:12:32 +0200 (Fr, 04 Sep 2009) | 2 lines

  Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.
........
  r74656 | chris.withers | 2009-09-04 18:32:22 +0200 (Fr, 04 Sep 2009) | 1 line

  news entry matching r74655
........

15 years agoFixes issue #6838: use a list to accumulate the value instead of repeatedly concatena...
Chris Withers [Fri, 4 Sep 2009 16:51:16 +0000 (16:51 +0000)]
Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.

15 years agoBlocked revisions 74604 via svnmerge
Mark Dickinson [Mon, 31 Aug 2009 15:01:17 +0000 (15:01 +0000)]
Blocked revisions 74604 via svnmerge

........
  r74604 | mark.dickinson | 2009-08-31 15:46:07 +0100 (Mon, 31 Aug 2009) | 1 line

  Issue #6297: Add autogenerated Misc/python.pc file to make distclean target.  Thanks Jerry Chen.
........

15 years agoMerged revisions 74590 via svnmerge from
Georg Brandl [Sun, 30 Aug 2009 21:06:47 +0000 (21:06 +0000)]
Merged revisions 74590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74590 | georg.brandl | 2009-08-30 11:51:53 +0000 (So, 30 Aug 2009) | 1 line

  #6801: fix copy-paste oversight.
........

15 years agoMerged revisions 74578 via svnmerge from
Tarek Ziadé [Sat, 29 Aug 2009 13:37:34 +0000 (13:37 +0000)]
Merged revisions 74578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sat, 29 Aug 2009) | 1 line

  fixed #6801: symmetric_difference_update also accepts pipe
........

15 years agoMerged revisions 74575 via svnmerge from
Mark Dickinson [Fri, 28 Aug 2009 20:57:42 +0000 (20:57 +0000)]
Merged revisions 74575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74575 | mark.dickinson | 2009-08-28 21:46:24 +0100 (Fri, 28 Aug 2009) | 1 line

  Silence gcc 'comparison always false' warning
........

15 years agoBlocked revisions 74571 via svnmerge
Lars Gustäbel [Fri, 28 Aug 2009 19:28:39 +0000 (19:28 +0000)]
Blocked revisions 74571 via svnmerge

........
  r74571 | lars.gustaebel | 2009-08-28 21:23:44 +0200 (Fri, 28 Aug 2009) | 7 lines

  Issue #6054: Do not normalize stored pathnames.

  No longer use tarfile.normpath() on pathnames. Store pathnames
  unchanged, i.e. do not remove "./", "../" and "//" occurrences.
  However, still convert absolute to relative paths.
........

15 years agoMerged revisions 74564 via svnmerge from
Mark Dickinson [Fri, 28 Aug 2009 13:35:02 +0000 (13:35 +0000)]
Merged revisions 74564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines

  Issue #6794:  Fix handling of NaNs in Decimal.compare_total and
  Decimal.compare_total_mag.
........

15 years agoBlocked revisions 74537 via svnmerge
Tarek Ziadé [Fri, 21 Aug 2009 14:32:28 +0000 (14:32 +0000)]
Blocked revisions 74537 via svnmerge

........
  r74537 | tarek.ziade | 2009-08-21 16:28:38 +0200 (Fri, 21 Aug 2009) | 1 line

  fixed misplaced Issue line
........

15 years agofixed misplaced Issue
Tarek Ziadé [Fri, 21 Aug 2009 14:30:02 +0000 (14:30 +0000)]
fixed misplaced Issue

15 years agoMerged revisions 74533 via svnmerge from
Tarek Ziadé [Fri, 21 Aug 2009 14:14:55 +0000 (14:14 +0000)]
Merged revisions 74533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line

  Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows
........

15 years agoBlocked revisions 74526 via svnmerge
Tarek Ziadé [Thu, 20 Aug 2009 21:24:29 +0000 (21:24 +0000)]
Blocked revisions 74526 via svnmerge

........
  r74526 | tarek.ziade | 2009-08-20 23:23:13 +0200 (Thu, 20 Aug 2009) | 1 line

  #6693: New functions in site.py to get user/global site packages paths.
........

15 years agomissing module ref (issue6723)
Skip Montanaro [Tue, 18 Aug 2009 14:38:02 +0000 (14:38 +0000)]
missing module ref (issue6723)

15 years agoBlocked revisions 74503 via svnmerge
Tarek Ziadé [Tue, 18 Aug 2009 08:24:48 +0000 (08:24 +0000)]
Blocked revisions 74503 via svnmerge

........
  r74503 | tarek.ziade | 2009-08-18 10:21:49 +0200 (Tue, 18 Aug 2009) | 1 line

  fixed typo
........

15 years agoBlocked revisions 74501 via svnmerge
Tarek Ziadé [Tue, 18 Aug 2009 08:18:11 +0000 (08:18 +0000)]
Blocked revisions 74501 via svnmerge

........
  r74501 | tarek.ziade | 2009-08-18 10:16:33 +0200 (Tue, 18 Aug 2009) | 1 line

  added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed
........

15 years agoBlocked revisions 74495 via svnmerge
Tarek Ziadé [Mon, 17 Aug 2009 21:52:43 +0000 (21:52 +0000)]
Blocked revisions 74495 via svnmerge

........
  r74495 | tarek.ziade | 2009-08-17 23:48:22 +0200 (Mon, 17 Aug 2009) | 1 line

  module cleanup
........

15 years agoBlocked revisions 74493 via svnmerge
Tarek Ziadé [Mon, 17 Aug 2009 21:51:56 +0000 (21:51 +0000)]
Blocked revisions 74493 via svnmerge

........
  r74493 | tarek.ziade | 2009-08-17 23:28:34 +0200 (Mon, 17 Aug 2009) | 1 line

  fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore
........

15 years agoFixing Issue6557. urllib.urlopen will quote the space character within urls.
Senthil Kumaran [Sat, 15 Aug 2009 17:49:55 +0000 (17:49 +0000)]
Fixing Issue6557. urllib.urlopen will quote the space character within urls.

15 years agoMerged revisions 74457 via svnmerge from
Benjamin Peterson [Sat, 15 Aug 2009 13:18:47 +0000 (13:18 +0000)]
Merged revisions 74457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line

  #6707 fix a crash with dir() on an uninitialized module
........

15 years agoMerged revisions 73145 via svnmerge from
Gregory P. Smith [Sat, 15 Aug 2009 06:40:49 +0000 (06:40 +0000)]
Merged revisions 73145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73145 | kristjan.jonsson | 2009-06-02 06:14:08 -0700 (Tue, 02 Jun 2009) | 2 lines

  http://bugs.python.org/issue6117
  Fix O(n**2) performance problem in socket._fileobject
........

15 years agoRecorded merge of revisions 74429 via svnmerge from
Nick Coghlan [Fri, 14 Aug 2009 07:49:48 +0000 (07:49 +0000)]
Recorded merge of revisions 74429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74429 | brett.cannon | 2009-08-14 05:27:12 +1000 (Fri, 14 Aug 2009) | 5 lines

  Expat could crash if given the wrong kind of input by never stopping its
  tokenizing step.

  Thanks to Ivan Krstić for the patch.
........

15 years agoBackport of r74429. Not merged/blocked as svnmerge.py is giving me an error and
Brett Cannon [Thu, 13 Aug 2009 19:45:44 +0000 (19:45 +0000)]
Backport of r74429. Not merged/blocked as svnmerge.py is giving me an error and
I don't want to accidentally check in busted svnmerge metadata.

15 years agoBlocked revisions 74336 via svnmerge
Antoine Pitrou [Thu, 6 Aug 2009 20:18:58 +0000 (20:18 +0000)]
Blocked revisions 74336 via svnmerge

........
  r74336 | antoine.pitrou | 2009-08-06 22:18:29 +0200 (jeu., 06 août 2009) | 8 lines

  Issue #6629: Fix a data corruption issue in the new `io` package, which could
  occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
  "wb+" mode) after having buffered a certain amount of data for reading. This
  bug was not present in the pure Python implementation.

  Yes, this is a serious issue.
........

15 years agoMerged revisions 74328 via svnmerge from
Georg Brandl [Thu, 6 Aug 2009 15:08:32 +0000 (15:08 +0000)]
Merged revisions 74328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74328 | georg.brandl | 2009-08-06 17:06:25 +0200 (Do, 06 Aug 2009) | 1 line

  Fix base keyword arg name for int() and long().
........

15 years agoMerge fix for 4660 back to 26 maint
Jesse Noller [Thu, 6 Aug 2009 02:08:10 +0000 (02:08 +0000)]
Merge fix for 4660 back to 26 maint

15 years agoBlocked revisions 74312 via svnmerge
Mark Dickinson [Tue, 4 Aug 2009 21:58:33 +0000 (21:58 +0000)]
Blocked revisions 74312 via svnmerge

........
  r74312 | mark.dickinson | 2009-08-04 22:56:04 +0100 (Tue, 04 Aug 2009) | 4 lines

  Issue #6620: Slightly safer code for _grouping_intervals in the locale
  module.  Fixes a 'possible use before assignment' warning from pylint.
  Thanks Vincent Legoll.
........

15 years agoMerged revisions 74307 via svnmerge from
Georg Brandl [Tue, 4 Aug 2009 20:24:30 +0000 (20:24 +0000)]
Merged revisions 74307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74307 | georg.brandl | 2009-08-04 22:22:43 +0200 (Di, 04 Aug 2009) | 1 line

  Add donation link to docs footer.
........

15 years agoMerged revisions 74303 via svnmerge from
Mark Dickinson [Tue, 4 Aug 2009 19:24:16 +0000 (19:24 +0000)]
Merged revisions 74303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74303 | mark.dickinson | 2009-08-04 20:22:35 +0100 (Tue, 04 Aug 2009) | 2 lines

  Issue #6644:  Fix compile error on AIX.
........

15 years agoIssue 6637: defaultdict.copy() failed with an empty factory.
Raymond Hettinger [Tue, 4 Aug 2009 18:49:26 +0000 (18:49 +0000)]
Issue 6637: defaultdict.copy() failed with an empty factory.

15 years agoMerged revisions 74291 via svnmerge from
Frank Wierzbicki [Sun, 2 Aug 2009 22:05:54 +0000 (22:05 +0000)]
Merged revisions 74291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74291 | frank.wierzbicki | 2009-08-02 16:37:48 -0400 (Sun, 02 Aug 2009) | 6 lines

  Adding tests derived from the Jython project.  These are primarily tests of
  'single' statements with partial sentences (so they test things like "try:" in
  interactive mode).  Others tests hit areas that previously failed in Jython. A
  couple still fail in Jython, mainly due to the difficulty of parsing partial
  sentences (but should be fixed by Jython 2.6).
........

15 years agoMerged revisions 74285 via svnmerge from
Mark Dickinson [Sun, 2 Aug 2009 15:41:08 +0000 (15:41 +0000)]
Merged revisions 74285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74285 | mark.dickinson | 2009-08-02 16:40:11 +0100 (Sun, 02 Aug 2009) | 3 lines

  Issue #6619:  Remove duplicate 'isgenerator' function from inspect module.
  Thanks Vincent Legoll.
........

15 years agoMerged revisions 74281 via svnmerge from
Mark Dickinson [Sun, 2 Aug 2009 11:01:01 +0000 (11:01 +0000)]
Merged revisions 74281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines

  Issue #6595: Allow Decimal constructor to accept non-European decimal
  digits, as recommended by the specification.  (Backport of r74279 from
  py3k.)
........

15 years agoFix typo (already fixed in 2.7).
Raymond Hettinger [Fri, 31 Jul 2009 20:21:08 +0000 (20:21 +0000)]
Fix typo (already fixed in 2.7).

15 years agoBlocked revisions 74269 via svnmerge
Eric Smith [Thu, 30 Jul 2009 13:41:41 +0000 (13:41 +0000)]
Blocked revisions 74269 via svnmerge

........
  r74269 | eric.smith | 2009-07-30 09:39:44 -0400 (Thu, 30 Jul 2009) | 1 line

  Issue 6330: Fix --enable-unicode=ucs4.
........

15 years agoBlocked revisions 74265 via svnmerge
Mark Dickinson [Thu, 30 Jul 2009 10:00:52 +0000 (10:00 +0000)]
Blocked revisions 74265 via svnmerge

........
  r74265 | mark.dickinson | 2009-07-30 11:00:10 +0100 (Thu, 30 Jul 2009) | 1 line

  Documentation fix for change introduced in r71832
........

15 years agoRecorded merge of revisions 74228 via svnmerge from
R. David Murray [Wed, 29 Jul 2009 14:09:03 +0000 (14:09 +0000)]
Recorded merge of revisions 74228 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Merged in r74229.

........
  r74228 | raymond.hettinger | 2009-07-27 16:32:04 -0400 (Mon, 27 Jul 2009) | 1 line

  Issue 6573: Fix set.union() for cases where self is in the argument chain.
........

15 years agoBlocked revisions 74240 via svnmerge
Mark Dickinson [Tue, 28 Jul 2009 20:35:55 +0000 (20:35 +0000)]
Blocked revisions 74240 via svnmerge

........
  r74240 | mark.dickinson | 2009-07-28 21:35:03 +0100 (Tue, 28 Jul 2009) | 4 lines

  Issue #6561: '\d' regular expression should not match characters of
  category [No]; only those of category [Nd].  (Backport of r74237
  from py3k.)
........

15 years agoMerged revisions 74234 via svnmerge from
Mark Dickinson [Tue, 28 Jul 2009 16:46:13 +0000 (16:46 +0000)]
Merged revisions 74234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74234 | mark.dickinson | 2009-07-28 17:45:13 +0100 (Tue, 28 Jul 2009) | 1 line

  Remove leading blank line from cmath.rst
........

15 years agoMerged revisions 74184,74230 via svnmerge from
Mark Dickinson [Tue, 28 Jul 2009 16:15:25 +0000 (16:15 +0000)]
Merged revisions 74184,74230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74184 | georg.brandl | 2009-07-23 08:08:58 +0100 (Thu, 23 Jul 2009) | 1 line

  #6548: dont suggest existence of real and imag functions in cmath.
........
  r74230 | mark.dickinson | 2009-07-28 17:12:40 +0100 (Tue, 28 Jul 2009) | 4 lines

  Issue #6458: Reorganize cmath documentation into sections (similar to
  the way that the math documentation is organized); clarify section on
  conversions to and from polar coordinates.
........

15 years agoIssue 6573: Fix set.union() for cases where self is in the argument chain.
Raymond Hettinger [Mon, 27 Jul 2009 20:33:25 +0000 (20:33 +0000)]
Issue 6573: Fix set.union() for cases where self is in the argument chain.

15 years agoBlocked revisions 74219 via svnmerge
Eric Smith [Mon, 27 Jul 2009 01:59:02 +0000 (01:59 +0000)]
Blocked revisions 74219 via svnmerge

........
  r74219 | eric.smith | 2009-07-26 21:58:25 -0400 (Sun, 26 Jul 2009) | 1 line

  Sync trunk and py3k versions of string formatting. Will manually merge into py3k.
........

15 years agoRemove unittest.SkipTest from backport of test for issue 6542.
R. David Murray [Mon, 27 Jul 2009 01:14:38 +0000 (01:14 +0000)]
Remove unittest.SkipTest from backport of test for issue 6542.

15 years agoIssue 6581. Michael Foord
Michael Foord [Sun, 26 Jul 2009 21:11:42 +0000 (21:11 +0000)]
Issue 6581. Michael Foord

15 years agoBackporting the changes made in revision 72880 as fix for Issue1424152.
Senthil Kumaran [Sun, 26 Jul 2009 12:36:08 +0000 (12:36 +0000)]
Backporting the changes made in revision 72880 as fix for Issue1424152.

15 years agoMerged revisions 74189 via svnmerge from
Amaury Forgeot d'Arc [Thu, 23 Jul 2009 22:31:47 +0000 (22:31 +0000)]
Merged revisions 74189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines

  #6553: crash in cPickle.load(), when given a StringIO with incomplete data.

  Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
........

15 years agoMerged revisions 74175 via svnmerge from
R. David Murray [Wed, 22 Jul 2009 17:37:11 +0000 (17:37 +0000)]
Merged revisions 74175 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74175 | r.david.murray | 2009-07-22 13:22:58 -0400 (Wed, 22 Jul 2009) | 4 lines

  Backport of fix for issue 6542: make sure
  test_os.TestInvalidFD.test_closerange does not close any
  valid file descriptors.
........

15 years agoMerged revisions 74167 via svnmerge from
Georg Brandl [Wed, 22 Jul 2009 12:03:09 +0000 (12:03 +0000)]
Merged revisions 74167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74167 | georg.brandl | 2009-07-22 13:57:15 +0200 (Mi, 22 Jul 2009) | 1 line

  Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
........

15 years agoBlocked revisions 74163 via svnmerge
Tarek Ziadé [Wed, 22 Jul 2009 09:04:17 +0000 (09:04 +0000)]
Blocked revisions 74163 via svnmerge

........
  r74163 | tarek.ziade | 2009-07-22 10:55:19 +0200 (Wed, 22 Jul 2009) | 1 line

  Issue #6545: Removed assert statements in distutils.Extension, so the behavior is similar when used with -O
........

15 years agoBlocked revisions 71041 via svnmerge
R. David Murray [Tue, 21 Jul 2009 17:06:28 +0000 (17:06 +0000)]
Blocked revisions 71041 via svnmerge

........
  r71041 | jesse.noller | 2009-04-02 01:17:26 -0400 (Thu, 02 Apr 2009) | 1 line

  Add custom initializer argument to multiprocess.Manager*, courtesy of lekma
........

15 years agoMerged revisions 73708,73738 via svnmerge from
R. David Murray [Tue, 21 Jul 2009 17:02:14 +0000 (17:02 +0000)]
Merged revisions 73708,73738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line

  Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
........
  r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines

  Make punctuation prettier and break up run-on sentence.
........

15 years agoMerged revisions 73706 via svnmerge from
R. David Murray [Tue, 21 Jul 2009 14:37:38 +0000 (14:37 +0000)]
Merged revisions 73706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73706 | georg.brandl | 2009-06-30 12:18:55 -0400 (Tue, 30 Jun 2009) | 1 line

  #6384: Add a heading for the exception hierarchy.
........

15 years agoMerged revisions 73778 via svnmerge from
R. David Murray [Tue, 21 Jul 2009 14:23:11 +0000 (14:23 +0000)]
Merged revisions 73778 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73778 | r.david.murray | 2009-07-02 14:19:20 -0400 (Thu, 02 Jul 2009) | 3 lines

  Issue 6389: add documentation for the 'mode' flags defined in the
  stat module.
........

15 years agoMerged revisions 74111 via svnmerge from
Benjamin Peterson [Mon, 20 Jul 2009 13:33:05 +0000 (13:33 +0000)]
Merged revisions 74111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74111 | benjamin.peterson | 2009-07-20 08:30:10 -0500 (Mon, 20 Jul 2009) | 1 line

  remove docs for deprecated -p option
........

15 years agoFix for issue5102, timeout value propages between redirects, proxy, digest and
Senthil Kumaran [Sun, 19 Jul 2009 04:20:46 +0000 (04:20 +0000)]
Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.

15 years agoassertRaises can't be used as a context manager in 2.6.
Hirokazu Yamamoto [Sun, 19 Jul 2009 03:39:54 +0000 (03:39 +0000)]
assertRaises can't be used as a context manager in 2.6.

15 years agoMerged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from
R. David Murray [Sun, 19 Jul 2009 01:44:23 +0000 (01:44 +0000)]
Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73870 | r.david.murray | 2009-07-06 21:06:13 -0400 (Mon, 06 Jul 2009) | 5 lines

  Issue 6070: when creating a compiled file, after copying the mode bits, on
  posix zap the execute bit in case it was set on the .py file, since the
  compiled files are not directly executable on posix.  Patch by Marco N.
........
  r73879 | r.david.murray | 2009-07-07 05:54:16 -0400 (Tue, 07 Jul 2009) | 3 lines

  Update issue 6070 patch to match the patch that was actually tested
  on Windows.
........
  r73899 | r.david.murray | 2009-07-08 21:43:41 -0400 (Wed, 08 Jul 2009) | 3 lines

  Conditionalize test cleanup code to eliminate traceback, which will
  hopefully reveal the real problem.
........
  r73900 | r.david.murray | 2009-07-08 22:06:17 -0400 (Wed, 08 Jul 2009) | 2 lines

  Make test work with -O.
........
  r73905 | r.david.murray | 2009-07-09 09:55:44 -0400 (Thu, 09 Jul 2009) | 3 lines

  Specify umask in execute bit test to get consistent results
  and make sure we test resetting all three execute bits.
........
  r73906 | r.david.murray | 2009-07-09 11:35:33 -0400 (Thu, 09 Jul 2009) | 5 lines

  Curdir needs to be in the path for the test to work on all buildbots.
  (I copied this from another import test, but currently this will fail if
  TESTFN ends up in /tmp...see issue 2609).
........

15 years agoBlocked revisions 74080 via svnmerge
Mark Dickinson [Sat, 18 Jul 2009 15:19:06 +0000 (15:19 +0000)]
Blocked revisions 74080 via svnmerge

........
  r74080 | mark.dickinson | 2009-07-18 16:18:18 +0100 (Sat, 18 Jul 2009) | 3 lines

  Issue #6431:  Fix Fraction comparisons with unknown types, and with
  float infinities and nans.  Backport of r74078 from py3k.
........

15 years agoMerged revisions 74040,74042 via svnmerge from
Hirokazu Yamamoto [Fri, 17 Jul 2009 06:33:03 +0000 (06:33 +0000)]
Merged revisions 74040,74042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line

  Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
........
  r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line

  NEWS about r74040.
........

15 years agoBlocked revisions 74024 via svnmerge
Tarek Ziadé [Thu, 16 Jul 2009 15:39:24 +0000 (15:39 +0000)]
Blocked revisions 74024 via svnmerge

........
  r74024 | tarek.ziade | 2009-07-16 17:35:45 +0200 (Thu, 16 Jul 2009) | 1 line

  #6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions)
........

15 years agoMove initialising unittest.TestProgram.testRunner into runTests. Issue 6418.
Michael Foord [Mon, 13 Jul 2009 16:32:47 +0000 (16:32 +0000)]
Move initialising unittest.TestProgram.testRunner into runTests. Issue 6418.

15 years agoMerged revisions 73970 via svnmerge from
Hirokazu Yamamoto [Sun, 12 Jul 2009 02:09:25 +0000 (02:09 +0000)]
Merged revisions 73970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73970 | hirokazu.yamamoto | 2009-07-12 11:04:47 +0900 | 1 line

  Fixed distutils test.
........

15 years agoMerged revisions 73954 via svnmerge from
Tarek Ziadé [Sat, 11 Jul 2009 17:22:14 +0000 (17:22 +0000)]
Merged revisions 73954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73954 | tarek.ziade | 2009-07-11 19:21:00 +0200 (Sat, 11 Jul 2009) | 1 line

  reverted changes for #6459 (doesn't apply on 2.x)
........

15 years agoMerged revisions 73952 via svnmerge from
Amaury Forgeot d'Arc [Sat, 11 Jul 2009 14:37:20 +0000 (14:37 +0000)]
Merged revisions 73952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines

  #2622 Import errors in email.message, from a py2app standalone application.

  Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
........

15 years agoMerged revisions 73946 via svnmerge from
Tarek Ziadé [Sat, 11 Jul 2009 10:57:49 +0000 (10:57 +0000)]
Merged revisions 73946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line

  fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
........

15 years agoBlocked revisions 73925-73926 via svnmerge
Tarek Ziadé [Fri, 10 Jul 2009 10:01:19 +0000 (10:01 +0000)]
Blocked revisions 73925-73926 via svnmerge

........
  r73925 | tarek.ziade | 2009-07-10 11:57:15 +0200 (Fri, 10 Jul 2009) | 1 line

  Added test coverage for distutils.command.build
........
  r73926 | tarek.ziade | 2009-07-10 12:00:21 +0200 (Fri, 10 Jul 2009) | 1 line

  cleaned up distutils.command.build
........

15 years agoMerged revisions 73921 via svnmerge from
Tarek Ziadé [Fri, 10 Jul 2009 09:13:17 +0000 (09:13 +0000)]
Merged revisions 73921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line

  Fixed #6455 (the test shall use pyd files under win32, rather than so files)
........

15 years agoMerged revisions 73907-73908 via svnmerge from
R. David Murray [Thu, 9 Jul 2009 20:13:41 +0000 (20:13 +0000)]
Merged revisions 73907-73908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........
  r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines

  Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
  cleanup.  If this fix works, it means that Solaris is unique among
  our platforms in what happens when shutil.rmtree is called on the
  current working directory (ie: it doesn't work on Solaris, but
  it does everywhere else).
........

15 years agoUnblocked revisions 73907 via svnmerge
R. David Murray [Thu, 9 Jul 2009 20:04:49 +0000 (20:04 +0000)]
Unblocked revisions 73907 via svnmerge

........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........

15 years agoBlocked revisions 73907 via svnmerge
R. David Murray [Thu, 9 Jul 2009 19:49:10 +0000 (19:49 +0000)]
Blocked revisions 73907 via svnmerge

........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........

15 years agoBlocked revisions 73901 via svnmerge
Tarek Ziadé [Thu, 9 Jul 2009 07:44:25 +0000 (07:44 +0000)]
Blocked revisions 73901 via svnmerge

........
  r73901 | tarek.ziade | 2009-07-09 09:42:42 +0200 (Thu, 09 Jul 2009) | 1 line

  PendingDeprecationWarning -> DeprecationWarning in build_ext
........