]>
granicus.if.org Git - python/log
Raymond Hettinger [Mon, 16 Jun 2008 01:42:40 +0000 (01:42 +0000)]
Issue 3116: fix quadratic behavior in marshal.dumps().
Georg Brandl [Sun, 15 Jun 2008 19:54:36 +0000 (19:54 +0000)]
Forward-port new test from r64300.
Benjamin Peterson [Sun, 15 Jun 2008 02:31:05 +0000 (02:31 +0000)]
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.
........
Gregory P. Smith [Sat, 14 Jun 2008 17:34:09 +0000 (17:34 +0000)]
silence the test when it is skipped on some platforms. should fix a
buildbot.
Martin v. Löwis [Sat, 14 Jun 2008 14:24:47 +0000 (14:24 +0000)]
Disable UAC by default.
Martin v. Löwis [Sat, 14 Jun 2008 11:51:54 +0000 (11:51 +0000)]
Set eol-style to CRLF for all batch files.
Martin v. Löwis [Sat, 14 Jun 2008 11:50:59 +0000 (11:50 +0000)]
Avoid rebuilding tcl/tk.
Merge x86 changes into AMD64.
Amaury Forgeot d'Arc [Sat, 14 Jun 2008 09:44:41 +0000 (09:44 +0000)]
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.
Amaury Forgeot d'Arc [Sat, 14 Jun 2008 08:36:07 +0000 (08:36 +0000)]
on windows, r64214 broke compilation with some recent SDKs,
because IPPROTO_IPV6 may be an enumeration member...
Amaury Forgeot d'Arc [Sat, 14 Jun 2008 07:40:32 +0000 (07:40 +0000)]
Use the correct URL for sqlite3 sources, and try to fix windows buildbots.
Martin v. Löwis [Sat, 14 Jun 2008 06:24:44 +0000 (06:24 +0000)]
Conservatively restrict support to format 8 repositories.
Martin v. Löwis [Sat, 14 Jun 2008 01:50:46 +0000 (01:50 +0000)]
Support subversion repositories of version 8.
Martin v. Löwis [Sat, 14 Jun 2008 00:41:41 +0000 (00:41 +0000)]
Revert eol-style to CRLF.
Martin v. Löwis [Fri, 13 Jun 2008 22:38:33 +0000 (22:38 +0000)]
Run svneol.py on all sources.
Amaury Forgeot d'Arc [Fri, 13 Jun 2008 21:54:30 +0000 (21:54 +0000)]
Add a missing file for VS2005
Andrew M. Kuchling [Fri, 13 Jun 2008 19:38:18 +0000 (19:38 +0000)]
Typo fixes
Benjamin Peterson [Fri, 13 Jun 2008 19:20:48 +0000 (19:20 +0000)]
darn! I converted half of the files the wrong way.
Benjamin Peterson [Fri, 13 Jun 2008 19:13:39 +0000 (19:13 +0000)]
convert multiprocessing to unix line endings
Martin v. Löwis [Fri, 13 Jun 2008 18:58:47 +0000 (18:58 +0000)]
Pickup sqlite3.dll from binary directory.
Commit more often.
Martin v. Löwis [Fri, 13 Jun 2008 18:19:49 +0000 (18:19 +0000)]
Update AMD64 build for amalgamated sqlite.
Martin v. Löwis [Fri, 13 Jun 2008 18:12:51 +0000 (18:12 +0000)]
Switch to SQLite 3.5.9.
Martin v. Löwis [Fri, 13 Jun 2008 17:22:39 +0000 (17:22 +0000)]
Switch to bzip2 1.0.5.
Benjamin Peterson [Fri, 13 Jun 2008 15:41:09 +0000 (15:41 +0000)]
set svn:ignore on multiprocessing
Benjamin Peterson [Fri, 13 Jun 2008 15:11:50 +0000 (15:11 +0000)]
platform.uname now tries to fill empty values even when os.uname is present
Robert Schuppenies [Fri, 13 Jun 2008 13:29:37 +0000 (13:29 +0000)]
Fixed: sys.getsizeof does not take the actual length of the tuples into account.
Georg Brandl [Fri, 13 Jun 2008 13:26:54 +0000 (13:26 +0000)]
Clarification.
Martin v. Löwis [Fri, 13 Jun 2008 07:47:47 +0000 (07:47 +0000)]
Make more symbols static.
Georg Brandl [Fri, 13 Jun 2008 07:08:48 +0000 (07:08 +0000)]
Typo.
Georg Brandl [Fri, 13 Jun 2008 06:56:50 +0000 (06:56 +0000)]
#3095: don't leak values from Py_BuildValue.
Neal Norwitz [Fri, 13 Jun 2008 06:03:25 +0000 (06:03 +0000)]
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).
Neal Norwitz [Fri, 13 Jun 2008 06:02:26 +0000 (06:02 +0000)]
Fix some memory dealloc problems when exceptions occur.
It caused: "Fatal Python error: UNREF invalid object" in the DoubleTest.
Neal Norwitz [Fri, 13 Jun 2008 06:00:46 +0000 (06:00 +0000)]
Check for memory alloc failure
Amaury Forgeot d'Arc [Fri, 13 Jun 2008 00:42:22 +0000 (00:42 +0000)]
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)
Benjamin Peterson [Fri, 13 Jun 2008 00:09:47 +0000 (00:09 +0000)]
#1683 prevent forking from interfering in threading storage
This should prevent some test_multiprocessing failures
Benjamin Peterson [Thu, 12 Jun 2008 22:33:06 +0000 (22:33 +0000)]
add py3k warnings to rfc822
Amaury Forgeot d'Arc [Thu, 12 Jun 2008 21:58:20 +0000 (21:58 +0000)]
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)
Amaury Forgeot d'Arc [Thu, 12 Jun 2008 20:27:42 +0000 (20:27 +0000)]
It seems that my VS2008 Express does not include a project in the build configuration,
if its UUID has lowercase letters.
Martin v. Löwis [Thu, 12 Jun 2008 20:07:53 +0000 (20:07 +0000)]
Fix Tcl/Tk license file in tcl8*/tk8*, include Tix license.
Martin v. Löwis [Thu, 12 Jun 2008 20:06:18 +0000 (20:06 +0000)]
Support file names which include '+' (for Tk 8.5).
Martin v. Löwis [Thu, 12 Jun 2008 19:51:59 +0000 (19:51 +0000)]
Split Tcl make targets into separate ones.
Martin v. Löwis [Thu, 12 Jun 2008 19:00:14 +0000 (19:00 +0000)]
Revert bogus disabling of Tcl and Tk.
Martin v. Löwis [Thu, 12 Jun 2008 18:52:00 +0000 (18:52 +0000)]
Switch to Tcl/Tk 8.5.
Martin v. Löwis [Thu, 12 Jun 2008 18:38:47 +0000 (18:38 +0000)]
Switch to Tcl/Tk 8.5.2.
Benjamin Peterson [Thu, 12 Jun 2008 14:23:49 +0000 (14:23 +0000)]
deprecated mimetools
Armin Rigo [Thu, 12 Jun 2008 09:50:58 +0000 (09:50 +0000)]
Sounds obvious, but I didn't even realize that you can put non-string
keys in type dictionaries without using this locals() hack.
Georg Brandl [Wed, 11 Jun 2008 20:28:06 +0000 (20:28 +0000)]
Can we agree to put dots at entry ends? Thanks.
Benjamin Peterson [Wed, 11 Jun 2008 20:04:30 +0000 (20:04 +0000)]
update ACKS and NEWs for multiprocessing
Thomas Heller [Wed, 11 Jun 2008 19:58:22 +0000 (19:58 +0000)]
Markup fixes, thanks Georg for the help.
Document ctypes.util.find_library() and ctypes.util.find_msvcrt().
Thomas Heller [Wed, 11 Jun 2008 19:10:22 +0000 (19:10 +0000)]
Add versionadded marker to ctypes.c_longdouble.
Georg Brandl [Wed, 11 Jun 2008 18:55:38 +0000 (18:55 +0000)]
Add future_builtins.ascii().
Thomas Heller [Wed, 11 Jun 2008 18:40:51 +0000 (18:40 +0000)]
Smaller doc fixes.
Thomas Heller [Wed, 11 Jun 2008 18:10:43 +0000 (18:10 +0000)]
More doc fixes.
Benjamin Peterson [Wed, 11 Jun 2008 18:02:31 +0000 (18:02 +0000)]
add old names back into __all__
Gregory P. Smith [Wed, 11 Jun 2008 18:00:52 +0000 (18:00 +0000)]
Correct an incorrect comment about our #include of stddef.h.
(see Doug Evans' comment on python-dev 2008-06-10)
Thomas Heller [Wed, 11 Jun 2008 17:58:19 +0000 (17:58 +0000)]
Markup fixes, spelling corrections, and better wordings. Hopefully.
Georg Brandl [Wed, 11 Jun 2008 17:57:44 +0000 (17:57 +0000)]
Clarify what ":errorhandler" refers to.
Georg Brandl [Wed, 11 Jun 2008 17:53:38 +0000 (17:53 +0000)]
Fix typos.
Benjamin Peterson [Wed, 11 Jun 2008 17:50:00 +0000 (17:50 +0000)]
add aliases to threading module
Benjamin Peterson [Wed, 11 Jun 2008 17:27:50 +0000 (17:27 +0000)]
give the threading API PEP 8 names
Benjamin Peterson [Wed, 11 Jun 2008 16:50:57 +0000 (16:50 +0000)]
fix Windows building for multiprocessing
Raymond Hettinger [Wed, 11 Jun 2008 13:14:50 +0000 (13:14 +0000)]
Add test for heapq using both __lt__ and __le__.
Andrew M. Kuchling [Wed, 11 Jun 2008 12:53:14 +0000 (12:53 +0000)]
Note PEP 371 section
Raymond Hettinger [Wed, 11 Jun 2008 12:39:09 +0000 (12:39 +0000)]
Optimize previous checkin for heapq.
Benjamin Peterson [Wed, 11 Jun 2008 12:26:31 +0000 (12:26 +0000)]
fix import of multiprocessing by juggling imports
Raymond Hettinger [Wed, 11 Jun 2008 12:06:49 +0000 (12:06 +0000)]
Issue 3051: Let heapq work with either __lt__ or __le__.
Raymond Hettinger [Wed, 11 Jun 2008 10:30:54 +0000 (10:30 +0000)]
Multi-arg form for set.difference() and set.difference_update().
Gregory P. Smith [Wed, 11 Jun 2008 07:41:16 +0000 (07:41 +0000)]
Merge in release25-maint r60793:
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
Thomas Heller [Wed, 11 Jun 2008 07:10:43 +0000 (07:10 +0000)]
Fix markup.
Document the new 'offset' parameter for the 'ctypes.byref' function.
Gregory P. Smith [Wed, 11 Jun 2008 03:40:10 +0000 (03:40 +0000)]
swap stringobject.h and bytesobject.h contents to make sense. PyString in
stringobject and PyBytes defines in bytesobject.
Benjamin Peterson [Wed, 11 Jun 2008 02:40:25 +0000 (02:40 +0000)]
add the multiprocessing package to fulfill PEP 371
Benjamin Peterson [Wed, 11 Jun 2008 01:31:28 +0000 (01:31 +0000)]
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
Raymond Hettinger [Wed, 11 Jun 2008 00:44:47 +0000 (00:44 +0000)]
Handle the case with zero arguments.
Raymond Hettinger [Wed, 11 Jun 2008 00:28:51 +0000 (00:28 +0000)]
Update numbers doc for the Integral simplification.
Raymond Hettinger [Wed, 11 Jun 2008 00:25:29 +0000 (00:25 +0000)]
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__.
Benjamin Peterson [Tue, 10 Jun 2008 22:39:25 +0000 (22:39 +0000)]
backport of 64096
Amaury Forgeot d'Arc [Tue, 10 Jun 2008 21:37:15 +0000 (21:37 +0000)]
Correct test_pydoc for win32 platforms, to account for normalized URLs:
C:\temp => file:///C|temp/
Gregory P. Smith [Tue, 10 Jun 2008 21:23:22 +0000 (21:23 +0000)]
Rename bytesobject.c back to stringobject.c to keep with the PyString theme.
Part of reverting most of r63675 per the mailing list discussion.
Armin Ronacher [Tue, 10 Jun 2008 20:52:19 +0000 (20:52 +0000)]
Documented the new AST constructor.
Armin Ronacher [Tue, 10 Jun 2008 20:37:02 +0000 (20:37 +0000)]
Fix a formatting error in the ast documentation.
Gregory P. Smith [Tue, 10 Jun 2008 17:42:36 +0000 (17:42 +0000)]
More reverting of r63675 per the mailing list discussions. This restores
occurances of PyBytes_ in the code to their original PyString_ names. The
bytesobject.c file will be renamed back to stringobject.c in a future checkin.
Josiah Carlson [Tue, 10 Jun 2008 15:58:19 +0000 (15:58 +0000)]
Fixed test to reflect new filedispatcher semantics, as well as two
NameErrors pointed out by Giampaolo.
Thomas Heller [Tue, 10 Jun 2008 14:07:12 +0000 (14:07 +0000)]
NEWS entry for:
Add an optional 'offset' parameter to byref, defaulting to zero.
Thomas Heller [Tue, 10 Jun 2008 14:02:46 +0000 (14:02 +0000)]
Add an optional 'offset' parameter to byref, defaultingto zero.
Georg Brandl [Tue, 10 Jun 2008 13:53:24 +0000 (13:53 +0000)]
more markup fix.
Benjamin Peterson [Tue, 10 Jun 2008 13:37:13 +0000 (13:37 +0000)]
fix markup
Georg Brandl [Tue, 10 Jun 2008 12:46:39 +0000 (12:46 +0000)]
#2536: fix itertools.permutations and itertools.combinations docstrings.
Robert Schuppenies [Tue, 10 Jun 2008 10:10:31 +0000 (10:10 +0000)]
Issue 3048: Fixed sys.getsizeof for unicode objects.
Raymond Hettinger [Tue, 10 Jun 2008 07:57:15 +0000 (07:57 +0000)]
Add Arnaud for his efforts on multi-arg set operations.
Georg Brandl [Tue, 10 Jun 2008 07:45:28 +0000 (07:45 +0000)]
Add the "ast" module, containing helpers to ease use of the "_ast" classes.
Martin v. Löwis [Tue, 10 Jun 2008 05:03:35 +0000 (05:03 +0000)]
Add Gregor Lingl.
Josiah Carlson [Tue, 10 Jun 2008 05:00:08 +0000 (05:00 +0000)]
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.
Alexandre Vassalotti [Tue, 10 Jun 2008 04:01:23 +0000 (04:01 +0000)]
Added better pickling support to xrange objects.
Cleaned up the unit test.
Alexandre Vassalotti [Tue, 10 Jun 2008 03:34:53 +0000 (03:34 +0000)]
Issue 2582: Fix pickling of xrange objects.
Raymond Hettinger [Mon, 9 Jun 2008 13:07:27 +0000 (13:07 +0000)]
Let set.intersection() and set.intersection_update() take multiple input arguments.
Raymond Hettinger [Mon, 9 Jun 2008 11:24:47 +0000 (11:24 +0000)]
Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on some builds.
Raymond Hettinger [Mon, 9 Jun 2008 09:29:17 +0000 (09:29 +0000)]
Address double-rounding scenarios by setting all variables to long doubles.
Raymond Hettinger [Mon, 9 Jun 2008 08:33:37 +0000 (08:33 +0000)]
Let set.union() and set.update() accept multiple inputs.
Raymond Hettinger [Mon, 9 Jun 2008 06:54:45 +0000 (06:54 +0000)]
Issue #2138: Add math.factorial().
Gregory P. Smith [Mon, 9 Jun 2008 04:58:54 +0000 (04:58 +0000)]
This reverts r63675 based on the discussion in this thread:
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
Raymond Hettinger [Mon, 9 Jun 2008 01:28:30 +0000 (01:28 +0000)]
Issue3065: Fixed pickling of named tuples. Added tests.