]> granicus.if.org Git - python/log
python
13 years agomerge heads
Benjamin Peterson [Tue, 13 Mar 2012 21:46:09 +0000 (16:46 -0500)]
merge heads

13 years agoMerge 3.2
Martin v. Löwis [Tue, 13 Mar 2012 21:34:04 +0000 (14:34 -0700)]
Merge 3.2

13 years agoIssue #5219: Prevent event handler cascade in IDLE.
Martin v. Löwis [Tue, 13 Mar 2012 21:32:29 +0000 (14:32 -0700)]
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.

13 years agoIssue #5219: Prevent event handler cascade in IDLE.
Martin v. Löwis [Tue, 13 Mar 2012 21:18:36 +0000 (14:18 -0700)]
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.

13 years agomerge 3.2
Benjamin Peterson [Tue, 13 Mar 2012 21:13:35 +0000 (16:13 -0500)]
merge 3.2

13 years agomerge heads
Benjamin Peterson [Tue, 13 Mar 2012 21:13:21 +0000 (16:13 -0500)]
merge heads

13 years agofix indentation
Benjamin Peterson [Tue, 13 Mar 2012 21:13:09 +0000 (16:13 -0500)]
fix indentation

13 years agoIssue #3835: Refuse to use unthreaded Tcl in threaded Python.
Martin v. Löwis [Tue, 13 Mar 2012 20:59:15 +0000 (13:59 -0700)]
Issue #3835: Refuse to use unthreaded Tcl in threaded Python.
Patch by Guilherme Polo and Andrew Svetlov.

13 years agoIssue #2843: Add new Tk API to Tkinter.
Martin v. Löwis [Tue, 13 Mar 2012 20:40:42 +0000 (13:40 -0700)]
Issue #2843: Add new Tk API to Tkinter.
Patch by Guilherme Polo and Andrew Svetlov.

13 years agoIssue #14184: merge
Ned Deily [Tue, 13 Mar 2012 18:31:36 +0000 (11:31 -0700)]
Issue #14184: merge

13 years agoIssue #14184: Increase the default stack size for secondary threads on
Ned Deily [Tue, 13 Mar 2012 18:18:18 +0000 (11:18 -0700)]
Issue #14184: Increase the default stack size for secondary threads on
Mac OS X to prevent interpreter crashes when compiled on 10.7.

13 years agoIssue #14180: Fix an invalid rounding when compiler optimization are enabled
Victor Stinner [Tue, 13 Mar 2012 18:12:23 +0000 (19:12 +0100)]
Issue #14180: Fix an invalid rounding when compiler optimization are enabled

Use volatile keyword to disable localy unsafe float optimizations.

13 years agoIssue #14180: Fix pythoncore.vcproj, Modules/_time.[ch] have been removed
Victor Stinner [Tue, 13 Mar 2012 16:42:18 +0000 (17:42 +0100)]
Issue #14180: Fix pythoncore.vcproj, Modules/_time.[ch] have been removed

13 years agoIssue #14180: Fix another typo in kqueue_queue_control()
Victor Stinner [Tue, 13 Mar 2012 15:25:35 +0000 (16:25 +0100)]
Issue #14180: Fix another typo in kqueue_queue_control()

13 years agoIssue #14180: Fix select.select() compilation on BSD and a typo in kqueue_queue_control()
Victor Stinner [Tue, 13 Mar 2012 14:29:08 +0000 (15:29 +0100)]
Issue #14180: Fix select.select() compilation on BSD and a typo in kqueue_queue_control()

13 years agoIssue #14180: Remove commented code
Victor Stinner [Tue, 13 Mar 2012 12:50:34 +0000 (13:50 +0100)]
Issue #14180: Remove commented code

13 years agoClose #14180: Factorize code to convert a number of seconds to time_t, timeval or...
Victor Stinner [Tue, 13 Mar 2012 12:35:55 +0000 (13:35 +0100)]
Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec

time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.

datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.

13 years agoMerged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:18:19 +0000 (12:18 +0000)]
Merged upstream change.

13 years agoMerged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:15:46 +0000 (12:15 +0000)]
Merged upstream change.

13 years agoCloses #14267: Merged fix from 3.2.
Vinay Sajip [Tue, 13 Mar 2012 12:15:09 +0000 (12:15 +0000)]
Closes #14267: Merged fix from 3.2.

13 years agoCloses #14267: Corrected computation of rollover filename.
Vinay Sajip [Tue, 13 Mar 2012 12:10:33 +0000 (12:10 +0000)]
Closes #14267: Corrected computation of rollover filename.

13 years agomerge to 3.3 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 08:51:20 +0000 (01:51 -0700)]
merge to 3.3 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers

13 years ago3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 08:50:27 +0000 (01:50 -0700)]
3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers

13 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:16:58 +0000 (00:16 -0700)]
merge heads

13 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:16:17 +0000 (00:16 -0700)]
merge heads

13 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:14:59 +0000 (00:14 -0700)]
merge heads

13 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:14:25 +0000 (00:14 -0700)]
merge heads

13 years agoMerge
Michael Foord [Tue, 13 Mar 2012 07:14:19 +0000 (00:14 -0700)]
Merge

13 years agoFix unittest test discovery for Jython
Michael Foord [Tue, 13 Mar 2012 07:09:54 +0000 (00:09 -0700)]
Fix unittest test discovery for Jython

13 years ago#8942: add test for __path__ contents in zipimport tests
R David Murray [Tue, 13 Mar 2012 01:16:33 +0000 (21:16 -0400)]
#8942: add test for __path__ contents in zipimport tests

Patch by Tatiana Al-Chueyr.

13 years agoIssue #1178863: Separate initialisation from setting when initializing
Martin v. Löwis [Tue, 13 Mar 2012 00:47:35 +0000 (17:47 -0700)]
Issue #1178863: Separate initialisation from setting when initializing
Tkinter.Variables; harmonize exceptions to ValueError; only delete variables
that have not been deleted; assert that variable names are strings
Patch by Andrew Svetlov.

13 years agocloses #14259 re.finditer() now takes keyword arguments: pos, endpos.
Sean Reifschneider [Tue, 13 Mar 2012 00:22:38 +0000 (18:22 -0600)]
closes #14259 re.finditer() now takes keyword arguments: pos, endpos.
Contrary to the documentation, finditer() did not take pos and endpos
keyword arguments.

13 years agoTry to fix compilation of Python-ast.c on Visual Studio 2008
Victor Stinner [Tue, 13 Mar 2012 00:17:31 +0000 (01:17 +0100)]
Try to fix compilation of Python-ast.c on Visual Studio 2008

13 years ago#14179: merge with 3.2.
Ezio Melotti [Mon, 12 Mar 2012 23:33:30 +0000 (01:33 +0200)]
#14179: merge with 3.2.

13 years ago#14179: add tests for re.compile. Patch by Florian Mladitsch.
Ezio Melotti [Mon, 12 Mar 2012 23:29:48 +0000 (01:29 +0200)]
#14179: add tests for re.compile.  Patch by Florian Mladitsch.

13 years agoIssue #14104: Implement time.monotonic() on Mac OS X,
Victor Stinner [Mon, 12 Mar 2012 23:25:42 +0000 (00:25 +0100)]
Issue #14104: Implement time.monotonic() on Mac OS X,
patch written by Nicholas Riley.

13 years agominor PEP7-related fix
Łukasz Langa [Mon, 12 Mar 2012 22:41:07 +0000 (23:41 +0100)]
minor PEP7-related fix

13 years agoMerge heads.
Eric V. Smith [Mon, 12 Mar 2012 22:29:06 +0000 (15:29 -0700)]
Merge heads.

13 years agostr.format_map tests don't do what they say: fix to actually implement the intent...
Eric V. Smith [Mon, 12 Mar 2012 22:26:21 +0000 (15:26 -0700)]
str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. Patch by Akira Li.

13 years agoMerge
Michael Foord [Mon, 12 Mar 2012 22:25:12 +0000 (15:25 -0700)]
Merge

13 years agoMove adding unittest test discovery command line options into their own method.
Michael Foord [Mon, 12 Mar 2012 22:24:46 +0000 (15:24 -0700)]
Move adding unittest test discovery command line options into their own method.

13 years agoMerge heads.
Eric V. Smith [Mon, 12 Mar 2012 22:18:30 +0000 (15:18 -0700)]
Merge heads.

13 years agostr.format_map tests don't do what they say: fix to actually implement the intent...
Eric V. Smith [Mon, 12 Mar 2012 22:16:22 +0000 (15:16 -0700)]
str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450.

13 years agoHead merge
Łukasz Langa [Mon, 12 Mar 2012 21:59:49 +0000 (22:59 +0100)]
Head merge

13 years ago#13842: check whether PyUnicode_FromString succeeded
Łukasz Langa [Mon, 12 Mar 2012 21:59:11 +0000 (22:59 +0100)]
#13842: check whether PyUnicode_FromString succeeded

13 years ago#13394: add more tests for the aifc module and use warnings.warn instead of print...
Ezio Melotti [Mon, 12 Mar 2012 21:57:18 +0000 (23:57 +0200)]
#13394: add more tests for the aifc module and use warnings.warn instead of print.  Patch by Oleg Plakhotnyuk.

13 years ago#13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Mon, 12 Mar 2012 21:52:40 +0000 (23:52 +0200)]
#13394: add more tests for the aifc module.  Patch by Oleg Plakhotnyuk.

13 years agoMerge
Michael Foord [Mon, 12 Mar 2012 20:54:03 +0000 (13:54 -0700)]
Merge

13 years agoRefactor unittest command line handling to always use optparse
Michael Foord [Mon, 12 Mar 2012 20:53:04 +0000 (13:53 -0700)]
Refactor unittest command line handling to always use optparse

13 years agoHead merge.
Łukasz Langa [Mon, 12 Mar 2012 18:59:48 +0000 (19:59 +0100)]
Head merge.

13 years agoFixes #13842: cannot pickle Ellipsis or NotImplemented.
Łukasz Langa [Mon, 12 Mar 2012 18:46:12 +0000 (19:46 +0100)]
Fixes #13842: cannot pickle Ellipsis or NotImplemented.

Thanks for James Sanders for the bug report and the patch.

13 years agoadjust for change in AST type
Benjamin Peterson [Mon, 12 Mar 2012 18:19:19 +0000 (11:19 -0700)]
adjust for change in AST type

13 years agomerge 3.2
Benjamin Peterson [Mon, 12 Mar 2012 18:16:03 +0000 (11:16 -0700)]
merge 3.2

13 years agokill this disabled code
Benjamin Peterson [Mon, 12 Mar 2012 18:15:48 +0000 (11:15 -0700)]
kill this disabled code

13 years agomerge 3.2
Benjamin Peterson [Mon, 12 Mar 2012 18:02:10 +0000 (11:02 -0700)]
merge 3.2

13 years agouse correct naming convention
Benjamin Peterson [Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)]
use correct naming convention

13 years agocloses issue14257 - Grammatical fix
Senthil Kumaran [Mon, 12 Mar 2012 17:05:58 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix

13 years agocloses issue14257 - Grammatical fix
Senthil Kumaran [Mon, 12 Mar 2012 17:05:34 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix

13 years agogive the AST class a __dict__
Benjamin Peterson [Mon, 12 Mar 2012 16:46:44 +0000 (09:46 -0700)]
give the AST class a __dict__

13 years agomerge 3.2
Benjamin Peterson [Mon, 12 Mar 2012 16:43:27 +0000 (09:43 -0700)]
merge 3.2

13 years agoallow AST objects to be like its subclasses
Benjamin Peterson [Mon, 12 Mar 2012 16:43:09 +0000 (09:43 -0700)]
allow AST objects to be like its subclasses

13 years agomerge heads
Benjamin Peterson [Mon, 12 Mar 2012 16:28:51 +0000 (09:28 -0700)]
merge heads

13 years agomerge 3.2
Benjamin Peterson [Mon, 12 Mar 2012 16:28:36 +0000 (09:28 -0700)]
merge 3.2

13 years agomerge heads
Benjamin Peterson [Mon, 12 Mar 2012 16:28:26 +0000 (09:28 -0700)]
merge heads

13 years agoevery other ast object has a dict, so I think AST should, too
Benjamin Peterson [Mon, 12 Mar 2012 16:27:36 +0000 (09:27 -0700)]
every other ast object has a dict, so I think AST should, too

13 years agoMerge.
Eric V. Smith [Mon, 12 Mar 2012 05:47:07 +0000 (22:47 -0700)]
Merge.

13 years agoMake test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro...
Eric V. Smith [Mon, 12 Mar 2012 05:46:04 +0000 (22:46 -0700)]
Make test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro Kroger.

13 years agocloses issue14257 - cpython - minor error in glossary wording regarding __hash__
Senthil Kumaran [Mon, 12 Mar 2012 04:06:03 +0000 (21:06 -0700)]
closes issue14257 - cpython - minor error in glossary wording regarding __hash__

13 years agocloses issue14257 - 3.2 minor error in glossary wording regarding __hash__
Senthil Kumaran [Mon, 12 Mar 2012 04:04:56 +0000 (21:04 -0700)]
closes issue14257 - 3.2 minor error in glossary wording regarding __hash__

13 years agoIssue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows...
Antoine Pitrou [Sun, 11 Mar 2012 18:33:29 +0000 (19:33 +0100)]
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.

13 years agoIssue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows...
Antoine Pitrou [Sun, 11 Mar 2012 18:29:12 +0000 (19:29 +0100)]
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.

13 years agoModify patchcheck.py to check for changes to configure.in.
Ross Lagerwall [Sun, 11 Mar 2012 17:21:07 +0000 (19:21 +0200)]
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.

13 years agoFix regression after c8d1df9ac987
Antoine Pitrou [Sat, 10 Mar 2012 22:43:12 +0000 (23:43 +0100)]
Fix regression after c8d1df9ac987
(PPC buildbot)

13 years agoClose #14210: add command argument completion to pdb: complete file names, global...
Georg Brandl [Sat, 10 Mar 2012 21:36:48 +0000 (22:36 +0100)]
Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases

13 years agoClose #14248: fix typo.
Georg Brandl [Sat, 10 Mar 2012 19:52:16 +0000 (20:52 +0100)]
Close #14248: fix typo.

13 years agomerge 3.2 (#9574)
Mark Dickinson [Sat, 10 Mar 2012 16:11:49 +0000 (16:11 +0000)]
merge 3.2 (#9574)

13 years agoCloses #9574: Note that complex constructor doesn't allow whitespace around central...
Mark Dickinson [Sat, 10 Mar 2012 16:09:35 +0000 (16:09 +0000)]
Closes #9574: Note that complex constructor doesn't allow whitespace around central operator.

13 years agoPEP8-ize test names
Antoine Pitrou [Sat, 10 Mar 2012 15:34:40 +0000 (16:34 +0100)]
PEP8-ize test names

13 years agoRemove useless failOnException() method
Antoine Pitrou [Sat, 10 Mar 2012 15:20:24 +0000 (16:20 +0100)]
Remove useless failOnException() method

13 years agoMerge with 3.2.
Georg Brandl [Sat, 10 Mar 2012 08:27:30 +0000 (09:27 +0100)]
Merge with 3.2.

13 years agoCloses #14244: add info about capturing groups and maxsplit to the docstring of re...
Georg Brandl [Sat, 10 Mar 2012 08:26:53 +0000 (09:26 +0100)]
Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split().

13 years agoCloses #14186: add link to PEP 3107 (function annotations) to the function definition...
Georg Brandl [Sat, 10 Mar 2012 08:22:47 +0000 (09:22 +0100)]
Closes #14186: add link to PEP 3107 (function annotations) to the function definition section.

13 years agoClose #14232: catch mmap() failure in new_arena() of obmalloc
Victor Stinner [Fri, 9 Mar 2012 23:21:44 +0000 (00:21 +0100)]
Close #14232: catch mmap() failure in new_arena() of obmalloc

13 years agoIssue #14205: Fix test_dict.test_mutating_lookup()
Victor Stinner [Fri, 9 Mar 2012 21:58:51 +0000 (22:58 +0100)]
Issue #14205: Fix test_dict.test_mutating_lookup()

13 years agoRelax timeout tests for weak Windows buildbot
Antoine Pitrou [Fri, 9 Mar 2012 17:40:15 +0000 (18:40 +0100)]
Relax timeout tests for weak Windows buildbot

13 years agorefactor and avoid warnings
Benjamin Peterson [Fri, 9 Mar 2012 15:25:32 +0000 (07:25 -0800)]
refactor and avoid warnings

13 years agoIssue #14205: Document the dict lookup change in What's New in Python 3.3
Victor Stinner [Fri, 9 Mar 2012 13:04:01 +0000 (14:04 +0100)]
Issue #14205: Document the dict lookup change in What's New in Python 3.3

13 years agoIssue #14231: Lib/test/crashers/borrowed_ref_1.py was fixed by ba6376dff6c4.
Victor Stinner [Fri, 9 Mar 2012 12:59:42 +0000 (13:59 +0100)]
Issue #14231: Lib/test/crashers/borrowed_ref_1.py was fixed by ba6376dff6c4.

13 years agoIssue #14178: Problem deleting slices with steps != +1 in the _elementtree module.
Eli Bendersky [Fri, 9 Mar 2012 11:38:15 +0000 (13:38 +0200)]
Issue #14178: Problem deleting slices with steps != +1 in the _elementtree module.

Fixed the problem and added some tests. Closes #14178

13 years agoFix indentation.
Georg Brandl [Fri, 9 Mar 2012 11:22:12 +0000 (12:22 +0100)]
Fix indentation.

13 years agonull merge from 3.2
Senthil Kumaran [Fri, 9 Mar 2012 04:58:29 +0000 (20:58 -0800)]
null merge from 3.2

13 years agoFix closes Issue: 14217 - 3.2 branch
Senthil Kumaran [Fri, 9 Mar 2012 04:56:52 +0000 (20:56 -0800)]
Fix closes Issue: 14217 - 3.2 branch

13 years agoFix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang...
Senthil Kumaran [Fri, 9 Mar 2012 04:54:34 +0000 (20:54 -0800)]
Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang Lekhonkhobe

13 years agoIssue #14211: Oops, I removed the wrong file :-)
Victor Stinner [Thu, 8 Mar 2012 23:52:07 +0000 (00:52 +0100)]
Issue #14211: Oops, I removed the wrong file :-)

13 years agoIssue #14211: _PyObject_GenericSetAttrWithDict() keeps a strong reference to
Victor Stinner [Thu, 8 Mar 2012 23:44:13 +0000 (00:44 +0100)]
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.

13 years agoClose #14199: _PyType_Lookup() and super_getattro() keep a strong reference to
Victor Stinner [Thu, 8 Mar 2012 23:39:08 +0000 (00:39 +0100)]
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.

13 years agoFix indentation.
Georg Brandl [Thu, 8 Mar 2012 19:35:08 +0000 (20:35 +0100)]
Fix indentation.

13 years agoIssue #14205: document the change of dict[key] behaviour if dict is modified
Victor Stinner [Thu, 8 Mar 2012 01:50:17 +0000 (02:50 +0100)]
Issue #14205: document the change of dict[key] behaviour if dict is modified
during the lookup

13 years agomerge 3.2 (null)
Benjamin Peterson [Thu, 8 Mar 2012 01:10:42 +0000 (19:10 -0600)]
merge 3.2 (null)

13 years agoClose #14223: curses.addch() is no more limited to the range 0-255 when the
Victor Stinner [Thu, 8 Mar 2012 01:08:48 +0000 (02:08 +0100)]
Close #14223: curses.addch() is no more limited to the range 0-255 when the
Python curses is not linked to libncursesw. It was a regression introduced in
Python 3.3a1.