Commit Graph

41525 Commits

Author SHA1 Message Date
Mark Dickinson e1698eb5c1 Blocked revisions 75091 via svnmerge
........
  r75091 | mark.dickinson | 2009-09-27 17:39:28 +0100 (Sun, 27 Sep 2009) | 1 line

  Eliminate unnecessary get_wrapped_(u)long defines in struct module.
........
2009-09-27 16:40:34 +00:00
Mark Dickinson a55fe10487 Fix compiler warning about unused function. 2009-09-27 16:32:34 +00:00
Mark Dickinson 66d8ce510a Remove unused variable. 2009-09-27 16:17:37 +00:00
Mark Dickinson 7794da6af0 Blocked revisions 75084 via svnmerge
........
  r75084 | mark.dickinson | 2009-09-27 17:05:21 +0100 (Sun, 27 Sep 2009) | 3 lines

  Issue #6713:  Improve decimal int -> string conversions.  Thanks Gawain
  Bolton for the suggestion and original patches.
........
2009-09-27 16:06:45 +00:00
Mark Dickinson 622e05a064 Silence compiler warning 2009-09-27 15:53:49 +00:00
Ezio Melotti 9ba83c50f4 Merged revisions 75070 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line

  #7000: document "sep" in capwords. Add a few tests
........
2009-09-26 11:23:16 +00:00
Benjamin Peterson 02c0943ea3 Merged revisions 75068 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line

  comment out ugly xxx
........
2009-09-26 03:00:26 +00:00
Ezio Melotti 8159c7aefd Merged revisions 75055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75055 | ezio.melotti | 2009-09-25 19:07:55 +0300 (Fri, 25 Sep 2009) | 1 line

  #6994: fix typo in enumerate docstring
........
2009-09-25 16:10:55 +00:00
Mark Dickinson 98841abfca Merged revisions 75047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75047 | mark.dickinson | 2009-09-24 20:21:07 +0100 (Thu, 24 Sep 2009) | 3 lines

  Issue #6982:  Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
  Thanks egreen.
........
2009-09-24 19:22:45 +00:00
Ezio Melotti c24d035e9b Merged revisions 75039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line

  improved phrasing, markup and example
........
2009-09-23 21:39:50 +00:00
Matthias Klose 2697ff2a87 - Issue #6980: Fix ctypes build failure on armel-linux-gnueabi with
-mfloat-abi=softfp.
2009-09-23 18:33:48 +00:00
Benjamin Peterson 751c203862 Merged revisions 75032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line

  fix typos/rephrase
........
2009-09-22 22:30:03 +00:00
Brett Cannon e0789ac0c9 Merged revisions 75024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line

  Fix a minor doc syntax typo.
........
2009-09-22 20:06:53 +00:00
Ronald Oussoren d787abffc0 Merged revisions 75022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75022 | ronald.oussoren | 2009-09-22 21:27:44 +0200 (Tue, 22 Sep 2009) | 8 lines

  Half of the fix for issue 6957: ensure that distutils
  ignores the '-isysroot' option on OSX when the
  corresponding SDK is not installed.

  This ensures that the user can compile extensions
  on OSX 10.6 using the Python.org installer and a
  default installation of Xcode.
........
2009-09-22 19:31:34 +00:00
Ronald Oussoren 5270fce038 Merged revisions 75017 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75017 | ronald.oussoren | 2009-09-22 16:24:57 +0200 (Tue, 22 Sep 2009) | 4 lines

  The 'Navigation Toolbox' is not available at all for 64-bit
  code, make this explicit in the C code to avoid confusing
  error messages during the build.
........
2009-09-22 14:26:55 +00:00
Antoine Pitrou 5cc3d037bb Merged revisions 75007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75007 | antoine.pitrou | 2009-09-21 23:17:48 +0200 (lun., 21 sept. 2009) | 7 lines

  Issue #6236, #6348: Fix various failures in the io module under AIX
  and other platforms, when using a non-gcc compiler. Patch by egreen.

  In addition, I made explicit the signedness of all bitfields in the
  IO library.
........
2009-09-21 21:36:48 +00:00
Mark Dickinson edc625c316 Blocked revisions 75003 via svnmerge
........
  r75003 | mark.dickinson | 2009-09-21 17:16:44 +0100 (Mon, 21 Sep 2009) | 1 line

  Silence MSVC compiler warnings.
........
2009-09-21 16:17:26 +00:00
Tarek Ziadé be752bd088 Blocked revisions 74997 via svnmerge
........
  r74997 | tarek.ziade | 2009-09-21 15:49:57 +0200 (Mon, 21 Sep 2009) | 1 line

  forgot to commit a file in previous commit (r74994, issue #6954)
........
2009-09-21 13:52:15 +00:00
Tarek Ziadé ba537ddcfa Blocked revisions 74994 via svnmerge
........
  r74994 | tarek.ziade | 2009-09-21 15:41:08 +0200 (Mon, 21 Sep 2009) | 1 line

  #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
........
2009-09-21 13:41:43 +00:00
Tarek Ziadé 2778162837 Blocked revisions 74992 via svnmerge
........
  r74992 | tarek.ziade | 2009-09-21 15:23:35 +0200 (Mon, 21 Sep 2009) | 1 line

  improving distutils coverage
........
2009-09-21 13:24:15 +00:00
Tarek Ziadé a50cfac1f8 Blocked revisions 74988 via svnmerge
........
  r74988 | tarek.ziade | 2009-09-21 14:19:07 +0200 (Mon, 21 Sep 2009) | 1 line

  improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch)
........
2009-09-21 12:20:01 +00:00
Doug Hellmann 0108ed362a Merged revisions 74984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74984 | doug.hellmann | 2009-09-20 16:44:13 -0400 (Sun, 20 Sep 2009) | 2 lines

  Fix markup for external links.
........
2009-09-20 20:55:04 +00:00
Ronald Oussoren 3aeda28b22 Merged revisions 74981 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74981 | ronald.oussoren | 2009-09-20 22:16:11 +0200 (Sun, 20 Sep 2009) | 3 lines

  * Make it easier to build custom installers (such as a 3-way universal build)
  * Upgrade bzip dependency to 1.0.5
........
2009-09-20 20:17:15 +00:00
Ronald Oussoren ba0aa6b544 Merged revisions 74978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74978 | ronald.oussoren | 2009-09-20 22:05:44 +0200 (Sun, 20 Sep 2009) | 2 lines

  Fix typo in error message
........
2009-09-20 20:16:38 +00:00
Ronald Oussoren 02e2021714 r74963 didn't include the merger of _scproxy.c 2009-09-20 19:21:24 +00:00
Ronald Oussoren 139a646fda Backport of r72946. This closes Issue 6100 and 6951 for
the 2.6 branch.
2009-09-20 19:06:58 +00:00
Ronald Oussoren 1d2f713b71 Merged revisions 74972 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74972 | ronald.oussoren | 2009-09-20 20:54:16 +0200 (Sun, 20 Sep 2009) | 5 lines

  Merge a newer version of libffi_osx, based on the
  version of libffi in OSX 10.6.1.

  This fixes issue6918
........
2009-09-20 18:56:49 +00:00
Ronald Oussoren 2b88dd0817 Merged revisions 74966 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74966 | ronald.oussoren | 2009-09-20 13:19:00 +0200 (Sun, 20 Sep 2009) | 2 lines

  For for issue 6934: failures in postflight script in OSX installer
........
2009-09-20 11:19:24 +00:00
Ronald Oussoren 78974dff8f Merged revisions 74964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74964 | ronald.oussoren | 2009-09-20 12:54:07 +0200 (Sun, 20 Sep 2009) | 2 lines

  Followup for r74962
........
2009-09-20 10:54:47 +00:00
Ronald Oussoren 40617a8eae Merged revisions 74962 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74962 | ronald.oussoren | 2009-09-20 12:31:22 +0200 (Sun, 20 Sep 2009) | 2 lines

  Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
........
2009-09-20 10:37:33 +00:00
Ezio Melotti 04606fbcbe Merged revisions 74958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74958 | ezio.melotti | 2009-09-20 10:10:39 +0300 (Sun, 20 Sep 2009) | 1 line

  #6881 - fixed wrong return type; improved the formatting
........
2009-09-20 07:14:47 +00:00
Thomas Heller 7e619c0461 Merged revisions 74948 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74948 | thomas.heller | 2009-09-19 12:04:54 +0200 (Sa, 19 Sep 2009) | 1 line

  Remove unused variable and static function to fix compiler warnings.
........
2009-09-19 10:15:04 +00:00
Tarek Ziadé de2a107200 Fixed #6947 - SO extension varies under windows 2009-09-19 09:58:51 +00:00
Georg Brandl 3ad2847c01 Merged revisions 74943 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74943 | georg.brandl | 2009-09-19 09:35:07 +0200 (Sa, 19 Sep 2009) | 1 line

  #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set.  Also clean up another usage of PyArg_ParseTuple.
........
2009-09-19 07:46:24 +00:00
Mark Dickinson 52197062b0 Blocked revisions 74925 via svnmerge
........
  r74925 | mark.dickinson | 2009-09-18 22:01:50 +0100 (Fri, 18 Sep 2009) | 2 lines

  Use skipUnless to skip math module tests on non-IEEE 754 platforms.
........
2009-09-18 21:02:27 +00:00
Thomas Heller a6683c8de2 Merged revisions 74921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74921 | thomas.heller | 2009-09-18 22:05:44 +0200 (Fr, 18 Sep 2009) | 3 lines

  Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...)
  does now always result in NULL.
........
2009-09-18 20:12:29 +00:00
Thomas Heller 820aefe29d Merged revisions 74917 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74917 | thomas.heller | 2009-09-18 20:55:17 +0200 (Fr, 18 Sep 2009) | 3 lines

  Issue #5042: Structure sub-subclass does now initialize correctly with
  base class positional arguments.
........
2009-09-18 19:32:08 +00:00
Mark Dickinson 25e8dabab2 Blocked revisions 74913 via svnmerge
........
  r74913 | mark.dickinson | 2009-09-18 19:35:42 +0100 (Fri, 18 Sep 2009) | 2 lines

  Add Gawain Bolton to Misc/ACKS for his work on base 10 integer -> string optimizations.
........
2009-09-18 18:37:39 +00:00
Georg Brandl 894dff42db Merged revisions 74903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74903 | georg.brandl | 2009-09-18 11:18:27 +0200 (Fr, 18 Sep 2009) | 1 line

  #6938: "ident" is always a string, so use a format code which works.
........
2009-09-18 09:19:52 +00:00
Georg Brandl 81af174221 Blocked revisions 74901 via svnmerge
........
  r74901 | georg.brandl | 2009-09-18 11:14:52 +0200 (Fr, 18 Sep 2009) | 1 line

  #6905: use better exception messages in inspect when the argument is of the wrong type.
........
2009-09-18 09:15:58 +00:00
Georg Brandl a3594748ab Merged revisions 74621,74823-74824,74868,74877-74878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line

  #6638: fix wrong parameter name and markup a class.
........
  r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove strange trailing commas.
........
  r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line

  #6892: fix optparse example involving help option.
........
  r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines

  String values should be shown with quotes, to avoid confusion with constants.
........
  r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line

  Remove duplicate doc of enable/disable_interspersed_args.
........
  r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line

  Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
........
2009-09-17 22:07:38 +00:00
Georg Brandl 015263339f Merged revisions 74873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line

  #6844 followup: the warning when setting Exception.message was removed, do not test for it.
........
2009-09-17 11:49:20 +00:00
Georg Brandl f7a09bec0a Merged revisions 74869 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74869 | georg.brandl | 2009-09-17 13:28:09 +0200 (Do, 17 Sep 2009) | 4 lines

  Issue #6922: Fix an infinite loop when trying to decode an invalid
  UTF-32 stream with a non-raising error handler like "replace" or "ignore".
........
2009-09-17 11:33:31 +00:00
Mark Dickinson ecc66d848e Blocked revisions 74853 via svnmerge
........
  r74853 | mark.dickinson | 2009-09-16 23:10:56 +0100 (Wed, 16 Sep 2009) | 5 lines

  Issue #6713:  Improve performance of str(n) and repr(n) for integers n
  (up to 3.1 times faster in tests), by special-casing base 10 in
  _PyLong_Format.  (Backport of r74851 from py3k.)
........
2009-09-16 22:13:31 +00:00
Thomas Wouters 1170b998ca Add news entry for r74842. 2009-09-16 20:38:23 +00:00
Georg Brandl 8997103be0 Merged revisions 74845 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74845 | georg.brandl | 2009-09-16 22:30:09 +0200 (Mi, 16 Sep 2009) | 5 lines

  #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.

  This works by always setting it in __dict__, except when it's implicitly set in __init__.
........
2009-09-16 20:34:51 +00:00
Mark Dickinson 6bb97a2ec4 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).
........
2009-09-16 20:29:50 +00:00
Thomas Wouters 448db2155f 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.
........
2009-09-16 20:06:36 +00:00
Ezio Melotti c5a6fd743f 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
........
2009-09-16 13:31:18 +00:00
Ronald Oussoren cba2fd3ac9 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)
........
2009-09-15 19:14:37 +00:00