]>
granicus.if.org Git - python/log
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.
Benjamin Peterson [Sun, 8 Jun 2008 23:00:00 +0000 (23:00 +0000)]
warn about parameter tuple unpacking
Benjamin Peterson [Sun, 8 Jun 2008 22:52:37 +0000 (22:52 +0000)]
Warn about assigning to Py3k keywords (True and False)
Benjamin Peterson [Sun, 8 Jun 2008 15:45:23 +0000 (15:45 +0000)]
add an ast_warn helper function to make adding those Py3k warnings easier
Georg Brandl [Sun, 8 Jun 2008 08:59:38 +0000 (08:59 +0000)]
Argh, I read it wrong. Reverted 64036 and added a clarifying remark.
Georg Brandl [Sun, 8 Jun 2008 08:54:40 +0000 (08:54 +0000)]
#3028: tokenize passes the physical line.
Benjamin Peterson [Sun, 8 Jun 2008 02:05:33 +0000 (02:05 +0000)]
change Py3k backquote warning to a SyntaxWarning and add a test
Benjamin Peterson [Sat, 7 Jun 2008 20:44:48 +0000 (20:44 +0000)]
capitalization nit
Georg Brandl [Sat, 7 Jun 2008 18:17:37 +0000 (18:17 +0000)]
Document the "st" API, to avoid confusion with the "new" AST.
Add a note about using the new AST module.
Georg Brandl [Sat, 7 Jun 2008 18:16:12 +0000 (18:16 +0000)]
X-ref to numbers module.
Georg Brandl [Sat, 7 Jun 2008 17:11:00 +0000 (17:11 +0000)]
Backport docs for abc module to 2.6.
Georg Brandl [Sat, 7 Jun 2008 17:03:28 +0000 (17:03 +0000)]
#3057: Fix the MutableMapping ABC to use the 2.6 dict interface.
Georg Brandl [Sat, 7 Jun 2008 16:16:12 +0000 (16:16 +0000)]
Register IterableUserDict as a MutableMapping.
Georg Brandl [Sat, 7 Jun 2008 16:04:01 +0000 (16:04 +0000)]
Revert unwanted changes.
Georg Brandl [Sat, 7 Jun 2008 15:59:10 +0000 (15:59 +0000)]
Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
to ease standalone use of the algorithm.
Facundo Batista [Sat, 7 Jun 2008 13:36:36 +0000 (13:36 +0000)]
Finished bug #2451. Fixed the retrying part to make it
more robust.
Travis E. Oliphant [Fri, 6 Jun 2008 22:39:47 +0000 (22:39 +0000)]
Remove locking part of new buffer protocol.
Travis E. Oliphant [Fri, 6 Jun 2008 22:33:21 +0000 (22:33 +0000)]
Add long double check support to configure test.
Raymond Hettinger [Fri, 6 Jun 2008 21:47:51 +0000 (21:47 +0000)]
Issue 3501: Make heapq support both __le__ and __lt__.
Ronald Oussoren [Fri, 6 Jun 2008 21:31:33 +0000 (21:31 +0000)]
Fix build issue on OSX 10.4
Thomas Heller [Fri, 6 Jun 2008 20:05:15 +0000 (20:05 +0000)]
Document the new ctypes features.
It would be great if someone could review both sematics, markup, and
spelling, and correct the versionadded and versionchanges markers.
Thomas Heller [Fri, 6 Jun 2008 18:42:11 +0000 (18:42 +0000)]
Add a reminder for the maintainer of whatsnew.