Commit graph

68714 commits

Author SHA1 Message Date
Sandro Tosi
e6c3462607 Issue #13478: document timeit.default_timer() 2012-04-24 18:11:46 +02:00
Sandro Tosi
3f0f5776cd Issue #13478: document timeit.default_timer() 2012-04-24 18:11:29 +02:00
Sandro Tosi
08ccbf4be9 Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa 2012-04-24 17:36:41 +02:00
Sandro Tosi
45c6a3cae7 Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa 2012-04-24 17:36:14 +02:00
Benjamin Peterson
7b1668735a don't use a slot wrapper from a different special method (closes #14658)
This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
2012-04-24 11:06:25 -04:00
Benjamin Peterson
d157a4c3dd don't use a slot wrapper from a different special method (closes #14658)
This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
2012-04-24 11:06:25 -04:00
Raymond Hettinger
e65753e09e merge 2012-04-23 21:26:58 -07:00
Raymond Hettinger
ce0e0c7671 Improve section heading for better discoverability. 2012-04-23 21:26:35 -07:00
Raymond Hettinger
4c8d392bc1 Reorder the entries to put the type specific technique last. 2012-04-23 21:24:15 -07:00
R David Murray
393b7b59a4 #14640: Fix typos/syntax in pyporting.rst.
Patch by Dionysios Kalofonos.
2012-04-23 14:46:39 -04:00
R David Murray
790e005669 #14640: Fix typos/syntax in pyporting.rst.
Patch by Dionysios Kalofonos.
2012-04-23 14:44:00 -04:00
Sandro Tosi
cfdba61c3c Issue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos 2012-04-23 19:45:07 +02:00
Sandro Tosi
da999d29ab Issue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos 2012-04-23 19:44:51 +02:00
R David Murray
c313b1d9b0 #14638: pydoc now treats non-str __name__ as None instead of raising
Original patch by Peter Otten.
2012-04-23 13:27:11 -04:00
R David Murray
c43125a05c #14638: pydoc now treats non-str __name__ as None instead of raising
Original patch by Peter Otten.
2012-04-23 13:23:57 -04:00
Senthil Kumaran
88ec6209cf news for issue13684 2012-04-23 23:53:16 +08:00
Senthil Kumaran
4c20c4e198 news for issue13684 2012-04-23 23:52:40 +08:00
Senthil Kumaran
b12771ab30 3.2 - Fix for Issue13684 - httplib tunnel infinite loop 2012-04-23 23:50:07 +08:00
Senthil Kumaran
0267185088 Fix for Issue13684 - httplib tunnel infinite loop 2012-04-23 23:46:46 +08:00
Benjamin Peterson
2cc52efa7c add Mark Shannon 2012-04-23 11:25:32 -04:00
Benjamin Peterson
eda1959d07 add Mark Shannon 2012-04-23 11:25:32 -04:00
Benjamin Peterson
7a436c5a53 sleep here 2012-04-23 10:08:14 -04:00
Benjamin Peterson
19e9beb2db sleep here 2012-04-23 10:08:14 -04:00
Raymond Hettinger
016878aea6 merge 2012-04-23 00:22:48 -07:00
Nick Coghlan
37fc401188 Close issue #14026 by better testing sys.argv handling in test_cmd_line_script (patch by Jason Yeo) 2012-04-22 17:11:33 +10:00
Senthil Kumaran
a42665f4d4 issue2193 - Update 3.2 docs about legal characters allowed in Cookie name 2012-04-22 10:30:17 +08:00
Senthil Kumaran
ea17082c25 Update 2.7 docs about legal characters allowed in Cookie name 2012-04-22 10:27:22 +08:00
Mark Dickinson
bcc17eefd2 Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of an int subclass. 2012-04-20 21:42:49 +01:00
Martin v. Löwis
63674f4b52 Issue #14629: Raise SyntaxError in tokenizer.detect_encoding
if the first two lines have non-UTF-8 characters without an encoding declaration.
2012-04-20 14:36:47 +02:00
Antoine Pitrou
52849bfaa3 Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork(). 2012-04-19 23:55:01 +02:00
Antoine Pitrou
8e6e0fdb7f Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork(). 2012-04-19 23:55:01 +02:00
Nick Coghlan
10ac77d2d8 Close #14032: fix incorrect variable reference in test_cmd_line_script 2012-04-19 22:19:36 +10:00
Ezio Melotti
0780b6bc58 #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:18:22 -06:00
Ezio Melotti
c45868ec69 #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:08:41 -06:00
Gregory P. Smith
a72aa843b6 Fix compiler warning related to issue #14331. harmless. 2012-04-18 16:41:56 -07:00
Ned Deily
cc19140607 Remove webbrowser doc reference to the previously removed internet-config option. 2012-04-18 12:48:52 -07:00
Ned Deily
9b5952d7cd Remove webbrowser doc reference to the previously removed internet-config option. 2012-04-18 12:48:09 -07:00
Benjamin Peterson
2c1414661d improve 2012-04-18 11:25:12 -04:00
Benjamin Peterson
76605557ea SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) 2012-04-18 11:14:31 -04:00
Benjamin Peterson
e42fb307ed SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) 2012-04-18 11:14:31 -04:00
Raymond Hettinger
094c33f047 Minor fixups. 2012-04-18 00:25:32 -04:00
Raymond Hettinger
33c66301ee Clean-up the SQLite introduction. 2012-04-17 22:48:06 -04:00
Benjamin Peterson
32c59b6fc1 mangle keyword-only argname when loading defaults (closes #14607) 2012-04-17 19:53:21 -04:00
Raymond Hettinger
0e15a6e244 Clarify that a new connection needs to be made after the close. 2012-04-17 15:03:20 -04:00
Charles-François Natali
ab2d58eefa Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can
chown() to root under certain circumstances.
2012-04-17 19:48:35 +02:00
Charles-François Natali
f838764444 Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can
chown() to root under certain circumstances.
2012-04-17 19:46:06 +02:00
Vinay Sajip
62930e1cc5 Corrected version numbers in cookbook example. 2012-04-17 00:40:48 +01:00
Vinay Sajip
59b9a79a5a Tweaked format of cookbook example. 2012-04-16 15:46:18 +01:00
Vinay Sajip
8085f44844 Tweaked format of cookbook example. 2012-04-16 15:45:11 +01:00
Vinay Sajip
b00e8f108d Added cookbook example for BOM insertion. 2012-04-16 15:28:50 +01:00