Commit Graph

39740 Commits

Author SHA1 Message Date
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
Martin v. Löwis db2c9f48c5 Switch to Tcl/Tk 8.5.2. 2008-06-12 18:38:47 +00:00
Benjamin Peterson a03722f278 deprecated mimetools 2008-06-12 14:23:49 +00:00
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