Commit Graph

49431 Commits

Author SHA1 Message Date
Benjamin Peterson e26f482742 fix missing variable declarations 2011-03-26 18:09:55 -05:00
Benjamin Peterson de39047cc6 always check return value of PyObject_IsInstance for error 2011-03-26 18:04:09 -05:00
Benjamin Peterson f21ad92351 check possible recursive _as_parameter_ to prevent segfault (closes #1838) 2011-03-26 17:56:28 -05:00
Antoine Pitrou 41347fe011 In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
2011-03-26 22:08:21 +01:00
Steven Bethard 5e0062d25a Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.) 2011-03-26 21:50:38 +01:00
Steven Bethard 3f69a059b9 Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.) 2011-03-26 19:59:02 +01:00
Steven Bethard 539586296d Issue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge from 3.2.) 2011-03-26 17:57:52 +01:00
Mark Dickinson 874d59ee91 Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long. 2011-03-26 12:18:00 +00:00
Mark Dickinson d3cb2f6e2c Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. 2011-03-26 10:02:37 +00:00
Éric Araujo 254d4b851d Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
2011-03-26 02:09:14 +01:00
Éric Araujo 10ab95a271 Remove untrue statement from tutorial 2011-03-26 01:26:08 +01:00
Éric Araujo 8bea9a5b13 Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-26 01:24:47 +01:00
Raymond Hettinger 9aa5a34b6b Issue #11666: Teach pydoc to display full help for named tuples 2011-03-25 16:00:13 -07:00
Mark Dickinson f9e9a6f403 Issue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of type long. Thanks Robert Kern. 2011-03-25 22:01:06 +00:00
Benjamin Peterson d480d93f61 merge heads 2011-03-25 16:58:31 -05:00
Benjamin Peterson 7859d4098c remove this dead subversion code 2011-03-25 16:57:30 -05:00
Kurt B. Kaiser 7548bce0ee <Home> toggle failing on Tk 8.5, causing IDLE exits. Issue 3851. 2011-03-25 17:48:27 -04:00
Ezio Melotti 4664563f34 #2650: Refactor re.escape and its tests. 2011-03-25 14:50:52 +02:00
Eli Bendersky 72de205895 Issue #11634: Remove misleading paragraph from a comment 2011-03-24 22:38:25 +02:00
Éric Araujo f079c9bfbf Fix obscure set crashers (#4420). Backport of d56b3cafb1e6, reviewed by Raymond. 2011-03-22 23:47:32 +01:00
Raymond Hettinger 1fd26525a4 Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 17:51:57 -07:00
Raymond Hettinger 405a4717e1 Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:52:46 -07:00
Raymond Hettinger b76f6200d2 Issue 10988: fix description of super's descriptor call. 2011-03-22 15:28:45 -07:00
Éric Araujo 4fbd88a078 Fix typo spotted by Sandro Tosi 2011-03-22 21:45:42 +01:00
Raymond Hettinger 911da47996 Issue #11628: cmp_to_key should use__slots__. 2011-03-22 13:20:59 -07:00
Raymond Hettinger 7250730afc Issue #11625: Fix Typo 2011-03-22 09:06:38 -07:00
Martin v. Löwis fe67be1df3 null merge 2011-03-21 10:32:02 +01:00
Martin v. Löwis f23c515e5b null merge 2011-03-21 10:31:44 +01:00
Martin v. Löwis ce5d0e22fc Set subversion version identification to empty strings if this is not a subversion
checkout (but a mercurial one). Closes #11579. Closes #11421.
Patch by Senthil Kumaran.
2011-03-21 10:30:07 +01:00
Georg Brandl b6dc81df2b Fix duplicate word. 2011-03-21 08:55:16 +01:00
Éric Araujo 86f9074c5f Fix some issue references in NEWS 2011-03-21 00:15:26 +01:00
Éric Araujo c75f26511b Fix typo in class name 2011-03-20 18:34:24 +01:00
Benjamin Peterson ec5b5cb489 the name of the option is a bit too low-level 2011-03-20 12:24:20 -05:00
Guido van Rossum dbd4efa21f Merge from 2.6. 2011-03-19 16:23:18 -07:00
Guido van Rossum d7bed77815 Whoops. The copyright should be two lines (merge from 2.5). 2011-03-19 16:20:39 -07:00
Guido van Rossum 197f7f6859 Whoops. The copyright should be two lines. 2011-03-19 16:20:06 -07:00
Guido van Rossum 3a6134569f Test commit. Add 2011 to copyright line (merge from 2.6). 2011-03-19 16:18:02 -07:00
Guido van Rossum 54b76d4299 Test commit. Add 2011 to copyright line (merge from 2.5). 2011-03-19 16:17:14 -07:00
Guido van Rossum deeb71e8a0 Test commit. Add 2011 to copyright line. 2011-03-19 16:14:44 -07:00
Raymond Hettinger dbc5e1280f Minor doc clean-up.
* Show list of fields option before showing the single string alternative.
* Remove the PS2 prompts so that the examples become cut-and-pastable.
2011-03-19 15:09:00 -07:00
Éric Araujo 374274db7f Fix the total_ordering decorator to handle cross-type comparisons
that could lead to infinite recursion (closes #10042).
2011-03-19 04:29:36 +01:00
Michael Foord 5136867c1b News update for previous commit 2011-03-17 12:59:38 -04:00
Michael Foord 8faa20751d Issue #10979. unittest stdout buffering now works for class and module fixtures. 2011-03-17 12:48:56 -04:00
Senthil Kumaran 5a9a5080cf branch merge. 2011-03-17 14:43:21 +08:00
Senthil Kumaran 2e617307bc merge from 2.6 branch 2011-03-17 14:24:35 +08:00
Senthil Kumaran dfd1579e54 merge from 2.5 branch. 2011-03-17 14:23:24 +08:00
Senthil Kumaran 3853586e0c Fix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks.
Patch by Tom N. (Backported from py3k codeline).
2011-03-17 12:34:18 +08:00
Kurt B. Kaiser 020d3d9856 <Home> toggle non-functional when NumLock set.
Issue3851
2011-03-17 00:05:38 -04:00
Michael Foord 764d75f325 Changes for Wing Project file caused by mercurial transition. Plus ignoring python.exe-gdb.py. 2011-03-16 22:28:08 -04:00
Michael Foord 4c9e91a092 Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual 2011-03-16 20:34:53 -04:00