Commit graph

53774 commits

Author SHA1 Message Date
Michael Foord
b36c70c9ff Move adding unittest test discovery command line options into their own method. 2012-03-12 15:24:46 -07:00
Michael Foord
c1f5d8af57 Merge 2012-03-12 13:54:03 -07:00
Michael Foord
5f99ced092 Refactor unittest command line handling to always use optparse 2012-03-12 13:53:04 -07:00
Łukasz Langa
17591c1a1d Head merge. 2012-03-12 19:59:48 +01:00
Łukasz Langa
f3078fbee2 Fixes #13842: cannot pickle Ellipsis or NotImplemented.
Thanks for James Sanders for the bug report and the patch.
2012-03-12 19:46:12 +01:00
Benjamin Peterson
f28fcff17d adjust for change in AST type 2012-03-12 11:19:19 -07:00
Benjamin Peterson
518cf94ad7 merge 3.2 2012-03-12 11:16:03 -07:00
Benjamin Peterson
3f3584695e kill this disabled code 2012-03-12 11:15:48 -07:00
Benjamin Peterson
bebcd18b75 merge 3.2 2012-03-12 11:02:10 -07:00
Benjamin Peterson
bc4665ebcb use correct naming convention 2012-03-12 11:00:41 -07:00
Benjamin Peterson
7e0dbfbbde give the AST class a __dict__ 2012-03-12 09:46:44 -07:00
Benjamin Peterson
61a4161de4 merge 3.2 2012-03-12 09:43:27 -07:00
Benjamin Peterson
ef87f06798 allow AST objects to be like its subclasses 2012-03-12 09:43:09 -07:00
Benjamin Peterson
6645f7e590 merge heads 2012-03-12 09:28:51 -07:00
Benjamin Peterson
09b4bd03f6 merge 3.2 2012-03-12 09:28:36 -07:00
Benjamin Peterson
800b3aa57f merge heads 2012-03-12 09:28:26 -07:00
Benjamin Peterson
d279e286f2 every other ast object has a dict, so I think AST should, too 2012-03-12 09:27:36 -07:00
Eric V. Smith
e976fc7464 Merge. 2012-03-11 22:47:07 -07:00
Eric V. Smith
851cad7616 Make test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro Kroger. 2012-03-11 22:46:04 -07:00
Senthil Kumaran
68e994e9e4 closes issue14257 - cpython - minor error in glossary wording regarding __hash__ 2012-03-11 21:06:03 -07:00
Senthil Kumaran
a7fccd8b14 closes issue14257 - 3.2 minor error in glossary wording regarding __hash__ 2012-03-11 21:04:56 -07:00
Antoine Pitrou
b69ef16fe6 Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:33:29 +01:00
Antoine Pitrou
1f9a835400 Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
Ross Lagerwall
6c52c5755f Modify patchcheck.py to check for changes to configure.in.
It now reports if configure and pyconfig.h.in weren't regenerated but
configure.in was changed.
2012-03-11 19:21:07 +02:00
Antoine Pitrou
b4a92376f8 Fix regression after c8d1df9ac987
(PPC buildbot)
2012-03-10 23:43:12 +01:00
Georg Brandl
4c7c3c58be Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
Georg Brandl
a08e7e1c5d Close #14248: fix typo. 2012-03-10 20:52:16 +01:00
Mark Dickinson
c7ceb2bc95 merge 3.2 (#9574) 2012-03-10 16:11:49 +00:00
Mark Dickinson
328dd0d5f3 Closes #9574: Note that complex constructor doesn't allow whitespace around central operator. 2012-03-10 16:09:35 +00:00
Antoine Pitrou
eab2a50dfc PEP8-ize test names 2012-03-10 16:34:40 +01:00
Antoine Pitrou
8cd8d5e8f2 Remove useless failOnException() method 2012-03-10 16:20:24 +01:00
Georg Brandl
6aacc14e29 Merge with 3.2. 2012-03-10 09:27:30 +01:00
Georg Brandl
e144c74e02 Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split(). 2012-03-10 09:26:53 +01:00
Georg Brandl
64a40949cf Closes #14186: add link to PEP 3107 (function annotations) to the function definition section. 2012-03-10 09:22:47 +01:00
Victor Stinner
ba108823b6 Close #14232: catch mmap() failure in new_arena() of obmalloc 2012-03-10 00:21:44 +01:00
Victor Stinner
28393828e2 Issue #14205: Fix test_dict.test_mutating_lookup() 2012-03-09 22:58:51 +01:00
Antoine Pitrou
3774977de2 Relax timeout tests for weak Windows buildbot 2012-03-09 18:40:15 +01:00
Benjamin Peterson
74529ad3f4 refactor and avoid warnings 2012-03-09 07:25:32 -08:00
Victor Stinner
8c43e69bce Issue #14205: Document the dict lookup change in What's New in Python 3.3 2012-03-09 14:04:01 +01:00
Victor Stinner
63ed5664a1 Issue #14231: Lib/test/crashers/borrowed_ref_1.py was fixed by ba6376dff6c4. 2012-03-09 13:59:42 +01:00
Eli Bendersky
865756a94c Issue #14178: Problem deleting slices with steps != +1 in the _elementtree module.
Fixed the problem and added some tests. Closes #14178
2012-03-09 13:38:15 +02:00
Georg Brandl
f5a1d76b48 Fix indentation. 2012-03-09 12:22:12 +01:00
Senthil Kumaran
632e9d1f82 null merge from 3.2 2012-03-08 20:58:29 -08:00
Senthil Kumaran
065dedaf47 Fix closes Issue: 14217 - 3.2 branch 2012-03-08 20:56:52 -08:00
Senthil Kumaran
74d5657c80 Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang Lekhonkhobe 2012-03-08 20:54:34 -08:00
Victor Stinner
40c9565bcc Issue #14211: Oops, I removed the wrong file :-) 2012-03-09 00:52:07 +01:00
Victor Stinner
2d01dc00bc Issue #14211: _PyObject_GenericSetAttrWithDict() keeps a strong reference to
the descriptor because it may be destroyed before being used, destroyed during
the update of the dict for example.
2012-03-09 00:44:13 +01:00
Victor Stinner
d74782b0ac Close #14199: _PyType_Lookup() and super_getattro() keep a strong reference to
the type MRO to avoid a crash if the MRO is changed during the lookup.
2012-03-09 00:39:08 +01:00
Georg Brandl
4dcf474337 Fix indentation. 2012-03-08 20:35:08 +01:00
Victor Stinner
50dbb3f2cf Issue #14205: document the change of dict[key] behaviour if dict is modified
during the lookup
2012-03-08 02:50:17 +01:00