Raymond Hettinger
9aa1395916
Make the example cut and pasteable.
2012-04-27 09:55:31 -07:00
Raymond Hettinger
a68bdc720a
Improve docstring
2012-04-27 00:20:39 -07:00
Sandro Tosi
51a5ad43b5
fix footnote reference; thanks to Fizz from docs@
2012-04-25 19:55:30 +02:00
Antoine Pitrou
3815316714
Issue #14664 : It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).
2012-04-25 17:31:12 +02:00
Vinay Sajip
00086bb7e8
Fixed test to work on Windows.
2012-04-25 10:45:27 +01:00
Vinay Sajip
5820cc0f06
Updated year in docstring/comment.
2012-04-24 23:17:29 +01:00
Vinay Sajip
885f6fd472
Issue #14632 : Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch.
2012-04-24 23:15:10 +01:00
Lars Gustäbel
231d474a7b
Issue #14160 : TarFile.extractfile() failed to resolve symbolic links when
...
the links were not located in an archive subdirectory.
2012-04-24 22:42:08 +02:00
Sandro Tosi
13c598b1d8
Issue #14448 : mention pytz; patch by Andrew Svetlov
2012-04-24 19:43:33 +02:00
Sandro Tosi
466a5f20f1
Issue #14554 : correct example for captured_stdout()
2012-04-24 18:38:59 +02:00
Sandro Tosi
3f0f5776cd
Issue #13478 : document timeit.default_timer()
2012-04-24 18:11:29 +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
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
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
Senthil Kumaran
4c20c4e198
news for issue13684
2012-04-23 23:52:40 +08:00
Senthil Kumaran
0267185088
Fix for Issue13684 - httplib tunnel infinite loop
2012-04-23 23:46:46 +08:00
Benjamin Peterson
eda1959d07
add Mark Shannon
2012-04-23 11:25:32 -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
Senthil Kumaran
ea17082c25
Update 2.7 docs about legal characters allowed in Cookie name
2012-04-22 10:27:22 +08: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
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
9b5952d7cd
Remove webbrowser doc reference to the previously removed internet-config option.
2012-04-18 12:48:09 -07: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
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
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
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
8085f44844
Tweaked format of cookbook example.
2012-04-16 15:45:11 +01:00
Vinay Sajip
4e646aaf93
Added cookbook example for log insertion.
2012-04-16 15:27:55 +01:00
Vinay Sajip
7e9c9d51b6
Issue #14452 : remove BOM insertion code.
2012-04-16 14:38:23 +01:00
Antoine Pitrou
9945a64a8b
Issue #14589 : Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl.
2012-04-16 03:34:44 +02:00
Mark Dickinson
92678105c5
Remove accidentally-committed debugging code.
2012-04-15 16:45:31 +01:00
Mark Dickinson
0407e96061
Issue 13496: Fix bisect.bisect overflow bug for large collections.
2012-04-15 16:43:19 +01:00
Mark Dickinson
9c0baf7202
Issue #13889 : On MSVC builds, set FPU control word at runtime for all string <-> float conversions. Patch by Samuel Iseli and Stefan Krah.
2012-04-15 15:19:06 +01:00
R David Murray
9955ad4eb7
#14399 : corrected news item
2012-04-13 21:27:00 -04:00
Benjamin Peterson
7c0b44ec17
move outside WITH_THREAD conditional
2012-04-13 18:06:36 -04:00
Benjamin Peterson
6688eb536a
take linkage def outside of WITH_THREAD conditional ( closes #14569 )
2012-04-13 11:58:27 -04:00
Amaury Forgeot d'Arc
a4b2f9879c
merge heads
2012-04-13 02:32:51 +02:00
Amaury Forgeot d'Arc
78f85fcd1f
Issue14559: Attempt to fix compilation with previous versions of the Microsoft Compiler.
...
Update the various project files with Python/random.c which was recently added.
On my old Windows XP computer:
- VS8.0 works reasonably.
- I don't have the VS7.1 compiler.
- VC6 does not compile, at least with the SDK shipped with the compiler (12 years ago!); newer SDKs might work.
2012-04-13 01:38:25 +02:00
R David Murray
3f4ccbabaf
#14399 : zipfile now correctly handles comments added to empty zipfiles.
...
Patch by Serhiy Storchaka.
2012-04-12 18:42:47 -04:00
Charles-François Natali
0d3db3a815
Issue #14557 : Fix extensions build on HP-UX. Patch by Adi Roiban.
2012-04-12 19:11:54 +02:00
R David Murray
142ab32ecd
#14552 : remove redundant wording in 'test' docs.
...
Original patch by Tshepang Lekhonkhobe.
2012-04-11 20:38:45 -04:00
Benjamin Peterson
ff67046791
merge heads
2012-04-11 16:12:21 -04:00