Commit Graph

36997 Commits

Author SHA1 Message Date
Georg Brandl 3ccb787241 Merged revisions 64446,64490,64495,64526,64567 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64446 | facundo.batista | 2008-06-21 19:43:56 +0200 (Sat, 21 Jun 2008) | 4 lines


  Fixed issue #2888. Now the behaviour of pprint when working with nested
  structures follows the common sense (and works like in 2.5 and 3.0).
........
  r64490 | thomas.heller | 2008-06-23 21:51:41 +0200 (Mon, 23 Jun 2008) | 1 line

  Include debug info when assembling win64.asm in a debug build.
........
  r64495 | benjamin.peterson | 2008-06-24 04:41:08 +0200 (Tue, 24 Jun 2008) | 1 line

  minor fix
........
  r64526 | mark.dickinson | 2008-06-25 17:29:32 +0200 (Wed, 25 Jun 2008) | 2 lines

  issue #3199: Fix typo in Mac/Makefile.in
........
  r64567 | mark.dickinson | 2008-06-28 00:20:14 +0200 (Sat, 28 Jun 2008) | 3 lines

  Fix typo in configure.in, and propagate configure.in changes from r64002
  to configure and pyconfig.h.in.
........
2008-07-16 03:00:45 +00:00
Georg Brandl b6531d26d7 Blocked revisions 64453,64471,64489,64527,64535,64554,64595,64702 via svnmerge
........
  r64453 | andrew.kuchling | 2008-06-22 15:39:11 +0200 (Sun, 22 Jun 2008) | 1 line

  Wording fix
........
  r64471 | facundo.batista | 2008-06-23 01:19:14 +0200 (Mon, 23 Jun 2008) | 5 lines


  Fixing the problem stated in issue 2702 with the patch submitted
  in the issue 3165. Now cPickle does not fails with uncontrolled
  behaviour when pickling into a very deep nested structure.
........
  r64489 | thomas.heller | 2008-06-23 16:49:56 +0200 (Mon, 23 Jun 2008) | 2 lines

  Fix compilation on Windows.
........
  r64527 | facundo.batista | 2008-06-25 21:24:53 +0200 (Wed, 25 Jun 2008) | 9 lines


  Reverting the patch from #3165, as it broke other
  behaviours. I left the original test commented out (note
  that that test came from #2702, which seems to have a
  problem in FreeBSD and Windows, but not in Linux).

  I included a new test, to watch over the now-broken
  behaviour, I took it from #3179.
........
  r64535 | georg.brandl | 2008-06-26 20:55:37 +0200 (Thu, 26 Jun 2008) | 2 lines

  Add a version tag for shutdown().
........
  r64554 | trent.nelson | 2008-06-27 04:24:49 +0200 (Fri, 27 Jun 2008) | 3 lines

  Initialized merge tracking via "svnmerge" with revisions "1-64347" from
  svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........
  r64595 | facundo.batista | 2008-06-30 03:10:55 +0200 (Mon, 30 Jun 2008) | 3 lines


  Fix #2702, with a correct accounting of recursion.
........
  r64702 | georg.brandl | 2008-07-04 19:22:53 +0200 (Fri, 04 Jul 2008) | 2 lines

  Give the pickle special methods a signature.
........
2008-07-16 02:55:36 +00:00
Georg Brandl 250bc267d0 Blocked revisions 64438-64439,64516 via svnmerge
........
  r64438 | raymond.hettinger | 2008-06-21 08:39:53 +0200 (Sat, 21 Jun 2008) | 1 line

  Issue 3008: hex/oct/bin can show floats exactly.
........
  r64439 | hyeshik.chang | 2008-06-21 13:15:30 +0200 (Sat, 21 Jun 2008) | 2 lines

  Fix build on FreeBSD gcc.
........
  r64516 | raymond.hettinger | 2008-06-25 00:46:07 +0200 (Wed, 25 Jun 2008) | 1 line

  Revert 64424, 64438, and 64439.
........
2008-07-16 02:51:06 +00:00
Benjamin Peterson fc576351c0 sys.maxint -> sys.maxsize 2008-07-16 02:39:02 +00:00
Benjamin Peterson 8f95cc2965 update configure again :) 2008-07-16 02:23:25 +00:00
Georg Brandl 1543661815 Blocked revisions 64424 via svnmerge
........
  r64424 | raymond.hettinger | 2008-06-20 06:18:15 +0200 (Fri, 20 Jun 2008) | 1 line

  Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
........
2008-07-16 02:23:21 +00:00
Georg Brandl 93de216a33 Merged revisions 63997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63997 | ronald.oussoren | 2008-06-06 23:31:33 +0200 (Fri, 06 Jun 2008) | 2 lines

  Fix build issue on OSX 10.4
........
2008-07-16 02:21:06 +00:00
Benjamin Peterson 14ae959bb4 update configure 2008-07-16 02:20:15 +00:00
Georg Brandl fcaf910a1f Merged revisions 63955 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63955 | ronald.oussoren | 2008-06-05 14:58:24 +0200 (Thu, 05 Jun 2008) | 20 lines

  MacOS X: Enable 4-way universal builds

  This patch adds a new configure argument on OSX:
          --with-universal-archs=[32-bit|64-bit|all]

  When used with the --enable-universalsdk option this controls which
  CPU architectures are includes in the framework. The default is 32-bit,
  meaning i386 and ppc. The most useful alternative is 'all', which includes
  all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

  This includes limited support for the Carbon bindings in 64-bit mode as well,
  limited because (a) I haven't done extensive testing and (b) a large portion
  of the Carbon API's aren't available in 64-bit mode anyway.

  I've also duplicated a feature of Apple's build of python: setting the
  environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
  extensions using distutils.
........
2008-07-16 02:17:56 +00:00
Georg Brandl 26adf520f3 Merged revisions 63828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63828 | mark.hammond | 2008-05-31 07:11:07 +0200 (Sat, 31 May 2008) | 2 lines

  Fix bdist_wininst --user-access-control for win2k
........
2008-07-16 02:02:25 +00:00
Benjamin Peterson 21967458f0 Blocked revisions 64986 via svnmerge
........
  r64986 | benjamin.peterson | 2008-07-15 19:44:02 -0500 (Tue, 15 Jul 2008) | 1 line

  disable lib2to3 in the trunk. It's broken just for 2.6
........
2008-07-16 00:45:58 +00:00
Eric Smith d68af8f743 Merged revisions 64984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64984 | eric.smith | 2008-07-15 20:11:49 -0400 (Tue, 15 Jul 2008) | 1 line

  Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format().
........
2008-07-16 00:15:35 +00:00
Thomas Heller f70e195927 Merged revisions 64979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64979 | thomas.heller | 2008-07-15 22:18:46 +0200 (Tue, 15 Jul 2008) | 1 line

  Fix test on 64-bit platforms.
........
2008-07-15 20:23:33 +00:00
Thomas Heller 15383a08aa Merged revisions 64976-64977 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64976 | thomas.heller | 2008-07-15 21:39:38 +0200 (Tue, 15 Jul 2008) | 3 lines

  Issue #3313: Contrary to the man page, a failed dlopen() call does not
  always set a dlerror() message.
........
  r64977 | thomas.heller | 2008-07-15 21:44:25 +0200 (Tue, 15 Jul 2008) | 2 lines

  Add Victor Stinner, he provided the patch for issue #3313.
........
2008-07-15 19:46:52 +00:00
Neil Schemenauer a7024e9e84 Fix some broken URLs to GC design discussions. 2008-07-15 19:24:01 +00:00
Thomas Heller 0261e1e73f Merged revisions 64968,64971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64968 | thomas.heller | 2008-07-15 19:03:08 +0200 (Di, 15 Jul 2008) | 4 lines

  Issue #3258: Fix an assertion error (in debug build) and a crash (in
  release build) when the format string of a pointer to an incomplete
  structure is created.
........
  r64971 | thomas.heller | 2008-07-15 19:19:50 +0200 (Di, 15 Jul 2008) | 2 lines

  NEWS entry for #issue 3258.
........
2008-07-15 17:25:07 +00:00
Thomas Heller d88ddfa94a Make these files to compile again under Windows. 2008-07-15 17:14:51 +00:00
Thomas Heller 0d755b4e2b Fix a potential NameError. 2008-07-15 17:14:09 +00:00
Nick Coghlan d1abd25ed8 Manual forward port of 64962 - use PyObject_HashNotImplemented as a tp_hash level indicator that the default hash implementation has not been inherited 2008-07-15 15:46:38 +00:00
Benjamin Peterson e65282114e implement chained exception tracebacks
patch from Antoine Pitrou #3112
2008-07-15 15:32:09 +00:00
Nick Coghlan 9bab65c259 Blocked revisions 64962 via svnmerge
........
  r64962 | nick.coghlan | 2008-07-16 00:27:37 +1000 (Wed, 16 Jul 2008) | 1 line

  Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
........
2008-07-15 14:31:20 +00:00
Eric Smith b1ebcc6b0b Forward port of r64958.
Added '#' formatting to integers.  This adds the 0b, 0o, or 0x prefix for bin, oct, hex.  There's still one failing case, and I need to finish the docs.  I hope to finish those today.
2008-07-15 13:02:41 +00:00
Eric Smith e840b9ad51 Blocked revisions 64958 via svnmerge. Will merge by hand.
........
  r64958 | eric.smith | 2008-07-15 06:10:07 -0400 (Tue, 15 Jul 2008) | 1 line

  Added '#' formatting to integers.  This adds the 0b, 0o, or 0x prefix for bin, oct, hex.  There's still one failing case, and I need to finish the docs.  I hope to finish those today.
........
2008-07-15 10:11:44 +00:00
Benjamin Peterson 06157a4d21 correct docstring 2008-07-15 00:28:36 +00:00
Benjamin Peterson 0034ebb3ca Blocked revisions 64953 via svnmerge
........
  r64953 | benjamin.peterson | 2008-07-14 12:42:17 -0500 (Mon, 14 Jul 2008) | 4 lines

  fix test_py3kwarns

  The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
........
2008-07-14 17:49:43 +00:00
Benjamin Peterson 801844d6fc #2512 implement the 3.0 gettext API
All the u* gettext variants were renamed to their
none u* variants, since there's no point in translating
to byte strings. I also killed off the unicode parameters
for install
2008-07-14 14:32:15 +00:00
Robert Schuppenies fbe94c55ca Merged revisions 64842,64853,64856,64945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64842 | robert.schuppenies | 2008-07-10 15:43:26 +0200 (Thu, 10 Jul 2008) | 2 lines

  Fixed Issue3122 and extended sys.getsizeof tests for built-in types.
........
  r64853 | robert.schuppenies | 2008-07-10 17:24:04 +0200 (Thu, 10 Jul 2008) | 3 lines

  Added additional __sizeof__ implementations and addressed comments made in
  Issue3122.
........
  r64856 | robert.schuppenies | 2008-07-10 19:13:55 +0200 (Thu, 10 Jul 2008) | 3 lines

  Added garbage collector overhead and optional default return value to
  sys.getsizeof.
........
  r64945 | robert.schuppenies | 2008-07-14 10:42:18 +0200 (Mon, 14 Jul 2008) | 2 lines

  Fixed test failure on Win64 machines.
........
2008-07-14 10:13:31 +00:00
Alexandre Vassalotti 3065b87a07 Mention the behaviour of PyFunction_SetAnnotations() on error. 2008-07-13 22:28:42 +00:00
Alexandre Vassalotti b0c81654f7 Added documentation for PyFunction_GetAnnotations() and
PyFunction_SetAnnotations().
2008-07-13 22:26:50 +00:00
Benjamin Peterson 343bca613e Blocked revisions 64930 via svnmerge
........
  r64930 | alexandre.vassalotti | 2008-07-13 16:47:59 -0500 (Sun, 13 Jul 2008) | 3 lines

  Issue #3153: sqlite leaks on error.
  Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
........
2008-07-13 22:19:10 +00:00
Alexandre Vassalotti 1839bac796 Forward port r64930.
Fix one more case in cursor.c.
2008-07-13 21:57:48 +00:00
Alexandre Vassalotti dff1834f45 Fixed _pickle to use Py_EnterRecursiveCall(). 2008-07-13 18:48:30 +00:00
Benjamin Peterson 2bc91df2a3 remove 3.0 conditional 2008-07-13 18:45:30 +00:00
Benjamin Peterson ac623cde2d Blocked revisions 64922 via svnmerge
........
  r64922 | benjamin.peterson | 2008-07-13 13:34:58 -0500 (Sun, 13 Jul 2008) | 1 line

  remove sys.version_info check for 3.0
........
2008-07-13 18:41:02 +00:00
Benjamin Peterson e0c51fbaef Merged revisions 64920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64920 | benjamin.peterson | 2008-07-13 13:25:13 -0500 (Sun, 13 Jul 2008) | 1 line

  remove bytes alias
........
2008-07-13 18:32:09 +00:00
Benjamin Peterson 875d4c099b move test_long_future into test_long 2008-07-13 17:44:16 +00:00
Nick Coghlan 69cec0412c Blocked revisions 64913 via svnmerge
........
  r64913 | nick.coghlan | 2008-07-13 22:36:42 +1000 (Sun, 13 Jul 2008) | 1 line

  Correct a couple of errors in the updated catch_warning documentation (the Py3k version was fixed before being checked in)
........
2008-07-13 12:38:21 +00:00
Nick Coghlan 82801b7fda Blocked revisions 64910 via svnmerge
........
  r64910 | nick.coghlan | 2008-07-13 22:23:47 +1000 (Sun, 13 Jul 2008) | 1 line

  Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
........
2008-07-13 12:29:08 +00:00
Nick Coghlan b130493834 Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for it to test_warnings. (forward port of r64910 from trunk) 2008-07-13 12:25:08 +00:00
Brett Cannon 628b1b3659 Clean up list of undocumented modules as most of them have been removed in Python 3.0. 2008-07-13 01:38:36 +00:00
Brett Cannon 40c8f23a25 Merged revisions 64903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64903 | brett.cannon | 2008-07-12 18:15:07 -0700 (Sat, 12 Jul 2008) | 6 lines

  dummy_thread.acquire() would return None if no waitflag argument was given. It
  should have returned True.

  Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
  for attempting a patch.
........
2008-07-13 01:19:15 +00:00
Benjamin Peterson 91b3d8d547 These revisions were merged manaually:
Blocked revisions 64062,64068-64069,64080 via svnmerge

........
  r64062 | josiah.carlson | 2008-06-10 00:00:08 -0500 (Tue, 10 Jun 2008) | 5 lines

  Applying updated patch from Issue 1736190, which addresses partial
  issues in: 909005 and 17361001, as well as completely as possible issues
  539444, 760475, 777588, 889153, 953599, 1025525, 1063924, and 658749.
  This patch also includes doc and test updates as necessary.
........
  r64068 | benjamin.peterson | 2008-06-10 08:37:13 -0500 (Tue, 10 Jun 2008) | 2 lines

  fix markup
........
  r64069 | georg.brandl | 2008-06-10 08:53:24 -0500 (Tue, 10 Jun 2008) | 2 lines

  more markup fix.
........
  r64080 | josiah.carlson | 2008-06-10 10:58:19 -0500 (Tue, 10 Jun 2008) | 3 lines

  Fixed test to reflect new filedispatcher semantics, as well as two
  NameErrors pointed out by Giampaolo.
........
2008-07-12 21:11:03 +00:00
Benjamin Peterson ad0eacee18 kill off plat-mac 2008-07-12 20:06:53 +00:00
Josiah Carlson 91823c74cc Fixed test for asyncore. 2008-07-11 23:26:37 +00:00
Josiah Carlson c31bc9a498 Fix for AttributeError in test_asynchat. 2008-07-11 22:18:27 +00:00
Brett Cannon 064e4a6c4d Blocked revisions 64865-64866 via svnmerge
........
  r64865 | brett.cannon | 2008-07-10 17:48:57 -0700 (Thu, 10 Jul 2008) | 1 line

  Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
........
  r64866 | brett.cannon | 2008-07-10 17:50:01 -0700 (Thu, 10 Jul 2008) | 1 line

  Fix a minor typo in the last entry made.
........
2008-07-11 00:50:40 +00:00
Brett Cannon 6b52a537d3 Blocked revisions 64861 via svnmerge
........
  r64861 | brett.cannon | 2008-07-10 17:16:30 -0700 (Thu, 10 Jul 2008) | 1 line

  Doc that urlparse is named urllib.parse in Python 3.0.
........
2008-07-11 00:17:07 +00:00
Brett Cannon 28c6802f22 Blocked revisions 64858-64859 via svnmerge
........
  r64858 | brett.cannon | 2008-07-10 17:10:49 -0700 (Thu, 10 Jul 2008) | 2 lines

  Removal an invalid entry as the fixer for urllib is under active development.
........
  r64859 | brett.cannon | 2008-07-10 17:12:52 -0700 (Thu, 10 Jul 2008) | 3 lines

  Document the fact that urllib2 spans multiple modules with new names in Python
  3.0.
........
2008-07-11 00:13:34 +00:00
Nick Coghlan 45da5a0f2f Blocked revisions 64791 via svnmerge
........
  r64791 | nick.coghlan | 2008-07-09 00:08:04 +1000 (Wed, 09 Jul 2008) | 1 line

  Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes
........
2008-07-08 14:12:42 +00:00
Facundo Batista 2ac5de2a56 Issue 3314. The sys module is used in an error case. 2008-07-07 18:24:11 +00:00