Commit Graph

37024 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc 6a00b64429 Removed some versionadded tags, and a reference to "long" in a sample 2008-06-17 20:38:00 +00:00
Amaury Forgeot d'Arc fdfe62d887 Merged revisions 64089,64098,64100-64102,64113,64115-64116,64118,64120,64132,64342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64089 | armin.ronacher | 2008-06-10 22:37:02 +0200 (mar., 10 juin 2008) | 3 lines

  Fix a formatting error in the ast documentation.
........
  r64098 | raymond.hettinger | 2008-06-11 02:25:29 +0200 (mer., 11 juin 2008) | 6 lines

  Mini-PEP: Simplifying numbers.py
  * Convert binary methods in Integral to mixin methods
  * Remove three-arg __pow__ as a required method
  * Make __int__ the root method instead of __long__.
........
  r64100 | raymond.hettinger | 2008-06-11 02:28:51 +0200 (mer., 11 juin 2008) | 1 line

  Update numbers doc for the Integral simplification.
........
  r64101 | raymond.hettinger | 2008-06-11 02:44:47 +0200 (mer., 11 juin 2008) | 3 lines

  Handle the case with zero arguments.
........
  r64102 | benjamin.peterson | 2008-06-11 03:31:28 +0200 (mer., 11 juin 2008) | 4 lines

  convert test_struct to a unittest thanks to Giampaolo Rodola
  I had to disable one test because it was functioning incorrectly, see #1530559
  I also removed the debugging prints
........
  r64113 | thomas.heller | 2008-06-11 09:10:43 +0200 (mer., 11 juin 2008) | 2 lines

  Fix markup.
  Document the new 'offset' parameter for the 'ctypes.byref' function.
........
  r64115 | raymond.hettinger | 2008-06-11 12:30:54 +0200 (mer., 11 juin 2008) | 1 line

  Multi-arg form for set.difference() and set.difference_update().
........
  r64116 | raymond.hettinger | 2008-06-11 14:06:49 +0200 (mer., 11 juin 2008) | 1 line

  Issue 3051:  Let heapq work with either __lt__ or __le__.
........
  r64118 | raymond.hettinger | 2008-06-11 14:39:09 +0200 (mer., 11 juin 2008) | 1 line

  Optimize previous checkin for heapq.
........
  r64120 | raymond.hettinger | 2008-06-11 15:14:50 +0200 (mer., 11 juin 2008) | 1 line

  Add test for heapq using both __lt__ and __le__.
........
  r64132 | gregory.p.smith | 2008-06-11 20:00:52 +0200 (mer., 11 juin 2008) | 3 lines

  Correct an incorrect comment about our #include of stddef.h.
  (see Doug Evans' comment on python-dev 2008-06-10)
........
  r64342 | guido.van.rossum | 2008-06-17 19:38:02 +0200 (mar., 17 juin 2008) | 3 lines

  Roll back Raymond's -r64098 while we think of something better.
  (See issue 3056 -- we're close to a resolution but need unittests.)
........
2008-06-17 20:36:03 +00:00
Benjamin Peterson 36817a984c Blocked revisions 64142 via svnmerge
........
  r64142 | georg.brandl | 2008-06-11 13:55:38 -0500 (Wed, 11 Jun 2008) | 2 lines

  Add future_builtins.ascii().
........
2008-06-17 12:53:51 +00:00
Benjamin Peterson b49d994d00 Merged revisions 64326 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64326 | robert.schuppenies | 2008-06-17 03:42:15 -0500 (Tue, 17 Jun 2008) | 2 lines

  Issue 3048: Fixed sys.sizeof test fails with wide unicode.
........
2008-06-17 12:44:04 +00:00
Amaury Forgeot d'Arc bb37ca8967 Blocked revisions 63685,64097,64129 via svnmerge
........
  r63685 | christian.heimes | 2008-05-26 15:51:41 +0200 (lun., 26 mai 2008) | 2 lines

  Used vs9to8.py to port all VS9.0 changes to 8.0
  Updated VS7.1 and VC6 project files
........
  r64097 | benjamin.peterson | 2008-06-11 00:39:25 +0200 (mer., 11 juin 2008) | 2 lines

  backport of 64096
........
  r64129 | georg.brandl | 2008-06-11 19:53:38 +0200 (mer., 11 juin 2008) | 2 lines

  Fix typos.
........
2008-06-16 20:58:19 +00:00
Benjamin Peterson b29cbbc9c4 Merged revisions 64317 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64317 | benjamin.peterson | 2008-06-16 15:52:48 -0500 (Mon, 16 Jun 2008) | 1 line

  reduce the test_multiprocessing load to ones that shouldn't hang. These will be reenabled gradually as we find the problems.
........
2008-06-16 20:57:14 +00:00
Benjamin Peterson a38d156bf2 add some casts and fix the build from 64311 2008-06-16 20:47:12 +00:00
Benjamin Peterson 920fca3922 Merged revisions 64313 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64313 | benjamin.peterson | 2008-06-16 15:18:18 -0500 (Mon, 16 Jun 2008) | 1 line

  fix Tools/scripts/2to3 as the result of a merge error
........
2008-06-16 20:23:03 +00:00
Thomas Heller 2fadaa2882 Merged revisions 64131,64134-64141,64143-64146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64131 | thomas.heller | 2008-06-11 19:58:19 +0200 (Wed, 11 Jun 2008) | 1 line

  Markup fixes, spelling corrections, and better wordings. Hopefully.
........
  r64135 | thomas.heller | 2008-06-11 20:10:43 +0200 (Wed, 11 Jun 2008) | 1 line

  More doc fixes.
........
  r64139 | thomas.heller | 2008-06-11 20:40:51 +0200 (Wed, 11 Jun 2008) | 1 line

  Smaller doc fixes.
........
  r64143 | thomas.heller | 2008-06-11 21:10:22 +0200 (Wed, 11 Jun 2008) | 1 line

  Add versionadded marker to ctypes.c_longdouble.
........
  r64146 | thomas.heller | 2008-06-11 21:58:22 +0200 (Wed, 11 Jun 2008) | 2 lines

  Markup fixes, thanks Georg for the help.
  Document ctypes.util.find_library() and ctypes.util.find_msvcrt().
........
2008-06-16 19:56:33 +00:00
Amaury Forgeot d'Arc c856c7a2f0 Merged revisions 64309 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64309 | amaury.forgeotdarc | 2008-06-16 21:12:42 +0200 (lun., 16 juin 2008) | 8 lines

  Issue 3110: Crash with weakref subclass,
  seen after a "import multiprocessing.reduction"

  An instance of a weakref subclass can have attributes.
  If such a weakref holds the only strong reference to the object,
  deleting the weakref will delete the object. In this case,
  the callback must not be called, because the ref object is being deleted!
........
2008-06-16 19:50:09 +00:00
Benjamin Peterson 27d63678a3 improvements to the fix for #3114
keep the tstate consistent and a better test
2008-06-15 20:09:12 +00:00
Benjamin Peterson df6dc8f107 Merged revisions 64286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r64286 | benjamin.peterson | 2008-06-14 21:31:05 -0500 (Sat, 14 Jun 2008) | 49 lines

  Merged revisions 63661,63666,63695,63711,63729,63769,63790,63880,63886 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r63661 | georg.brandl | 2008-05-26 05:26:20 -0500 (Mon, 26 May 2008) | 2 lines

    Add import fixes for dbm package.
  ........
    r63666 | georg.brandl | 2008-05-26 05:49:09 -0500 (Mon, 26 May 2008) | 2 lines

    Add xmlrpc package fixes.
  ........
    r63695 | georg.brandl | 2008-05-26 10:14:33 -0500 (Mon, 26 May 2008) | 2 lines

    Add fixer entries for http package.
  ........
    r63711 | benjamin.peterson | 2008-05-26 13:43:51 -0500 (Mon, 26 May 2008) | 2 lines

    add import mapping for test.test_support -> test.support
  ........
    r63729 | benjamin.peterson | 2008-05-26 16:31:03 -0500 (Mon, 26 May 2008) | 2 lines

    mapping for commands module -> subprocess
  ........
    r63769 | brett.cannon | 2008-05-29 00:13:13 -0500 (Thu, 29 May 2008) | 1 line

    Fixer for UserString.UserString over to the collections module.
  ........
    r63790 | brett.cannon | 2008-05-29 14:13:51 -0500 (Thu, 29 May 2008) | 4 lines

    Add a fixer for UserList.

    Closes issue #2878. Thanks to Quentin Gallet-Gilles for the patch.
  ........
    r63880 | collin.winter | 2008-06-01 18:09:38 -0500 (Sun, 01 Jun 2008) | 6 lines

    Move lib2to3/fixes/{basefix,util}.py down to lib2to3/.

    This is step 1 of turning lib2to3/ into a general-purpose refactoring
    library, reusable by other projects.
  ........
    r63886 | collin.winter | 2008-06-01 22:15:01 -0500 (Sun, 01 Jun 2008) | 5 lines

    Allow refactoring tools to specify a directory for fixer modules.

    This is step 2 of turning lib2to3/ into a general-purpose refactoring
    library, reusable by other projects. Step 1: r63880.
  ........
................
2008-06-15 02:57:40 +00:00
Benjamin Peterson 979f311728 #3114 fix a bus error when deallocated exceptions were used 2008-06-15 00:05:44 +00:00
Benjamin Peterson c5e94641bf Merged revisions 64095 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64095 | amaury.forgeotdarc | 2008-06-10 16:37:15 -0500 (Tue, 10 Jun 2008) | 3 lines

  Correct test_pydoc for win32 platforms, to account for normalized URLs:
  C:\temp => file:///C|temp/
........
2008-06-14 23:04:46 +00:00
Guido van Rossum b4fb6e4d27 Implicit exception chaining via __context__ (PEP 3134).
Patch 3108 by Antooine Pitrou.
2008-06-14 20:20:24 +00:00
Martin v. Löwis 973124fd70 Recorded merge of revisions 64257 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64257 | martin.v.loewis | 2008-06-14 00:38:33 +0200 (Sa, 14 Jun 2008) | 2 lines

  Run svneol.py on all sources.
........
2008-06-14 12:03:33 +00:00
Martin v. Löwis b072cf2579 Merged revisions 64267-64272 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64267 | amaury.forgeotdarc | 2008-06-14 09:40:32 +0200 (Sa, 14 Jun 2008) | 2 lines

  Use the correct URL for sqlite3 sources, and try to fix windows buildbots.
........
  r64269 | amaury.forgeotdarc | 2008-06-14 10:36:07 +0200 (Sa, 14 Jun 2008) | 3 lines

  on windows, r64214 broke compilation with some recent SDKs,
  because IPPROTO_IPV6 may be an enumeration member...
........
  r64270 | amaury.forgeotdarc | 2008-06-14 11:44:41 +0200 (Sa, 14 Jun 2008) | 4 lines

  Since python2.6 must run on Windows 2000,
  explicitely disable the use of Windows XP themes when compiling tk.
  This is also consistent with the WINVER=0x0500 option.
........
  r64271 | martin.v.loewis | 2008-06-14 13:50:59 +0200 (Sa, 14 Jun 2008) | 3 lines

  Avoid rebuilding tcl/tk.
  Merge x86 changes into AMD64.
........
  r64272 | martin.v.loewis | 2008-06-14 13:51:54 +0200 (Sa, 14 Jun 2008) | 2 lines

  Set eol-style to CRLF for all batch files.
........
2008-06-14 11:59:52 +00:00
Martin v. Löwis 6d291c14b0 Merged revisions 64265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64265 | martin.v.loewis | 2008-06-14 08:24:44 +0200 (Sa, 14 Jun 2008) | 2 lines

  Conservatively restrict support to format 8 repositories.
........
2008-06-14 06:25:37 +00:00
Benjamin Peterson 95a939cf11 remove a versionadded 2008-06-14 02:23:29 +00:00
Martin v. Löwis a08702aca6 Merged revisions 64262 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64262 | martin.v.loewis | 2008-06-14 03:50:46 +0200 (Sa, 14 Jun 2008) | 2 lines

  Support subversion repositories of version 8.
........
2008-06-14 01:51:58 +00:00
Martin v. Löwis 169c01461d Merged revisions 64260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64260 | martin.v.loewis | 2008-06-14 02:41:41 +0200 (Sa, 14 Jun 2008) | 2 lines

  Revert eol-style to CRLF.
........
2008-06-14 00:49:05 +00:00
Martin v. Löwis 3c6938d22b Ran svneol.py 2008-06-13 23:34:35 +00:00
Martin v. Löwis b303fef455 Run svneol.py for all files currently using Unix line endings. 2008-06-13 22:53:14 +00:00
Amaury Forgeot d'Arc 6e34969712 Blocked revisions 64254 via svnmerge
........
  r64254 | amaury.forgeotdarc | 2008-06-13 23:54:30 +0200 (ven., 13 juin 2008) | 2 lines

  Add a missing file for VS2005
........
2008-06-13 21:58:09 +00:00
Amaury Forgeot d'Arc 2b3f52f97b Add missing files for the windows VS2005 compiler 2008-06-13 21:56:27 +00:00
Benjamin Peterson fa268032c9 fix multiprocessing line endings in py3k 2008-06-13 19:28:21 +00:00
Benjamin Peterson 53a5b0d351 Blocked revisions 64250 via svnmerge
........
  r64250 | benjamin.peterson | 2008-06-13 14:20:48 -0500 (Fri, 13 Jun 2008) | 1 line

  darn! I converted half of the files the wrong way.
........
2008-06-13 19:23:31 +00:00
Benjamin Peterson b0c8a99553 Blocked revisions 64248 via svnmerge
........
  r64248 | benjamin.peterson | 2008-06-13 14:13:39 -0500 (Fri, 13 Jun 2008) | 1 line

  convert multiprocessing to unix line endings
........
2008-06-13 19:16:07 +00:00
Martin v. Löwis 94b8b82b30 Merged revisions 64246 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64246 | martin.v.loewis | 2008-06-13 20:58:47 +0200 (Fr, 13 Jun 2008) | 2 lines

  Pickup sqlite3.dll from binary directory.
  Commit more often.
........
2008-06-13 19:00:35 +00:00
Martin v. Löwis 2061155dc6 Merged revisions 64243-64244 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64243 | martin.v.loewis | 2008-06-13 20:12:51 +0200 (Fr, 13 Jun 2008) | 1 line

  Switch to SQLite 3.5.9.
........
  r64244 | martin.v.loewis | 2008-06-13 20:19:49 +0200 (Fr, 13 Jun 2008) | 1 line

  Update AMD64 build for amalgamated sqlite.
........
2008-06-13 18:21:45 +00:00
Martin v. Löwis 70ce8aae98 Merged revisions 64239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64239 | martin.v.loewis | 2008-06-13 19:22:39 +0200 (Fr, 13 Jun 2008) | 1 line

  Switch to bzip2 1.0.5.
........
2008-06-13 17:28:35 +00:00
Benjamin Peterson af065c34bc Merged revisions 64223-64224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64223 | georg.brandl | 2008-06-13 01:56:50 -0500 (Fri, 13 Jun 2008) | 2 lines

  #3095: don't leak values from Py_BuildValue.
........
  r64224 | georg.brandl | 2008-06-13 02:08:48 -0500 (Fri, 13 Jun 2008) | 2 lines

  Typo.
........
2008-06-13 15:36:43 +00:00
Martin v. Löwis f38e0d0c8c Merged revisions 64185-64196 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64185 | martin.v.loewis | 2008-06-12 20:38:47 +0200 (Do, 12 Jun 2008) | 1 line

  Switch to Tcl/Tk 8.5.2.
........
  r64189 | martin.v.loewis | 2008-06-12 20:52:00 +0200 (Do, 12 Jun 2008) | 1 line

  Switch to Tcl/Tk 8.5.
........
  r64191 | martin.v.loewis | 2008-06-12 21:00:14 +0200 (Do, 12 Jun 2008) | 1 line

  Revert bogus disabling of Tcl and Tk.
........
  r64194 | martin.v.loewis | 2008-06-12 21:51:59 +0200 (Do, 12 Jun 2008) | 1 line

  Split Tcl make targets into separate ones.
........
  r64195 | martin.v.loewis | 2008-06-12 22:06:18 +0200 (Do, 12 Jun 2008) | 1 line

  Support file names which include '+' (for Tk 8.5).
........
  r64196 | martin.v.loewis | 2008-06-12 22:07:53 +0200 (Do, 12 Jun 2008) | 1 line

  Fix Tcl/Tk license file in tcl8*/tk8*, include Tix license.
........
2008-06-13 14:11:59 +00:00
Martin v. Löwis 59683e8529 Merged revisions 64226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64226 | martin.v.loewis | 2008-06-13 09:47:47 +0200 (Fr, 13 Jun 2008) | 2 lines

  Make more symbols static.
........
2008-06-13 07:50:45 +00:00
Martin v. Löwis 1c95155bd1 Make print_delta static. 2008-06-13 07:48:19 +00:00
Martin v. Löwis ff649b41e8 Make stdprinter_write static. 2008-06-13 07:24:48 +00:00
Georg Brandl f992640ed3 Fix last traces of old threading API. 2008-06-13 06:32:25 +00:00
Alexandre Vassalotti 7634ff5ad6 Fixed compiler warnings on MSVC9.0 2008-06-13 02:16:06 +00:00
Benjamin Peterson b03ca4bc68 fix more threading API related bugs 2008-06-13 02:00:47 +00:00
Benjamin Peterson 2d9a086410 fix more threading API usage 2008-06-13 01:31:43 +00:00
Amaury Forgeot d'Arc 3d17a5c5ae Merged revisions 64214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64214 | amaury.forgeotdarc | 2008-06-13 02:42:22 +0200 (ven., 13 juin 2008) | 6 lines

  Restore support for Microsoft VC6 compiler.
  Some functions in the msvcrt module are skipped,
  and socket.ioctl is enabled only when using a more recent Platform SDK.

  (and yes, there are still companies that use a 10-years old compiler)
........
2008-06-13 01:09:34 +00:00
Benjamin Peterson e68df0fbe5 Merged revisions 64212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64212 | benjamin.peterson | 2008-06-12 19:09:47 -0500 (Thu, 12 Jun 2008) | 3 lines

  #1683 prevent forking from interfering in threading storage
  This should prevent some test_multiprocessing failures
........
2008-06-13 00:26:50 +00:00
Amaury Forgeot d'Arc 762681b515 Slowly apply part of #2065: py3k can be compiled with VS8.0 2008-06-12 23:03:41 +00:00
Amaury Forgeot d'Arc 6166717fa4 Merged revisions 64202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64202 | amaury.forgeotdarc | 2008-06-12 23:58:20 +0200 (jeu., 12 juin 2008) | 5 lines

  Update VS8.0 build files, using the script vs9to8.py.

  Also remove references to odbc libraries, which are not shipped with vs2003 express.
  (and certainly not useful)
........
2008-06-12 22:53:41 +00:00
Amaury Forgeot d'Arc 167cb57960 Merged revisions 64197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64197 | amaury.forgeotdarc | 2008-06-12 22:27:42 +0200 (jeu., 12 juin 2008) | 3 lines

  It seems that my VS2008 Express does not include a project in the build configuration,
  if its UUID has lowercase letters.
........
2008-06-12 22:38:07 +00:00
Benjamin Peterson 29a1618c10 Blocked revisions 64206 via svnmerge
........
  r64206 | benjamin.peterson | 2008-06-12 17:33:06 -0500 (Thu, 12 Jun 2008) | 2 lines

  add py3k warnings to  rfc822
........
2008-06-12 22:34:18 +00:00
Amaury Forgeot d'Arc 9d865c9650 On Windows, repair compilation of builtin modules _stringio and _pickle.
(Alexandre, the MSVC build files are in PCBuild.
the PC/Vxxx directories try to support older compilers)
2008-06-12 22:27:27 +00:00
Georg Brandl 9f0f960d4c Remove traces of rfc822. 2008-06-12 22:23:59 +00:00
Benjamin Peterson a0c0a4a261 remove the rfc822 module 2008-06-12 22:15:50 +00:00
Georg Brandl 83e9f4cd77 Remove last traces of mimetools. 2008-06-12 18:52:31 +00:00