Commit Graph

43336 Commits

Author SHA1 Message Date
Antoine Pitrou 98b46702d2 Issue #9854: SocketIO objects now observe the RawIOBase interface in
non-blocking mode: they return None when an operation would block (instead
of raising an exception).
2010-09-18 22:59:00 +00:00
Antoine Pitrou 8db3027e6a Issue #9895: speed up test_subprocess 2010-09-18 22:38:48 +00:00
Brian Quinlan 81c4d36928 Initial implementation of PEP 3148 2010-09-18 22:35:02 +00:00
Antoine Pitrou 679e0f2328 Issue #9894: Do not hardcode ENOENT in test_subprocess.
(GNU/Hurd is not dead)
2010-09-18 17:56:02 +00:00
Hirokazu Yamamoto f2dec8d6f1 In Python3000, Tkinter was renamed to tkinter. And print is now function. 2010-09-18 04:42:41 +00:00
Hirokazu Yamamoto 35aa08376b Applied r84870 to older compilers. 2010-09-18 04:02:52 +00:00
Hirokazu Yamamoto 2cdacd7495 Added missing BaseTest.tearDown(self). Fixed refleak. 2010-09-18 03:54:32 +00:00
Senthil Kumaran 0c25b45bd8 Skip the distutils mode test on Windows OS. 2010-09-18 02:55:03 +00:00
Hirokazu Yamamoto 90387ff4b0 regrtest.py now runs python in build/test_python_xxx. (deeper than here)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as
relative path. (Windows)
2010-09-18 00:31:44 +00:00
Amaury Forgeot d'Arc 6c9c09058f Remove unused code in posixmodule.c 2010-09-17 23:39:42 +00:00
Vinay Sajip bc85d848f5 Temporarily commented out test which succeeds locally but fails on buildbots, while investigating. 2010-09-17 23:35:29 +00:00
Victor Stinner e797c16f84 Issue #767645: Set os.path.supports_unicode_filenames to True in posixpath
Previous commit changed macpath but macpath is not used anymore as os.path
2010-09-17 23:34:26 +00:00
Amaury Forgeot d'Arc d61d077bf5 #1730136: Fix comparison between a tk Font object and an object of a different type. 2010-09-17 23:27:09 +00:00
Vinay Sajip 19ec67acf6 Issue #9441: logging: Improved test coverage for rotating file handlers. 2010-09-17 18:57:36 +00:00
Senthil Kumaran 9b86a69fc7 Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter 2010-09-17 16:35:37 +00:00
Vinay Sajip ac00799d61 Improved Filter documentation. 2010-09-17 12:45:26 +00:00
Vinay Sajip c8c8c6968b Improved basicConfig and custom level documentation. 2010-09-17 10:09:04 +00:00
Hirokazu Yamamoto fc2e1d10bc Let's see if tcl/tk test runs on windows buildbot with this fix. 2010-09-17 08:53:31 +00:00
Raymond Hettinger 8f5dbc83ea Fix typo in example regular expression. 2010-09-17 06:26:45 +00:00
Raymond Hettinger 35c87f2b8e Issue 9865: add __sizeof__ to OrderedDict. 2010-09-16 19:10:17 +00:00
Hirokazu Yamamoto 234f88dc73 Issue #9810: Compile bzip2 source files in python's project file
directly. It used to be built with bzip2's makefile.
2010-09-16 17:50:57 +00:00
Antoine Pitrou aee47561fc Relax test condition (fix failures on FreeBSD buildbots) 2010-09-16 15:04:49 +00:00
Raymond Hettinger 37ade9cb61 Add tokenizer example to regex docs. 2010-09-16 12:02:17 +00:00
Raymond Hettinger c1cc0d08d4 Remove unneeded exception chaining. 2010-09-16 08:06:05 +00:00
Raymond Hettinger 3255c63e28 Improve comment 2010-09-16 00:31:21 +00:00
Giampaolo Rodolà 86909b50b7 rename DISCONNECTED global constant in _DISCONNECTED 2010-09-15 21:59:04 +00:00
Giampaolo Rodolà 985b68e611 Store all errors signaling a disconnection into a global frozenset to save some computation time on recv() and send(). 2010-09-15 21:43:47 +00:00
Antoine Pitrou 7d49bc9911 Move library changes to the right section 2010-09-15 15:13:17 +00:00
Antoine Pitrou d305200755 Add entries to whatsnew 2010-09-15 15:09:40 +00:00
Matthias Klose cf1dd711a4 Try harder on issue #7356: ctypes.util: Make parsing of ldconfig output
independent of the locale. Set LC_ALL=C too.
2010-09-15 13:06:09 +00:00
Antoine Pitrou 8dd2387a60 Reverted unwanted change in r84826 2010-09-15 11:12:57 +00:00
Antoine Pitrou 11cb961b38 Add cross-references to the glossary entry for file objects. 2010-09-15 11:11:28 +00:00
Antoine Pitrou 6a11a98b7c Update file-related information in the FAQ. 2010-09-15 10:08:31 +00:00
Antoine Pitrou 0b65b0fc83 Add a glossary entry for file objects. 2010-09-15 09:58:26 +00:00
Antoine Pitrou 5aa0d10560 Improve docs for socket.makefile() and SocketIO 2010-09-15 09:32:45 +00:00
Antoine Pitrou 872b79d02f Add a comment explaining why SocketIO is needed 2010-09-15 08:39:25 +00:00
Raymond Hettinger f77c1d6adb Clarify where support for negative indices fall in the language hierarchy. 2010-09-15 00:09:26 +00:00
Raymond Hettinger 476a31ef1e Issue 9802: Document min()/max() sort stability 2010-09-14 23:13:42 +00:00
Raymond Hettinger 1006bd459b Future proof total_ordering against changes in methods defined on object. 2010-09-14 22:55:13 +00:00
Antoine Pitrou 2e55fec14c Make testDefaults in test.test_socket.BasicSocketPairTest more reliable. 2010-09-14 21:24:25 +00:00
Brett Cannon b82489dd7f setup.py was trying to build _weakref which is redundant as it's a built-in
module.

Closes issue #9848. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug
report.
2010-09-14 19:41:23 +00:00
Raymond Hettinger f7328d026b Improve iteration speed by only proxying back links.
The forward links are hard references.
The sentinel element is also a weakref proxy
(to break a forward cylce wrapping around the sentinel).
2010-09-14 19:40:15 +00:00
Antoine Pitrou 328ec7455f Issue #9854: The default read() implementation in io.RawIOBase now
handles non-blocking readinto() returning None correctly.
2010-09-14 18:37:24 +00:00
Antoine Pitrou 9e0b864ac0 Issue #1552: socket.socketpair() now returns regular socket.socket
objects supporting the whole socket API (rather than the "raw"
_socket.socket objects).
2010-09-14 18:00:02 +00:00
Daniel Stutzbach 38615993b0 Remove pointers to a FAQ entry that no longer exists. Incorporate some text from the old FAQ into the docs 2010-09-14 16:02:01 +00:00
Antoine Pitrou a468adc76d Issue #9853: Fix the signature of SSLSocket.recvfrom() and
SSLSocket.sendto() to match the corresponding socket methods.
2010-09-14 14:43:44 +00:00
Alexander Belopolsky 9bfc0f0984 Issue 9315: Added test/tracedmodules to LIBSUBDIRS 2010-09-14 14:12:19 +00:00
Antoine Pitrou 3d330add9e Remove C++-style comments 2010-09-14 10:08:08 +00:00
Antoine Pitrou 2ed94eb520 Do not print additional shutdown message when gc.DEBUG_SAVEALL is set 2010-09-14 09:48:39 +00:00
Vinay Sajip 0055c421fe Tidied example script. 2010-09-14 09:42:39 +00:00