Commit Graph

37086 Commits

Author SHA1 Message Date
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
Josiah Carlson 9f2f83338f Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768
to the py3k branch.
2008-07-07 05:04:12 +00:00
Josiah Carlson 35bf9bf68c Removed extraneous whitespace. 2008-07-07 04:24:24 +00:00
Josiah Carlson 1893ce7a97 Fixed documentation to be correct for Py3k. 2008-07-07 04:23:14 +00:00
Josiah Carlson d74900ebb5 Committing Py3k version of changelist 64080 and 64257, along with updated tests
for smtpd, which required updating with the new semantics.
2008-07-07 04:15:08 +00:00
Amaury Forgeot d'Arc d51ee54a23 Blocked revisions 64762 via svnmerge
........
  r64762 | amaury.forgeotdarc | 2008-07-06 23:34:39 +0200 (dim., 06 juil. 2008) | 8 lines

  Issue839496: SimpleHTTPServer should open all files in binary mode.

  Forward-port of 38255 (2005/01/15!)
  This was already fixed in 2.4, but never merged into trunk...
  py3k is already right, thanks to the bytes/str distinction!

  Should be backported to 2.5.
........
2008-07-06 21:37:52 +00:00
Benjamin Peterson bfc644bdbe fix no-op in tutorial 2008-07-05 23:39:56 +00:00
Benjamin Peterson 2b968d6187 #3295 actually define PyExc_BufferError 2008-07-05 23:38:30 +00:00
Benjamin Peterson bbea7972a4 make the symlink to Python be created on install for IDLE.app 2008-07-05 22:51:21 +00:00
Benjamin Peterson bebfbe2d11 finish fixing the rlcompleter regression (thanks for noticing Antonine Pitrou) 2008-07-05 21:20:33 +00:00
Benjamin Peterson f385485ec8 fix regression from merge error in rlcompletor 2008-07-05 20:59:18 +00:00
Martin v. Löwis ba32b72be5 Merged revisions 64736-64737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r64736 | martin.v.loewis | 2008-07-05 17:45:45 +0200 (Sa, 05 Jul 2008) | 20 lines

  Merged revisions 64285-64735 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r64493 | benjamin.peterson | 2008-06-24 04:14:14 +0200 (Di, 24 Jun 2008) | 1 line

    add a fix_import mapping for cPickle -> pickle
  ........
    r64651 | brett.cannon | 2008-07-02 04:00:11 +0200 (Mi, 02 Jul 2008) | 3 lines

    Update fix_imports for urllib. Had to change the fixer itself to handle modules
    that are split across several renames in 3.0.
  ........
    r64669 | brett.cannon | 2008-07-02 21:43:48 +0200 (Mi, 02 Jul 2008) | 4 lines

    Backing out last change until fix_imports is working again. Also re-enable the
    testing for fix_imports; if it is deemed that it takes too long to run then a
    random sample should be taken and used to test it.
  ........
................
  r64737 | martin.v.loewis | 2008-07-05 17:48:20 +0200 (Sa, 05 Jul 2008) | 2 lines

  Disable lib2to3 by default, unless run explicitly.
................
2008-07-05 15:55:00 +00:00