Commit Graph

39772 Commits

Author SHA1 Message Date
Vinay Sajip 9828b7ea08 Updated with fix for #3126. 2008-06-17 11:04:02 +00:00
Vinay Sajip 8f96b8ec43 Bug #3126: StreamHandler and FileHandler check before calling "flush" and "close" that the stream object has these, using hasattr (thanks to bobf for the patch). 2008-06-17 11:02:14 +00:00
Georg Brandl 5c15aba870 Split the HTML index. 2008-06-17 09:01:35 +00:00
Robert Schuppenies 59f3ade862 Issue 3048: Fixed sys.sizeof test fails with wide unicode. 2008-06-17 08:42:15 +00:00
Georg Brandl d0ba07327a Add Jesse Noller to the developers list. 2008-06-16 21:00:47 +00:00
Benjamin Peterson da3a1b1200 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:52:48 +00:00
Benjamin Peterson b8bfdf5200 fix Tools/scripts/2to3 as the result of a merge error 2008-06-16 20:18:18 +00:00
Amaury Forgeot d'Arc a8919fe631 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:12:42 +00:00
Raymond Hettinger 305480c9dc Issue 3116: fix quadratic behavior in marshal.dumps(). 2008-06-16 01:42:40 +00:00
Georg Brandl a161f6070b Forward-port new test from r64300. 2008-06-15 19:54:36 +00:00
Benjamin Peterson e607823af5 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:31:05 +00:00
Gregory P. Smith a0205d0a46 silence the test when it is skipped on some platforms. should fix a
buildbot.
2008-06-14 17:34:09 +00:00
Martin v. Löwis fd82f2e86a Disable UAC by default. 2008-06-14 14:24:47 +00:00
Martin v. Löwis 945c632dff Set eol-style to CRLF for all batch files. 2008-06-14 11:51:54 +00:00
Martin v. Löwis 6807120c64 Avoid rebuilding tcl/tk.
Merge x86 changes into AMD64.
2008-06-14 11:50:59 +00:00
Amaury Forgeot d'Arc 8c3bc862fa 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.
2008-06-14 09:44:41 +00:00
Amaury Forgeot d'Arc d25cdc370d on windows, r64214 broke compilation with some recent SDKs,
because IPPROTO_IPV6 may be an enumeration member...
2008-06-14 08:36:07 +00:00
Amaury Forgeot d'Arc c06f5a45c3 Use the correct URL for sqlite3 sources, and try to fix windows buildbots. 2008-06-14 07:40:32 +00:00
Martin v. Löwis a6e02e8406 Conservatively restrict support to format 8 repositories. 2008-06-14 06:24:44 +00:00
Martin v. Löwis 49ac5aa2ef Support subversion repositories of version 8. 2008-06-14 01:50:46 +00:00
Martin v. Löwis 3a4414855c Revert eol-style to CRLF. 2008-06-14 00:41:41 +00:00
Martin v. Löwis 06510b2213 Run svneol.py on all sources. 2008-06-13 22:38:33 +00:00
Amaury Forgeot d'Arc 6733ef5273 Add a missing file for VS2005 2008-06-13 21:54:30 +00:00
Andrew M. Kuchling 3730453edd Typo fixes 2008-06-13 19:38:18 +00:00
Benjamin Peterson 7f03ea77bf darn! I converted half of the files the wrong way. 2008-06-13 19:20:48 +00:00
Benjamin Peterson dfd79494ce convert multiprocessing to unix line endings 2008-06-13 19:13:39 +00:00
Martin v. Löwis c9798fc709 Pickup sqlite3.dll from binary directory.
Commit more often.
2008-06-13 18:58:47 +00:00
Martin v. Löwis cac8f585b1 Update AMD64 build for amalgamated sqlite. 2008-06-13 18:19:49 +00:00
Martin v. Löwis cc0f2b20c5 Switch to SQLite 3.5.9. 2008-06-13 18:12:51 +00:00
Martin v. Löwis a4514c3009 Switch to bzip2 1.0.5. 2008-06-13 17:22:39 +00:00
Benjamin Peterson 7e852d1060 set svn:ignore on multiprocessing 2008-06-13 15:41:09 +00:00
Benjamin Peterson 5c0be328c1 platform.uname now tries to fill empty values even when os.uname is present 2008-06-13 15:11:50 +00:00
Robert Schuppenies 73e9ffc811 Fixed: sys.getsizeof does not take the actual length of the tuples into account. 2008-06-13 13:29:37 +00:00
Georg Brandl 60c0be3acd Clarification. 2008-06-13 13:26:54 +00:00
Martin v. Löwis 111c180674 Make more symbols static. 2008-06-13 07:47:47 +00:00
Georg Brandl e1f6646d68 Typo. 2008-06-13 07:08:48 +00:00
Georg Brandl 6d53e7e69c #3095: don't leak values from Py_BuildValue. 2008-06-13 06:56:50 +00:00
Neal Norwitz 04097a6282 Fix typo in method name. The LT class implemented less than. The LE class
should implement less than or equal to (as the code does).
2008-06-13 06:03:25 +00:00
Neal Norwitz 705cd06f91 Fix some memory dealloc problems when exceptions occur.
It caused: "Fatal Python error: UNREF invalid object" in the DoubleTest.
2008-06-13 06:02:26 +00:00
Neal Norwitz e9ee44c25b Check for memory alloc failure 2008-06-13 06:00:46 +00:00
Amaury Forgeot d'Arc a4dd2e20e2 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 00:42:22 +00:00
Benjamin Peterson 114f7e5fff #1683 prevent forking from interfering in threading storage
This should prevent some test_multiprocessing failures
2008-06-13 00:09:47 +00:00
Benjamin Peterson 26305a03e3 add py3k warnings to rfc822 2008-06-12 22:33:06 +00:00
Amaury Forgeot d'Arc 6fd3321d6c 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 21:58:20 +00:00
Amaury Forgeot d'Arc 3511388315 It seems that my VS2008 Express does not include a project in the build configuration,
if its UUID has lowercase letters.
2008-06-12 20:27:42 +00:00
Martin v. Löwis b8a18eaca9 Fix Tcl/Tk license file in tcl8*/tk8*, include Tix license. 2008-06-12 20:07:53 +00:00
Martin v. Löwis 7b9e124776 Support file names which include '+' (for Tk 8.5). 2008-06-12 20:06:18 +00:00
Martin v. Löwis 329d738380 Split Tcl make targets into separate ones. 2008-06-12 19:51:59 +00:00
Martin v. Löwis a41be1d1d2 Revert bogus disabling of Tcl and Tk. 2008-06-12 19:00:14 +00:00
Martin v. Löwis 7630731af0 Switch to Tcl/Tk 8.5. 2008-06-12 18:52:00 +00:00