Vinay Sajip
da75dd2a9b
Added a configuration dictionary example to the logging cookbook.
2011-11-23 14:27:11 +00:00
Vinay Sajip
3639807a79
Closes #13459 : Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch.
2011-11-23 08:51:35 +00:00
Benjamin Peterson
42d96dc07d
no python objects to manage here
2011-11-22 23:56:06 -06:00
Benjamin Peterson
fde82169e1
plug refleak
2011-11-22 23:12:49 -06:00
Antoine Pitrou
aa1c967f93
Issue #13458 : Fix a memory leak in the ssl module when decoding a certificate with a subjectAltName.
...
Patch by Robert Xiao.
2011-11-23 01:39:19 +01:00
Victor Stinner
091b6ef793
Issue #13436 : Fix unsetenv() test on Windows
2011-11-22 22:30:19 +01:00
Victor Stinner
53853c3fa9
Issue #13415 : os.unsetenv() doesn't ignore errors anymore.
2011-11-22 22:20:13 +01:00
Charles-François Natali
6392d7f68b
Issue #12156 : Skip test_multiprocessing on systems which don't support enough
...
POSIX semaphores (among which FreeBSD < 8).
2011-11-22 18:35:18 +01:00
Victor Stinner
975134e2a2
Issue #13093 : Fix error handling on PyUnicode_EncodeDecimal()
...
Add tests for PyUnicode_EncodeDecimal()
2011-11-22 01:54:19 +01:00
Antoine Pitrou
5aa7df320f
Issue #13322 : Fix BufferedWriter.write() to ensure that BlockingIOError is
...
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
2011-11-21 20:16:44 +01:00
Victor Stinner
9d38b0dcb2
Close #13401 : Skip TestFileTypeW of test_argparse if the current user is root
...
Patch written by Arfrever Frehtes Taifersar Arahesis.
2011-11-20 23:09:09 +01:00
Raymond Hettinger
421467f8f0
Note the store_true and store_false also create the appropriate defaults.
2011-11-20 11:05:23 -08:00
Raymond Hettinger
7d1483cbad
Make an error message more understandable and consistent with other error messages.
2011-11-20 10:38:53 -08:00
Mark Dickinson
b19284f6eb
Issue #12245 : Document sys.float_info.rounds better.
2011-11-19 16:26:08 +00:00
Ezio Melotti
aa512f05a4
#13387 : add note about checking the exact type in assertIsInstance doc.
2011-11-18 18:59:36 +02:00
Ezio Melotti
169ed5946a
#11112 : Fix typo in a base class in test_socket.
2011-11-18 18:33:14 +02:00
Ezio Melotti
00dc60beee
#13358 : HTMLParser now calls handle_data only once for each CDATA.
2011-11-18 18:00:40 +02:00
Ezio Melotti
93bbb6a9a6
#4147 : minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg.
2011-11-18 17:30:28 +02:00
Ezio Melotti
ba41c6a1c3
#13426 : fix typo in pickle doc.
2011-11-18 13:41:58 +02:00
Jason R. Coombs
5d032c0f95
PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750
2011-11-17 18:03:24 -05:00
Eli Bendersky
9efddb654b
fixing typos in optparse doc
2011-11-16 06:01:14 +02:00
Eli Bendersky
ea4dcd33e5
remove duplicated paragraph in the tutorial
2011-11-16 05:54:07 +02:00
Ned Deily
174c4f897f
Issue #8793 : Prevent IDLE crash in 2.7 when given strings with
...
invalid hex escape sequences.
2011-11-15 18:29:02 -08:00
Antoine Pitrou
30402549de
Issue #13333 : The UTF-7 decoder now accepts lone surrogates
...
(the encoder already accepts them).
2011-11-15 01:49:40 +01:00
Victor Stinner
16ed86831b
Issue #7732 : Try to fix the a failing test on Windows
...
It doesn't matter if imp.find_module() fails with ImportError or IOError, but
it should not crash.
2011-11-14 20:50:36 +01:00
Ezio Melotti
0f1571ce7f
#1745761 , #755670 , #13357 , #12629 , #1200313 : improve attribute handling in HTMLParser.
2011-11-14 18:04:05 +02:00
Ezio Melotti
74592919d6
Group tests about attributes in a separate class.
2011-11-08 02:07:18 +02:00
Eli Bendersky
eb7113888e
Normalize the keyword arguments documentation notation in re.rst. Closes issue #12875
2011-11-14 01:02:20 +02:00
Petri Lehtinen
c20224da22
Merge heads
2011-11-12 21:24:46 +02:00
Petri Lehtinen
ab42abd160
Update mailbox.Maildir tests
...
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().
Closes #11999
Refs #13254
2011-11-12 21:02:42 +02:00
Eli Bendersky
3a8501e71f
Closes issue 12767: document the argument of threading.Condition.notify
2011-11-12 20:51:54 +02:00
Antoine Pitrou
667383c8d4
Issue #13193 : Fix distutils.filelist.FileList under Windows. The
...
"recursive-include" directive now recognizes both legal path separators.
2011-11-12 01:33:59 +01:00
Eli Bendersky
a203cedf44
Issue #12875 : explicitly specify default value of the optional 'flags' argument to re.* functions. Closes #12875
2011-11-11 21:25:56 +02:00
Eli Bendersky
d784185303
Issue #13161 : fix doc strings of __i*__ operators
2011-11-11 16:52:16 +02:00
Eli Bendersky
bba1dd5332
Issue #13191 : typo in argparse docs
2011-11-11 16:42:11 +02:00
Antoine Pitrou
6a570d6b9a
Issue #13373 : multiprocessing.Queue.get() could sometimes block indefinitely
...
when called with a timeout. Patch by Arnaud Ysmal.
2011-11-10 00:33:50 +01:00
Jesus Cea
cb65f3249a
Partial patch for issue #11812 : Take care of test_telnetlib.py
2011-11-08 16:06:44 +01:00
Jesus Cea
71094b5d5b
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
2011-11-08 15:54:42 +01:00
Vinay Sajip
53703d9d72
Closes #13361 : Raise correct exception type.
2011-11-07 10:13:18 +00:00
Vinay Sajip
74ab3440ba
Closes #13661 : Check added for type of logger name.
2011-11-07 08:49:16 +00:00
Vinay Sajip
caf0272d40
Closes #13356 . Thanks to Florent Xicluna for the patch.
2011-11-07 08:43:51 +00:00
Vinay Sajip
5df091a91e
Closes issue #13353 : version doumentation about utc parameter corrected.
2011-11-06 22:37:17 +00:00
Petri Lehtinen
3b9d92aefe
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
...
Issue #13340 .
2011-11-06 20:59:01 +02:00
Ezio Melotti
030aa35a1b
Silence a couple of warnings.
2011-11-06 18:50:32 +02:00
Ezio Melotti
b22c3fe5d8
Fix another callable warning.
2011-11-06 17:50:52 +02:00
Ezio Melotti
152d61aa5b
Fix tests now that the callable warning is gone.
2011-11-06 17:17:52 +02:00
Benjamin Peterson
a5ae1f0c25
remove py3k warning for callable
2011-11-06 08:20:12 -05:00
Petri Lehtinen
819d8d447d
Accept None as start and stop parameters for list.index() and tuple.index()
...
Closes #13340 .
2011-11-05 23:18:06 +02:00
Éric Araujo
972ba9e41f
Add missing versionadded ( fixes #12392 )
2011-11-05 17:55:03 +01:00
Petri Lehtinen
416ecffcc4
Issue #3067 : Enhance the documentation and docstring of locale.setlocale()
2011-11-05 10:18:50 +02:00