Commit Graph

49440 Commits

Author SHA1 Message Date
Benjamin Peterson 41a9ec9003 let's keep parenthesis around sizeof 2011-03-28 17:25:15 -05:00
Ezio Melotti d113512ed5 #10617: add class directives to collections ABCs. 2011-03-28 13:46:28 +03:00
Martin v. Löwis 7aea63ff65 Add missing file from #11696. 2011-03-27 21:01:03 +02:00
Martin v. Löwis 03f7e235c8 Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.
2011-03-27 20:58:52 +02:00
Mark Dickinson d687be09b4 Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:15:24 +01:00
Mark Dickinson 1829e8fc7c Move Misc/NEWS entry to correct section. 2011-03-27 15:32:05 +01:00
Steven Bethard bc3b104e46 Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.) 2011-03-27 13:57:55 +02:00
Martin v. Löwis 49b0ce06f0 Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.
2011-03-27 10:10:46 +02:00
Benjamin Peterson 8c05568e06 revert unintended changes 2011-03-26 18:11:54 -05:00
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