Commit Graph

2460 Commits

Author SHA1 Message Date
R David Murray 9188702a75 #7198: add newlines='' to csv.writer docs. 2011-03-19 22:30:14 -04:00
Skip Montanaro c9b49f8759 untab 2011-03-19 13:07:10 -05:00
Skip Montanaro b7d1aebb66 *sigh* - i don't like this workflow at all 2011-03-19 13:05:58 -05:00
Skip Montanaro 482e7e061b merge from upstream 2011-03-19 13:03:33 -05:00
Antoine Pitrou 1679f4daa1 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:06:22 +01:00
Antoine Pitrou 7b98d02302 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou 877766dee8 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Skip Montanaro b61efd0a68 commit merge 2011-03-19 09:15:28 -05:00
Skip Montanaro b40dea7499 Mention RFC 4180. Based on input by Tony Wallace in issue 11456. 2011-03-19 09:09:30 -05:00
Ross Lagerwall 7807c3545d Issue #10812: Add some extra posix functions to the os module. 2011-03-17 20:20:30 +02:00
Ross Lagerwall ba102ec10d Issue #5870: Add subprocess.DEVNULL constant. 2011-03-16 18:40:25 +02:00
Ronald Oussoren c1577902c6 Fix typo in subprocess documentation. 2011-03-16 10:03:10 -04:00
Raymond Hettinger a2e7814b2d Forward port doc update. 2011-03-15 18:19:52 -07:00
Raymond Hettinger 15aded8b73 Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable. 2011-03-15 17:25:51 -07:00
Michael Foord ed1fce2ee5 merge 3.2 2011-03-15 19:22:19 -04:00
Michael Foord dcebe0f2dc Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution 2011-03-15 19:20:44 -04:00
R David Murray 31f218bc6b Merge #11216: document all possible set_charset execution paths. 2011-03-15 17:43:21 -04:00
R David Murray 729c5e203d Merge #11216: document all possible set_charset execution paths. 2011-03-15 17:42:50 -04:00
R David Murray e3d09ff269 #11216: document all possible set_charset execution paths. 2011-03-15 17:41:13 -04:00
Barry Warsaw 5b2c876842 Merged 2011-03-15 15:23:30 -04:00
Barry Warsaw 1f5c958721 - Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used
in a `with` statement.  Contributed by Giampaolo Rodola.
2011-03-15 15:04:44 -04:00
R David Murray ab1dfd68e1 Merge #11555 as_string doc fix from 3.2. 2011-03-15 14:04:00 -04:00
R David Murray 4a0b60c527 Merge #11555 as_string doc fix from 3.1. 2011-03-15 14:02:53 -04:00
R David Murray 7dedcb4644 #11555: update doc for 3.x change to as_string mangle_from default. 2011-03-15 14:01:18 -04:00
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