]> granicus.if.org Git - python/log
python
14 years agoAdded additional output to help diagnose buildbot failures.
Vinay Sajip [Thu, 5 May 2011 20:23:42 +0000 (21:23 +0100)]
Added additional output to help diagnose buildbot failures.

14 years agonull merge
Raymond Hettinger [Thu, 5 May 2011 18:50:36 +0000 (11:50 -0700)]
null merge

14 years agoSync-up minor code edits with the default branch.
Raymond Hettinger [Thu, 5 May 2011 18:49:12 +0000 (11:49 -0700)]
Sync-up minor code edits with the default branch.

14 years agoAvoid codec spelling issues by just using the utf-8 default.
Raymond Hettinger [Thu, 5 May 2011 18:38:06 +0000 (11:38 -0700)]
Avoid codec spelling issues by just using the utf-8 default.

14 years agoAvoid codec spelling issues by just using the utf-8 default.
Raymond Hettinger [Thu, 5 May 2011 18:35:50 +0000 (11:35 -0700)]
Avoid codec spelling issues by just using the utf-8 default.

14 years agoMerge: Use shared testing facilities in test_threading
Antoine Pitrou [Thu, 5 May 2011 18:18:19 +0000 (20:18 +0200)]
Merge: Use shared testing facilities in test_threading

14 years agoUse shared testing facilities in test_threading
Antoine Pitrou [Thu, 5 May 2011 18:17:32 +0000 (20:17 +0200)]
Use shared testing facilities in test_threading

14 years agoMerge: #11873: Improve test regex so random directory names don't cause test to fail
R David Murray [Thu, 5 May 2011 16:17:50 +0000 (12:17 -0400)]
Merge: #11873: Improve test regex so random directory names don't cause test to fail

14 years ago#11873: Improve test regex so random directory names don't cause test to fail
R David Murray [Thu, 5 May 2011 15:52:44 +0000 (11:52 -0400)]
#11873: Improve test regex so random directory names don't cause test to fail

14 years agoMerge from 3.2
Nick Coghlan [Thu, 5 May 2011 14:03:49 +0000 (00:03 +1000)]
Merge from 3.2

14 years agoRemove trailing whitespace
Nick Coghlan [Thu, 5 May 2011 14:02:12 +0000 (00:02 +1000)]
Remove trailing whitespace

14 years agoMerge #11647 update from 3.2
Nick Coghlan [Thu, 5 May 2011 13:58:57 +0000 (23:58 +1000)]
Merge #11647 update from 3.2

14 years agoIssue #11647: allow contextmanager objects to be used as decorators as described...
Nick Coghlan [Thu, 5 May 2011 13:49:25 +0000 (23:49 +1000)]
Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.

14 years agoTweaked timed rollover test to allow for test-time delays.
Vinay Sajip [Thu, 5 May 2011 13:18:33 +0000 (14:18 +0100)]
Tweaked timed rollover test to allow for test-time delays.

14 years agoMerged changes.
Vinay Sajip [Thu, 5 May 2011 11:59:59 +0000 (12:59 +0100)]
Merged changes.

14 years agoImproved coverage and fixed bug in HTTPHandler with POST requests.
Vinay Sajip [Thu, 5 May 2011 11:59:14 +0000 (12:59 +0100)]
Improved coverage and fixed bug in HTTPHandler with POST requests.

14 years ago#11997: merge with 3.2.
Ezio Melotti [Thu, 5 May 2011 11:21:55 +0000 (14:21 +0300)]
#11997: merge with 3.2.

14 years ago#11997: merge with 3.1.
Ezio Melotti [Thu, 5 May 2011 11:21:18 +0000 (14:21 +0300)]
#11997: merge with 3.1.

14 years ago#11997: fix typo in init.rst.
Ezio Melotti [Thu, 5 May 2011 11:19:48 +0000 (14:19 +0300)]
#11997: fix typo in init.rst.

14 years agoMerge #8158: add missing 'description' description to optparse docstring.
R David Murray [Thu, 5 May 2011 01:08:07 +0000 (21:08 -0400)]
Merge #8158: add missing 'description' description to optparse docstring.

14 years agoMerge #8158: add missing 'description' description to optparse docstring.
R David Murray [Thu, 5 May 2011 01:07:33 +0000 (21:07 -0400)]
Merge #8158: add missing 'description' description to optparse docstring.

14 years ago#8158: add missing 'description' description to optparse docstring.
R David Murray [Thu, 5 May 2011 01:06:57 +0000 (21:06 -0400)]
#8158: add missing 'description' description to optparse docstring.

14 years ago#11335: Merge from 3.2: Fix memory leak after key function failure in sort
Daniel Stutzbach [Wed, 4 May 2011 19:47:14 +0000 (12:47 -0700)]
#11335: Merge from 3.2: Fix memory leak after key function failure in sort

14 years ago#11335: Fix memory leak after key function failure in sort
Daniel Stutzbach [Wed, 4 May 2011 19:46:28 +0000 (12:46 -0700)]
#11335: Fix memory leak after key function failure in sort

14 years agoIssue #1856: Avoid crashes and lockups when daemon threads run while the
Antoine Pitrou [Wed, 4 May 2011 18:04:29 +0000 (20:04 +0200)]
Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.

14 years agoIssue #1856: Avoid crashes and lockups when daemon threads run while the
Antoine Pitrou [Wed, 4 May 2011 18:02:30 +0000 (20:02 +0200)]
Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.

14 years agoAdd a reference to the PEP 398 for python 3.3 release schedule
Alexis Metaireau [Wed, 4 May 2011 16:58:00 +0000 (17:58 +0100)]
Add a reference to the PEP 398 for python 3.3 release schedule

14 years ago#11985: merge with 3.2.
Ezio Melotti [Wed, 4 May 2011 15:39:59 +0000 (18:39 +0300)]
#11985: merge with 3.2.

14 years ago#11985: merge with 3.1.
Ezio Melotti [Wed, 4 May 2011 15:39:29 +0000 (18:39 +0300)]
#11985: merge with 3.1.

14 years ago#11985: update docstring of platform.python_implementation.
Ezio Melotti [Wed, 4 May 2011 15:37:50 +0000 (18:37 +0300)]
#11985: update docstring of platform.python_implementation.

14 years agoMention that timezone is a subclass of tzinfo.
Alexander Belopolsky [Wed, 4 May 2011 14:28:26 +0000 (10:28 -0400)]
Mention that timezone is a subclass of tzinfo.

14 years agoReplace open(filename, 'rU') by open(filename, 'r')
Victor Stinner [Wed, 4 May 2011 11:55:36 +0000 (13:55 +0200)]
Replace open(filename, 'rU') by open(filename, 'r')

The U flag is no more used (but still accepted for backward compatibility).

14 years agoIssue #8407: signal.pthread_sigmask() returns a set instead of a list
Victor Stinner [Wed, 4 May 2011 11:20:35 +0000 (13:20 +0200)]
Issue #8407: signal.pthread_sigmask() returns a set instead of a list

Update the doc. Refactor also related tests.

14 years agoIssue #11998, issue #8407: workaround _tkinter issue in test_signal
Victor Stinner [Wed, 4 May 2011 10:38:03 +0000 (12:38 +0200)]
Issue #11998, issue #8407: workaround _tkinter issue in test_signal

The _tkinter module loads the Tcl library which creates a thread waiting events
in select(). This thread receives signals blocked by all other threads. We
cannot test blocked signals if the _tkinter module is loaded.

14 years agoregrtest: dump all threads on a crash, not only the current thread
Victor Stinner [Wed, 4 May 2011 09:02:12 +0000 (11:02 +0200)]
regrtest: dump all threads on a crash, not only the current thread

14 years agoFix #11834. Correct site-packages paths.
Brian Curtin [Wed, 4 May 2011 02:58:32 +0000 (21:58 -0500)]
Fix #11834. Correct site-packages paths.

Patch by Bryce Verdier.

14 years agoFix #11834. Correct site-packages paths.
Brian Curtin [Wed, 4 May 2011 02:57:56 +0000 (21:57 -0500)]
Fix #11834. Correct site-packages paths.

Patch by Bryce Verdier.

14 years agoFix #11834. Correct site-packages paths.
Brian Curtin [Wed, 4 May 2011 02:57:00 +0000 (21:57 -0500)]
Fix #11834. Correct site-packages paths.

Patch by Bryce Verdier.

14 years agotest_math.py: Use correct signs on zeros for expected fmod results.
Mark Dickinson [Tue, 3 May 2011 20:13:40 +0000 (21:13 +0100)]
test_math.py: Use correct signs on zeros for expected fmod results.

14 years agoRemove an unused import and an unused local definition from test_math.py.
Mark Dickinson [Tue, 3 May 2011 20:02:51 +0000 (21:02 +0100)]
Remove an unused import and an unused local definition from test_math.py.

14 years agoFix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
Raymond Hettinger [Tue, 3 May 2011 18:16:36 +0000 (11:16 -0700)]
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.

14 years agoFix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
Raymond Hettinger [Tue, 3 May 2011 18:01:32 +0000 (11:01 -0700)]
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.

14 years ago#11985: merge with 3.2.
Ezio Melotti [Tue, 3 May 2011 17:44:26 +0000 (20:44 +0300)]
#11985: merge with 3.2.

14 years ago#11985: merge with 3.1.
Ezio Melotti [Tue, 3 May 2011 17:43:48 +0000 (20:43 +0300)]
#11985: merge with 3.1.

14 years ago#11985: document the return value of platform.python_implementation for PyPy.
Ezio Melotti [Tue, 3 May 2011 17:41:48 +0000 (20:41 +0300)]
#11985: document the return value of platform.python_implementation for PyPy.

14 years agoIssue #11849: Make it more likely for the system allocator to release
Antoine Pitrou [Tue, 3 May 2011 16:18:59 +0000 (18:18 +0200)]
Issue #11849: Make it more likely for the system allocator to release
free()d memory arenas on glibc-based systems.  Patch by Charles-François
Natali.

14 years agoIssue #8407: disable faulthandler timeout thread on all platforms
Victor Stinner [Tue, 3 May 2011 15:20:31 +0000 (17:20 +0200)]
Issue #8407: disable faulthandler timeout thread on all platforms

The problem is not specific to Mac OS X.

14 years agoFix typo in name of private function
Antoine Pitrou [Tue, 3 May 2011 14:35:43 +0000 (16:35 +0200)]
Fix typo in name of private function

14 years agoFix typo in name of private function
Antoine Pitrou [Tue, 3 May 2011 14:34:42 +0000 (16:34 +0200)]
Fix typo in name of private function

14 years agoIssue #8407: pthread_sigmask() checks immediatly if signal handlers have been
Victor Stinner [Tue, 3 May 2011 12:57:12 +0000 (14:57 +0200)]
Issue #8407: pthread_sigmask() checks immediatly if signal handlers have been
called. The test checks that SIG_UNBLOCK calls immediatly the signal handler of
the pending SIGUSR1. Improve also the tests using an exception (division by
zero) instead of a flag (a function attribute).

14 years agoIssue #8407: Fix pthread_sigmask() tests on Mac OS X
Victor Stinner [Tue, 3 May 2011 12:11:22 +0000 (14:11 +0200)]
Issue #8407: Fix pthread_sigmask() tests on Mac OS X

Disable faulthandler timeout thread on Mac OS X: it interacts with
pthread_sigmask() tests.

14 years agoAdjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list.
Brian Curtin [Tue, 3 May 2011 03:30:06 +0000 (22:30 -0500)]
Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list.

14 years agoIssue #11930: Added Misc/NEWS and versionchanged entries.
Alexander Belopolsky [Mon, 2 May 2011 18:14:48 +0000 (14:14 -0400)]
Issue #11930: Added Misc/NEWS and versionchanged entries.

14 years agomerge
Raymond Hettinger [Mon, 2 May 2011 18:03:37 +0000 (11:03 -0700)]
merge

14 years agoBackport 3.3 fixes and cleans ups.
Raymond Hettinger [Mon, 2 May 2011 18:02:13 +0000 (11:02 -0700)]
Backport 3.3 fixes and cleans ups.

14 years agoRelax %Y test.
Alexander Belopolsky [Mon, 2 May 2011 17:48:09 +0000 (13:48 -0400)]
Relax %Y test.

14 years agoRemoved unused variable
Alexander Belopolsky [Mon, 2 May 2011 17:44:20 +0000 (13:44 -0400)]
Removed unused variable

14 years agoIssue #11930: Remove year >= 1000 limitation from datetime.strftime.
Alexander Belopolsky [Mon, 2 May 2011 17:14:24 +0000 (13:14 -0400)]
Issue #11930: Remove year >= 1000 limitation from datetime.strftime.
Patch by Victor Stinner.

14 years agodummy merge
Raymond Hettinger [Mon, 2 May 2011 16:53:36 +0000 (09:53 -0700)]
dummy merge

14 years agoBackport code cleanup for namedtuples.
Raymond Hettinger [Mon, 2 May 2011 16:50:15 +0000 (09:50 -0700)]
Backport code cleanup for namedtuples.

14 years agomerge
Alexander Belopolsky [Mon, 2 May 2011 16:31:17 +0000 (12:31 -0400)]
merge

14 years agoIssue #11930: Remove deprecated time.accept2dyear.
Alexander Belopolsky [Mon, 2 May 2011 16:20:52 +0000 (12:20 -0400)]
Issue #11930: Remove deprecated time.accept2dyear.

14 years agocleanup signalmodule.c: use PyModule_AddIntMacro()
Victor Stinner [Mon, 2 May 2011 14:15:43 +0000 (16:15 +0200)]
cleanup signalmodule.c: use PyModule_AddIntMacro()

14 years ago(Merge 3.2) logging: don't define QueueListener if Python has no thread support
Victor Stinner [Mon, 2 May 2011 14:14:16 +0000 (16:14 +0200)]
(Merge 3.2) logging: don't define QueueListener if Python has no thread support

14 years agologging: don't define QueueListener if Python has no thread support
Victor Stinner [Mon, 2 May 2011 14:11:28 +0000 (16:11 +0200)]
logging: don't define QueueListener if Python has no thread support

14 years agoImproved thread interlocks in tests.
Vinay Sajip [Mon, 2 May 2011 13:43:00 +0000 (14:43 +0100)]
Improved thread interlocks in tests.

14 years agoUpdated docstrings.
Vinay Sajip [Mon, 2 May 2011 13:31:16 +0000 (14:31 +0100)]
Updated docstrings.

14 years agoMerge: I was right, hardconding the localhost IP doesn't work in linux-vserver.
R David Murray [Mon, 2 May 2011 12:48:00 +0000 (08:48 -0400)]
Merge: I was right, hardconding the localhost IP doesn't work in linux-vserver.

14 years agoI was right, hardconding the localhost IP doesn't work in linux-vserver.
R David Murray [Mon, 2 May 2011 12:47:24 +0000 (08:47 -0400)]
I was right, hardconding the localhost IP doesn't work in linux-vserver.

14 years agoMerge.
Vinay Sajip [Mon, 2 May 2011 12:18:21 +0000 (13:18 +0100)]
Merge.

14 years agoAdded tests to improve coverage.
Vinay Sajip [Mon, 2 May 2011 12:17:27 +0000 (13:17 +0100)]
Added tests to improve coverage.

14 years agoMerge 3.2
Éric Araujo [Mon, 2 May 2011 11:33:14 +0000 (13:33 +0200)]
Merge 3.2

14 years agoMerge 3.1
Éric Araujo [Mon, 2 May 2011 11:12:23 +0000 (13:12 +0200)]
Merge 3.1

14 years agoBranch merge
Éric Araujo [Mon, 2 May 2011 11:10:36 +0000 (13:10 +0200)]
Branch merge

14 years agoAdd missing colon
Éric Araujo [Mon, 2 May 2011 11:10:18 +0000 (13:10 +0200)]
Add missing colon

14 years agomerge 3.2
Benjamin Peterson [Mon, 2 May 2011 01:24:59 +0000 (20:24 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Mon, 2 May 2011 01:24:40 +0000 (20:24 -0500)]
merge 3.1

14 years agoFix spelling.
Raymond Hettinger [Mon, 2 May 2011 01:14:49 +0000 (18:14 -0700)]
Fix spelling.

14 years ago(Merge 3.2) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
Victor Stinner [Sun, 1 May 2011 23:14:55 +0000 (01:14 +0200)]
(Merge 3.2) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.

14 years ago(Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
Victor Stinner [Sun, 1 May 2011 23:11:33 +0000 (01:11 +0200)]
(Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.

14 years agoIssue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
Victor Stinner [Sun, 1 May 2011 23:05:37 +0000 (01:05 +0200)]
Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.

14 years agomerge 3.2
Benjamin Peterson [Sun, 1 May 2011 22:39:52 +0000 (17:39 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Sun, 1 May 2011 22:39:40 +0000 (17:39 -0500)]
merge 3.1

14 years agonote abcs of int and float (closes #11977)
Benjamin Peterson [Sun, 1 May 2011 22:38:17 +0000 (17:38 -0500)]
note abcs of int and float (closes #11977)

14 years ago(Merge 3.2) Issue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:48:41 +0000 (23:48 +0200)]
(Merge 3.2) Issue #9756: credit the author, Andreas Stührk (Trundle)

14 years ago(Merge 3.1) Issue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:47:56 +0000 (23:47 +0200)]
(Merge 3.1) Issue #9756: credit the author, Andreas Stührk (Trundle)

14 years agoIssue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:46:48 +0000 (23:46 +0200)]
Issue #9756: credit the author, Andreas Stührk (Trundle)

14 years ago(Merge 3.2) Issue #9756: When calling a method descriptor or a slot wrapper
Victor Stinner [Sun, 1 May 2011 21:33:06 +0000 (23:33 +0200)]
(Merge 3.2) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).

14 years ago(Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
Victor Stinner [Sun, 1 May 2011 21:31:36 +0000 (23:31 +0200)]
(Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).

14 years agoIssue #9756: When calling a method descriptor or a slot wrapper descriptor, the
Victor Stinner [Sun, 1 May 2011 21:19:15 +0000 (23:19 +0200)]
Issue #9756: When calling a method descriptor or a slot wrapper descriptor, the
check of the object type doesn't read the __class__ attribute anymore.  Fix a
crash if a class override its __class__ attribute (e.g. a proxy of the str
type).

14 years agoregrtest: add the name of the failing test on a child error (-j option)
Victor Stinner [Sun, 1 May 2011 20:57:43 +0000 (22:57 +0200)]
regrtest: add the name of the failing test on a child error (-j option)

14 years agomerge with 3.2
Georg Brandl [Sun, 1 May 2011 20:37:46 +0000 (22:37 +0200)]
merge with 3.2

14 years agoSplit combined code/doctest code blocks in two blocks, to enable proper highlighting.
Georg Brandl [Sun, 1 May 2011 20:37:23 +0000 (22:37 +0200)]
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.

14 years agoSplit combined code/doctest code blocks in two blocks, to enable proper highlighting.
Georg Brandl [Sun, 1 May 2011 20:34:31 +0000 (22:34 +0200)]
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.

14 years agoMerge #11971: fix man page; it's -OO not -O0
R David Murray [Sun, 1 May 2011 15:15:01 +0000 (11:15 -0400)]
Merge #11971: fix man page; it's -OO not -O0

Patch by Lars Michelsen.

14 years agoMerge #11971: fix man page; it's -OO not -O0
R David Murray [Sun, 1 May 2011 15:14:31 +0000 (11:14 -0400)]
Merge #11971: fix man page; it's -OO not -O0

Patch by Lars Michelsen.

14 years ago#11971: fix man page; it's -OO not -O0
R David Murray [Sun, 1 May 2011 15:13:56 +0000 (11:13 -0400)]
#11971: fix man page; it's -OO not -O0

Patch by Lars Michelsen.

14 years agoFix wording
Éric Araujo [Sun, 1 May 2011 00:14:48 +0000 (02:14 +0200)]
Fix wording

14 years agoClose #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
Victor Stinner [Sat, 30 Apr 2011 23:23:03 +0000 (01:23 +0200)]
Close #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
Patch written by Charles-Francois Natali.

14 years agoMerge #11883: fix email examples by adding 'localhost' to SMTP constructor calls
R David Murray [Sat, 30 Apr 2011 21:29:28 +0000 (17:29 -0400)]
Merge #11883: fix email examples by adding 'localhost' to SMTP constructor calls