Commit graph

2486 commits

Author SHA1 Message Date
guido@google.com
2008a8f8c0 Merge Issue 11662 from 3.2 branch. 2011-03-29 12:02:49 -07:00
guido@google.com
c768ff5d4f Merge Issue 11662 from 3.1 branch. 2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3 Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Raymond Hettinger
2ebea41d31 Expose the namedtuple source with a _source attribute. 2011-03-23 12:52:23 -07:00
Raymond Hettinger
ba7b560c1d Fix set representation in an example. 2011-03-22 22:57:49 -07:00
Raymond Hettinger
b2d0945c87 Minor named tuple clean-ups. 2011-03-22 22:36:21 -07:00
Éric Araujo
c09fca67e7 Do not touch sys.path when site is imported and python was started with -S.
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly.  Fixes #11591.
2011-03-23 02:06:24 +01:00
Raymond Hettinger
f59c7b2bdd Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:34:28 -07:00
Raymond Hettinger
b1aef23316 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:53 -07:00
Raymond Hettinger
c706dbfa67 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:17 -07:00
Antoine Pitrou
36920354c7 Merge 2011-03-22 18:33:33 +01:00
Raymond Hettinger
608aba301e Issue #11625: Fix Typo 2011-03-22 09:12:18 -07:00
Raymond Hettinger
e5820c6b5d Issue #11625: Fix Typo 2011-03-22 09:11:39 -07:00
Georg Brandl
7878020035 Merge to default. 2011-03-21 08:55:42 +01:00
Georg Brandl
2f5cac6ab4 Merge to 3.2. 2011-03-21 08:55:31 +01:00
Georg Brandl
82d8ec5eef Fix duplicate word. 2011-03-21 08:55:16 +01:00
Éric Araujo
7582385887 Merge from 3.1 2011-03-20 18:32:51 +01:00
Éric Araujo
d40248777b Merge from 3.1 2011-03-20 18:31:42 +01:00
Éric Araujo
09eb980e3e Fix typo in class name 2011-03-20 18:30:37 +01:00
R David Murray
3d81d3e0d3 Markup fixes for #7198 patch.
Also corrected the indentation of one of the examples.
2011-03-20 11:33:17 -04:00
R David Murray
38a04e51f6 Merge markup fixes for #7198 patch. 2011-03-20 11:19:20 -04:00
R David Murray
9c0d5eaa70 Markup fixes for #7198 patch. 2011-03-20 11:18:21 -04:00
R David Murray
a50549b845 Fix footnote reference. 2011-03-20 11:08:10 -04:00
Skip Montanaro
5b5394c6df mention newline= in write doc 2011-03-20 09:50:43 -05:00
R David Murray
fb8b067360 Really merge #7198
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray
f453debb45 #7198: really add newline='' to csv.writer docs.
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04: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
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
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
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
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
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
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
Ezio Melotti
77845ce55a Fix typo. 2011-03-12 22:25:06 +02: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
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
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
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
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