R David Murray
deaa678952
Merge redundant __contains__ doc fix from 3.2.
2011-03-14 22:54:19 -04:00
R David Murray
c48c19afe0
Merge redundant __contains__ doc fix from 3.1.
2011-03-14 22:53:29 -04:00
R David Murray
f6db0bbbee
Remove redundant __contains__ entry from Message docs.
2011-03-14 22:43:38 -04:00
Michael Foord
1341bb0019
Closes issue 11407. TestCase.run returns the result object used or created
2011-03-14 19:01:46 -04:00
Gregory P. Smith
54d412edcc
Add a SubprocessError base class for exceptions in the subprocess module.
2011-03-14 14:08:43 -04:00
Reid Kleckner
28f130320b
Change versionchanged for timeout to 3.3, not 3.2.
2011-03-14 12:36:53 -04:00
Reid Kleckner
31aa7dd141
Add a 'timeout' argument to subprocess.Popen.
...
If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception. When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.
2011-03-14 12:02:10 -04:00
Ross Lagerwall
41b1228525
Merge with 3.2
2011-03-14 10:42:24 +02:00
Ross Lagerwall
13312638b3
Merge from 3.1
2011-03-14 10:41:58 +02:00
Ross Lagerwall
8fea2e6a50
Issue #10885 : Fix multiprocessing docs typo
2011-03-14 10:40:15 +02:00
Benjamin Peterson
6cb2b923e0
convert ast versioning to mercurial
2011-03-12 18:28:16 -06:00
Ezio Melotti
77845ce55a
Fix typo.
2011-03-12 22:25:06 +02:00
Benjamin Peterson
32b0127007
merge 3.2
2011-03-12 11:59:10 -06:00
Benjamin Peterson
62e0b90be2
merge 3.1
2011-03-12 11:58:40 -06:00
Benjamin Peterson
ab2b71699c
trunc -> math.trunc ( closes #11475 )
2011-03-12 11:58:15 -06:00
Éric Araujo
e4f6a80ed8
Fix example in atexit doc: Both open and read could raise the IOError ( #10461 follow-up).
...
Thanks to SilenGhost for catching this.
2011-03-12 15:56:09 +01:00
Senthil Kumaran
e858bca356
forward merge from 3.1
2011-03-12 11:42:33 +08:00
Senthil Kumaran
abd4a05561
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 11:40:25 +08:00
orsenthil@gmail.com
476021b3d0
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 10:46:25 +08:00
Éric Araujo
a3dd56b6cf
Use with statement where it improves the documentation ( closes #10461 )
2011-03-11 17:42:48 +01:00
Eli Bendersky
a7a1c15111
merge from 3.1
2011-03-11 16:39:04 +02:00
Eli Bendersky
9cc6249dee
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 16:33:36 +02:00
Eli Bendersky
6860a92be0
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 15:47:36 +02:00
R David Murray
ee30a0be35
Merge #10999 fix.
2011-03-10 17:38:50 -05:00
R David Murray
5647c473bc
Merge #10999 fix.
2011-03-10 17:22:33 -05:00
R David Murray
30178068d9
#10999 : Add missing documentation for chflags constants to stat module docs
...
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti
c29cd9384a
Use simpler assert in basic example.
2011-03-10 23:38:18 +02:00
Ezio Melotti
a2087d0a5a
Merge from 3.2.
2011-03-10 13:54:21 +02:00
Ezio Melotti
40dcb1d287
Port a couple of changes from 3.1.
2011-03-10 13:46:50 +02:00
Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Ezio Melotti
684d78cfb0
#11298 : merge from 3.2.
2011-03-08 16:49:57 +02:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02:00
Georg Brandl
1ebca48030
Merge doc fixes.
2011-03-06 11:12:54 +01:00
Georg Brandl
891391bf68
Merge doc fixes.
2011-03-06 11:12:42 +01:00
Georg Brandl
1d0a0f5060
#11294 : add missing ERA_T_FMT to locale docs.
2011-03-06 11:09:51 +01:00
Georg Brandl
931e5c1038
#11292 : add missing A_REVERSE to curses attribute table.
2011-03-06 11:08:35 +01:00
Georg Brandl
45ec333c72
#11227 : use Host header in asyncore example.
2011-03-06 11:05:03 +01:00
Georg Brandl
12a6153aee
#11373 : fix spelling.
2011-03-06 10:57:52 +01:00
Georg Brandl
da2271939a
#11392 : you can trust the computer, but you have to know what it does.
2011-03-06 10:53:55 +01:00
Georg Brandl
776e586114
Remove sys.subversion and svn build identification leftovers.
2011-03-06 10:35:42 +01:00
Eli Bendersky
0716a579a4
Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods
2011-03-04 10:38:14 +00:00
Giampaolo Rodolà
424298a155
Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement.
2011-03-03 18:34:06 +00:00
Eli Bendersky
4db28d3343
Issue #10516 : added copy() and clear() methods to bytearrays as well
2011-03-03 18:21:02 +00:00
Victor Stinner
1dfd380306
Issue #11377 : Deprecate platform.popen() and reimplement it with os.popen().
2011-03-03 12:54:07 +00:00
Fred Drake
c7eb7894d3
Merged revisions 88717 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines
issue 11372: use range instead of xrange
........
2011-03-03 05:29:59 +00:00
Fred Drake
446230664b
issue 11372: use range instead of xrange
2011-03-03 05:27:17 +00:00
Éric Araujo
c613b6bce1
Remove outdated pointer to optparse ( fixes #11360 ).
...
The doc already points to argparse.
2011-03-01 18:26:56 +00:00
Antoine Pitrou
6120d87d32
Merged revisions 88686 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines
Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
........
2011-02-28 23:03:28 +00:00
Antoine Pitrou
f06576dc2b
Recommend inspecting the errno attribute of socket.error objects,
...
and improve wording.
2011-02-28 22:38:07 +00:00
Antoine Pitrou
061cfb5258
Issue #10866 : Add socket.sethostname(). Initial patch by Ross Lagerwall.
2011-02-28 22:25:22 +00:00