Armin Rigo
ffae306784
Sounds obvious, but I didn't even realize that you can put non-string
...
keys in type dictionaries without using this locals() hack.
2008-06-12 09:50:58 +00:00
Georg Brandl
5cc774e232
Can we agree to put dots at entry ends? Thanks.
2008-06-11 20:28:06 +00:00
Benjamin Peterson
6f7ae6945f
update ACKS and NEWs for multiprocessing
2008-06-11 20:04:30 +00:00
Thomas Heller
41a9e15333
Markup fixes, thanks Georg for the help.
...
Document ctypes.util.find_library() and ctypes.util.find_msvcrt().
2008-06-11 19:58:22 +00:00
Thomas Heller
c0a296f1dc
Add versionadded marker to ctypes.c_longdouble.
2008-06-11 19:10:22 +00:00
Georg Brandl
89f48876a2
Add future_builtins.ascii().
2008-06-11 18:55:38 +00:00
Thomas Heller
35b9020246
Smaller doc fixes.
2008-06-11 18:40:51 +00:00
Thomas Heller
2e9675adf8
More doc fixes.
2008-06-11 18:10:43 +00:00
Benjamin Peterson
13f7382e0d
add old names back into __all__
2008-06-11 18:02:31 +00:00
Gregory P. Smith
fe22a456d5
Correct an incorrect comment about our #include of stddef.h.
...
(see Doug Evans' comment on python-dev 2008-06-10)
2008-06-11 18:00:52 +00:00
Thomas Heller
81567d2b61
Markup fixes, spelling corrections, and better wordings. Hopefully.
2008-06-11 17:58:19 +00:00
Georg Brandl
d987545d30
Clarify what ":errorhandler" refers to.
2008-06-11 17:57:44 +00:00
Georg Brandl
9cf1934090
Fix typos.
2008-06-11 17:53:38 +00:00
Benjamin Peterson
f439560265
add aliases to threading module
2008-06-11 17:50:00 +00:00
Benjamin Peterson
0fbcf69455
give the threading API PEP 8 names
2008-06-11 17:27:50 +00:00
Benjamin Peterson
32c2e41c82
fix Windows building for multiprocessing
2008-06-11 16:50:57 +00:00
Raymond Hettinger
e29a10306c
Add test for heapq using both __lt__ and __le__.
2008-06-11 13:14:50 +00:00
Andrew M. Kuchling
a809c98ca5
Note PEP 371 section
2008-06-11 12:53:14 +00:00
Raymond Hettinger
6fbfb481b8
Optimize previous checkin for heapq.
2008-06-11 12:39:09 +00:00
Benjamin Peterson
e605e4f09a
fix import of multiprocessing by juggling imports
2008-06-11 12:26:31 +00:00
Raymond Hettinger
f0bc3cbdc0
Issue 3051: Let heapq work with either __lt__ or __le__.
2008-06-11 12:06:49 +00:00
Raymond Hettinger
4267be6478
Multi-arg form for set.difference() and set.difference_update().
2008-06-11 10:30:54 +00:00
Gregory P. Smith
9d53457e59
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.
2008-06-11 07:41:16 +00:00
Thomas Heller
73baefd7fc
Fix markup.
...
Document the new 'offset' parameter for the 'ctypes.byref' function.
2008-06-11 07:10:43 +00:00
Gregory P. Smith
e0b9261a2f
swap stringobject.h and bytesobject.h contents to make sense. PyString in
...
stringobject and PyBytes defines in bytesobject.
2008-06-11 03:40:10 +00:00
Benjamin Peterson
190d56e009
add the multiprocessing package to fulfill PEP 371
2008-06-11 02:40:25 +00:00
Benjamin Peterson
d5299866f9
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
2008-06-11 01:31:28 +00:00
Raymond Hettinger
610a93ea26
Handle the case with zero arguments.
2008-06-11 00:44:47 +00:00
Raymond Hettinger
363070aa46
Update numbers doc for the Integral simplification.
2008-06-11 00:28:51 +00:00
Raymond Hettinger
caea65e465
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__.
2008-06-11 00:25:29 +00:00
Benjamin Peterson
31296c09ed
backport of 64096
2008-06-10 22:39:25 +00:00
Amaury Forgeot d'Arc
8e8de4afef
Correct test_pydoc for win32 platforms, to account for normalized URLs:
...
C:\temp => file:///C|temp/
2008-06-10 21:37:15 +00:00
Gregory P. Smith
b7fea62cca
Rename bytesobject.c back to stringobject.c to keep with the PyString theme.
...
Part of reverting most of r63675 per the mailing list discussion.
2008-06-10 21:23:22 +00:00
Armin Ronacher
482f31299c
Documented the new AST constructor.
2008-06-10 20:52:19 +00:00
Armin Ronacher
3079be51af
Fix a formatting error in the ast documentation.
2008-06-10 20:37:02 +00:00
Gregory P. Smith
99a3dce92d
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.
2008-06-10 17:42:36 +00:00
Josiah Carlson
b67b53db51
Fixed test to reflect new filedispatcher semantics, as well as two
...
NameErrors pointed out by Giampaolo.
2008-06-10 15:58:19 +00:00
Thomas Heller
1cec7aa7c7
NEWS entry for:
...
Add an optional 'offset' parameter to byref, defaulting to zero.
2008-06-10 14:07:12 +00:00
Thomas Heller
dcea9a91c6
Add an optional 'offset' parameter to byref, defaultingto zero.
2008-06-10 14:02:46 +00:00
Georg Brandl
60977c73c5
more markup fix.
2008-06-10 13:53:24 +00:00
Benjamin Peterson
0099e72099
fix markup
2008-06-10 13:37:13 +00:00
Georg Brandl
8550d69a84
#2536 : fix itertools.permutations and itertools.combinations docstrings.
2008-06-10 12:46:39 +00:00
Robert Schuppenies
901c997de0
Issue 3048: Fixed sys.getsizeof for unicode objects.
2008-06-10 10:10:31 +00:00
Raymond Hettinger
0705bc0823
Add Arnaud for his efforts on multi-arg set operations.
2008-06-10 07:57:15 +00:00
Georg Brandl
8509db5a21
Add the "ast" module, containing helpers to ease use of the "_ast" classes.
2008-06-10 07:45:28 +00:00
Martin v. Löwis
df7036d2fa
Add Gregor Lingl.
2008-06-10 05:03:35 +00:00
Josiah Carlson
1a72d88abf
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.
2008-06-10 05:00:08 +00:00
Alexandre Vassalotti
602d8db2bc
Added better pickling support to xrange objects.
...
Cleaned up the unit test.
2008-06-10 04:01:23 +00:00
Alexandre Vassalotti
1f2f61a78f
Issue 2582: Fix pickling of xrange objects.
2008-06-10 03:34:53 +00:00
Raymond Hettinger
5c4d3d0e4c
Let set.intersection() and set.intersection_update() take multiple input arguments.
2008-06-09 13:07:27 +00:00