Commit Graph

39743 Commits

Author SHA1 Message Date
Georg Brandl 6bb7bcf5f7 getloadavg() is not available on Windows. 2008-05-30 19:12:13 +00:00
Raymond Hettinger ef712d6fd3 * Mark intermedidate computes values (hi, lo, yr) as volatile.
* Expand comments.
* Swap variable names in the sum_exact code so that x and y
  are consistently chosen as the larger and smaller magnitude
  values respectively.
2008-05-30 18:20:50 +00:00
Eric Smith dc13b79a38 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 2008-05-30 18:10:04 +00:00
Georg Brandl 30fadc1799 #2999: fix name of third parameter in unicode.replace()'s docstring. 2008-05-30 07:54:16 +00:00
Raymond Hettinger 3c2523c2eb Issue 2903: Add __name__ in globals for namedtuple namespace. 2008-05-30 07:16:53 +00:00
Raymond Hettinger d99bee7c9f Issue 2855: Fix obscure crasher by slowing down the entire module. Mimics what was done to dictionaries in r59223. 2008-05-30 06:49:47 +00:00
Raymond Hettinger 65856600ed Issue 2784: fix leaks in exception exit. 2008-05-30 06:37:27 +00:00
Mark Dickinson 8df4e22a28 Fix typo in testSum 2008-05-30 02:46:53 +00:00
Brett Cannon 6983ff7475 Note that UserList and UserString were moved to 'collections' in 3.0. 2008-05-29 21:28:55 +00:00
Brett Cannon ef3dab28f2 Turn off debugging output for building bsddb. 2008-05-29 21:23:33 +00:00
Thomas Heller 9287acf83d ctypes NULL function pointers have a boolean False value now. 2008-05-29 19:42:34 +00:00
Thomas Heller a52b244cc1 Fix compiler warning. 2008-05-29 19:18:12 +00:00
Facundo Batista 4f1b1ed975 Fixed the semantic of timeout for socket.create_connection and
all the upper level libraries that use it, including urllib2.
Added and fixed some tests, and changed docs correspondingly.
Thanks to John J Lee for the patch and the pusing, :)
2008-05-29 16:39:26 +00:00
Georg Brandl f18a707205 Revert #2990 patch; it's not necessary as Armin showed. 2008-05-29 14:35:39 +00:00
Raymond Hettinger 2a9179ac73 Fix two typos. 2008-05-29 08:38:23 +00:00
Georg Brandl d0b592f8e8 #2985: allow i8 in XMLRPC responses. 2008-05-29 07:45:26 +00:00
Georg Brandl b77e888f41 #2988: add note about catching CookieError when parsing untrusted cookie data. 2008-05-29 07:38:37 +00:00
Georg Brandl 7943a3295d #2906: accept lists for options, and some cosmetic fixes in Tkinter. 2008-05-29 07:18:49 +00:00
Georg Brandl 457501bf20 Two fixes in bytearray docs. 2008-05-29 07:18:17 +00:00
Brett Cannon abb34fe9f3 UserString.MutableString has been removed in Python 3.0.
Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.
2008-05-29 05:08:50 +00:00
Georg Brandl 5ec330cb2f #2990: prevent inconsistent state while updating method cache. 2008-05-28 15:41:36 +00:00
Benjamin Peterson dee01d8af8 fix spelling 2008-05-28 11:51:41 +00:00
Georg Brandl 74a1deaab3 #2989: add PyType_Modified(). 2008-05-28 11:21:39 +00:00
Mark Hammond 88eeef35d7 bdist_wininst now works correctly when both --skip-build and --plat-name are specified. 2008-05-28 01:54:55 +00:00
Benjamin Peterson a436878419 update tutorial function with more appropiate one from Eric Smith 2008-05-28 01:12:35 +00:00
Jesus Cea dbd2f6d8a9 Better integration between Python testing and bsddb3 2008-05-27 13:26:02 +00:00
Lars Gustäbel b1a54a3530 Do not close external file objects passed to tarfile.open(mode='w:bz2')
when the TarFile is closed.
2008-05-27 12:39:23 +00:00
Gregory P. Smith 0902cac4b3 Disable the use of BerkeleyDB 4.6 on platforms that appear to have
issues with it.
2008-05-27 08:40:09 +00:00
Benjamin Peterson 1d31023b31 Improvements for test_py3kwarn
- Always show warnings so they are always catchable
- Make test_os_path_walk faster by walking a less populous directory
2008-05-27 01:42:29 +00:00
Benjamin Peterson 838c7b3619 remove some __getslice__ 2008-05-27 01:18:39 +00:00
Gregory P. Smith 933d3731de Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
passed in.  (The assert won't prevent this in non-debug builds).
2008-05-26 22:07:28 +00:00
Benjamin Peterson c1c83bb0de remove duplication in test module 2008-05-26 21:44:26 +00:00
Gregory P. Smith 23921f00e8 Fix issue2589: there was a potential integer overflow leading to
memory corruption on esoteric platforms and incorrect behavior on
normal platforms.
2008-05-26 21:16:34 +00:00
Benjamin Peterson 06abba3558 fix minor grammar typo 2008-05-26 20:43:24 +00:00
Benjamin Peterson 9171bed69a take Brett's advice on a few warnings 2008-05-26 20:41:45 +00:00
Gregory P. Smith 4036fd4b75 Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
the last reference to the Popen instance was dropped.  Adding explicit
close() calls fixes it.

Candidate for backport to release25-maint.
2008-05-26 20:22:14 +00:00
Benjamin Peterson 3aa84a7f28 warn about some members of the commands module 2008-05-26 19:41:53 +00:00
Benjamin Peterson b17ad2de08 wrap line 2008-05-26 19:37:11 +00:00
Gregory P. Smith 8f1a4a6828 Allow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even have
that installed yet but the module code supports it.
2008-05-26 19:29:14 +00:00
Gregory P. Smith 572226cad8 Define macros so that this still compiles on Python prior to r63675. 2008-05-26 19:03:35 +00:00
Benjamin Peterson dacde0d6ae turn PyErr_WarnPy3k into a macro 2008-05-26 17:43:53 +00:00
Benjamin Peterson eeb2b21ab0 add __all__ to test_support 2008-05-26 16:22:27 +00:00
Benjamin Peterson 2b4b5acf18 add PyByteArray docs 2008-05-26 15:54:26 +00:00
Georg Brandl 8de9119447 Add renaming notices to 3.0 http package members. 2008-05-26 15:01:48 +00:00
Benjamin Peterson 8b12ee1072 fix typo (thank Georg) 2008-05-26 14:51:54 +00:00
Benjamin Peterson 438e9ac4d4 fix a minor typo 2008-05-26 14:29:09 +00:00
Benjamin Peterson 404d182bba note that PyString and has been aliased to PyBytes 2008-05-26 14:02:09 +00:00
Christian Heimes 36f0a80bce Used vs9to8.py to port all VS9.0 changes to 8.0
Updated VS7.1 and VC6 project files
2008-05-26 13:51:41 +00:00
Christian Heimes 7a9906162b Updated NEWS 2008-05-26 13:15:11 +00:00
Benjamin Peterson d7c778477e put a big note on configure.in asking people to run autoconf 2008-05-26 13:01:25 +00:00