Commit Graph

37016 Commits

Author SHA1 Message Date
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
Mark Dickinson 0d748c2fa4 Docstring typo 2008-07-05 11:29:03 +00:00
Amaury Forgeot d'Arc a073e33746 Correct a typo during previous checkin. 2008-07-04 21:34:47 +00:00
Amaury Forgeot d'Arc a4db68622c Issue #3280: like chr() already does, the "%c" format now accepts the full unicode range
even on "narrow Unicode" builds; the result is a pair of UTF-16 surrogates.
2008-07-04 21:26:43 +00:00
Benjamin Peterson 142957ce95 touch up str docstrings #3284 2008-07-04 19:55:29 +00:00
Amaury Forgeot d'Arc a819caadef Correct a test after r64701. 2008-07-04 17:57:09 +00:00
Georg Brandl d52429fb49 Issue #3282: str.isprintable() should return False for undefined Unicode characters. 2008-07-04 15:55:02 +00:00
Georg Brandl 6e7196fb93 Fix committed merge conflict. 2008-07-04 15:45:10 +00:00
Benjamin Peterson e7c78b26c6 remove traces of .next 2008-07-03 20:28:26 +00:00
Benjamin Peterson 69164c77ef document LOAD_BUILD_CLASS 2008-07-03 14:45:20 +00:00
Martin v. Löwis b09b844a5c Merged revisions 64688 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64688 | martin.v.loewis | 2008-07-03 14:51:14 +0200 (Do, 03 Jul 2008) | 9 lines

  Patch #1622: Correct interpretation of various ZIP header fields.

  Also fixes
  - Issue #1526: Allow more than 64k files to be added to Zip64 file.

  - Issue #1746: Correct handling of zipfile archive comments (previously
    archives with comments over 4k were flagged as invalid). Allow writing
    Zip files with archives by setting the 'comment' attribute of a ZipFile.
........
2008-07-03 14:13:42 +00:00
Amaury Forgeot d'Arc 451a356f11 Merged revisions 64685 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64685 | amaury.forgeotdarc | 2008-07-03 01:40:28 +0200 (Thu, 03 Jul 2008) | 3 lines

  Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot:
  the GIL must be re-acquired in the callback function
........
2008-07-02 23:44:19 +00:00
Amaury Forgeot d'Arc 4b02c5a854 Correct a typo that breaks test_distutils 2008-07-02 23:22:30 +00:00
Amaury Forgeot d'Arc 612f61f0f0 Add a NEWS entry for Issue #3247. 2008-07-02 23:02:21 +00:00
Amaury Forgeot d'Arc 87ce6d70ed #3247: get rid of Py_FindMethods
Remove references in documentation;
also rewrite a paragraph that looked off-topic to me.
2008-07-02 22:59:48 +00:00
Amaury Forgeot d'Arc 1f900f1f69 #3247: get rid of Py_FindMethod
Third step: unix-only modules. Really remove the function this time.
2008-07-02 22:38:47 +00:00
Brett Cannon 7c265a1943 Block r64673. 2008-07-02 22:07:22 +00:00
Brett Cannon 1af5a1e468 Merged revisions 64677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64677 | brett.cannon | 2008-07-02 14:52:42 -0700 (Wed, 02 Jul 2008) | 2 lines

  Revert r64673 and instead just change the file encoding.
........
2008-07-02 22:06:12 +00:00
Amaury Forgeot d'Arc 55b69e794c Oops, forgot that there are modules outside the win32 world. 2008-07-02 21:47:18 +00:00
Amaury Forgeot d'Arc ba4105c133 #3247: Get rid of Py_FindMethod:
Second step: keep tp_getattr functions when they are complex,
but use PyObject_GenericGetAttr() as a fallback.

These were the last occurrences of Py_FindMethod.
2008-07-02 21:41:01 +00:00
Amaury Forgeot d'Arc e43d33a4db #3247 Get rid of Py_FindMethod; use tp_members instead.
Otherwise dir(_sre.SRE_Match) returns an empty list.

First step: handle most occurrences, remove tp_getattr and fill the tp_methods and tp_members slots.
Add some test about attribute access.
2008-07-02 20:50:16 +00:00