Commit Graph

15363 Commits

Author SHA1 Message Date
Vinay Sajip 212b590e11 logging: Updated LoggerAdapter implementation. 2010-09-21 11:31:32 +00:00
Vinay Sajip c84f016988 Added some methods to LoggerAdapter, and updated documentation. 2010-09-21 11:25:39 +00:00
Benjamin Peterson 26d64aeee4 rewrite nocaret test to not rely on a specific SyntaxError 2010-09-20 21:47:37 +00:00
Barry Warsaw 0646b4bb77 test_get_makefile_filename() is not compatible with Windows. 2010-09-20 19:12:07 +00:00
Barry Warsaw ebbef6fef2 Issue 9877: expose sysconfig.get_makefile_filename() in the public API. 2010-09-20 15:29:53 +00:00
Vinay Sajip ae7d7fa0fe Reverted changes which were inadvertently committed. 2010-09-20 10:29:54 +00:00
Vinay Sajip 61c3f0dae7 logging: added hasHandlers() to LoggerAdapter. 2010-09-20 10:13:13 +00:00
Vinay Sajip b4a0809ad7 logging: Add hasHandlers() method to Logger. 2010-09-20 09:55:00 +00:00
Antoine Pitrou 3d8580f690 Try a more robust implementation of _kill_process 2010-09-20 01:33:21 +00:00
Antoine Pitrou 84e751a442 Try to fix buildbot failure (#9902) 2010-09-20 00:12:19 +00:00
Antoine Pitrou 7c08744f52 Make error more explicit in test_finalize_with_trace 2010-09-19 23:28:30 +00:00
Antoine Pitrou fedd481596 Try to make signal-sending tests in test_subprocess more robust on slow machines 2010-09-19 23:06:53 +00:00
Antoine Pitrou fb8db8f635 Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot 2010-09-19 22:46:05 +00:00
Senthil Kumaran 5cc9a052c1 Update the test_distutils mode test to test with umask value properly. 2010-09-19 03:09:54 +00:00
Florent Xicluna eb19dce085 Issue #1686: Fix string.Template when overriding the pattern attribute. 2010-09-18 23:34:07 +00:00
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 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
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
Raymond Hettinger 35c87f2b8e Issue 9865: add __sizeof__ to OrderedDict. 2010-09-16 19:10:17 +00:00
Antoine Pitrou aee47561fc Relax test condition (fix failures on FreeBSD buildbots) 2010-09-16 15:04:49 +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
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 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 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
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
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
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 8552d1fc8f Added test for QueueHandler. 2010-09-14 09:34:09 +00:00
Alexander Belopolsky e1b6a9ac99 Added files missed in r84780. Thanks, Florent. 2010-09-14 01:11:35 +00:00
Raymond Hettinger 98a5f3f838 Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods. 2010-09-13 21:36:00 +00:00
Daniel Stutzbach 9f0cbf1c72 Issue #9213: Add index and count methods to range objects, needed to
meet the API of the collections.Sequence ABC.
2010-09-13 21:16:29 +00:00
Eric Smith e4d6317c87 Issue 7994: Make object.__format__() raise a PendingDeprecationWarning
if the format string is not empty. Manually merge r79596 and r84772
from 2.x.

Also, apparently test_format() from test_builtin never made it into
3.x. I've added it as well. It tests the basic format()
infrastructure.
2010-09-13 20:48:43 +00:00
Vinay Sajip af9d10aa30 logging: enhanced HTTPHandler 2010-09-13 20:40:30 +00:00