]> granicus.if.org Git - python/log
python
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

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

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

14 years agoMerge #11883: replace incorrect call to sendmail with correct call to send_message
R David Murray [Sat, 30 Apr 2011 21:20:44 +0000 (17:20 -0400)]
Merge #11883: replace incorrect call to sendmail with correct call to send_message

14 years ago#11883: replace incorrect call to sendmail with correct call to send_message
R David Murray [Sat, 30 Apr 2011 21:19:53 +0000 (17:19 -0400)]
#11883: replace incorrect call to sendmail with correct call to send_message

14 years agoFix test.
Ezio Melotti [Sat, 30 Apr 2011 21:03:49 +0000 (00:03 +0300)]
Fix test.

14 years agoImproved test coverage.
Vinay Sajip [Sat, 30 Apr 2011 20:52:48 +0000 (21:52 +0100)]
Improved test coverage.

14 years agoUpdated usage of boolean values.
Vinay Sajip [Sat, 30 Apr 2011 20:52:26 +0000 (21:52 +0100)]
Updated usage of boolean values.

14 years agoUpdated usage of boolean values.
Vinay Sajip [Sat, 30 Apr 2011 20:51:51 +0000 (21:51 +0100)]
Updated usage of boolean values.

14 years agoMerge #11901: post-commit review fixes per Georg Brandl
R David Murray [Sat, 30 Apr 2011 20:36:37 +0000 (16:36 -0400)]
Merge #11901: post-commit review fixes per Georg Brandl

14 years agoMerge #11901: post-commit review fixes per Georg Brandl
R David Murray [Sat, 30 Apr 2011 20:36:08 +0000 (16:36 -0400)]
Merge #11901: post-commit review fixes per Georg Brandl

14 years ago#11901: post-commit review fixes per Georg Brandl
R David Murray [Sat, 30 Apr 2011 20:35:29 +0000 (16:35 -0400)]
#11901: post-commit review fixes per Georg Brandl

14 years agomerge 3.2
Benjamin Peterson [Sat, 30 Apr 2011 18:16:14 +0000 (13:16 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Sat, 30 Apr 2011 18:15:18 +0000 (13:15 -0500)]
merge 3.1

14 years agofix function name in example (closes #11966)
Benjamin Peterson [Sat, 30 Apr 2011 18:14:56 +0000 (13:14 -0500)]
fix function name in example (closes #11966)

14 years agoFix indentation.
Georg Brandl [Sat, 30 Apr 2011 13:30:03 +0000 (15:30 +0200)]
Fix indentation.

14 years agoIssue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
Victor Stinner [Sat, 30 Apr 2011 13:21:58 +0000 (15:21 +0200)]
Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
and/or change the signal mask of the calling thread.

Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.

Original patch written by Jean-Paul Calderone.

14 years agoIssue #11223: Replace threading._info() by sys.thread_info
Victor Stinner [Sat, 30 Apr 2011 12:53:09 +0000 (14:53 +0200)]
Issue #11223: Replace threading._info() by sys.thread_info

14 years agoMerge 3.2: ignore commits (already done in 3.3 previously)
Victor Stinner [Sat, 30 Apr 2011 12:19:57 +0000 (14:19 +0200)]
Merge 3.2: ignore commits (already done in 3.3 previously)

14 years agoMerged mentions of issues #11324 and #11858.
Łukasz Langa [Sat, 30 Apr 2011 07:47:21 +0000 (09:47 +0200)]
Merged mentions of issues #11324 and #11858.

Possibly redundant once 3.2.1 is out.

14 years agoMentioned issues #11324 and #11858.
Łukasz Langa [Sat, 30 Apr 2011 07:36:35 +0000 (09:36 +0200)]
Mentioned issues #11324 and #11858.

14 years agoFix #11961. Document STARTUPINFO and creation flag options.
Brian Curtin [Sat, 30 Apr 2011 03:21:35 +0000 (22:21 -0500)]
Fix #11961. Document STARTUPINFO and creation flag options.

14 years agoFix #11961. Document STARTUPINFO and creation flag options.
Brian Curtin [Sat, 30 Apr 2011 03:20:57 +0000 (22:20 -0500)]
Fix #11961. Document STARTUPINFO and creation flag options.

14 years agowhitespace...
Brian Curtin [Sat, 30 Apr 2011 03:18:33 +0000 (22:18 -0500)]
whitespace...

14 years agoFix #11961. Document STARTUPINFO and creation flag options.
Brian Curtin [Sat, 30 Apr 2011 03:17:51 +0000 (22:17 -0500)]
Fix #11961. Document STARTUPINFO and creation flag options.

14 years agoWrap the correct test with the skip decorator for the issue10761.
Senthil Kumaran [Fri, 29 Apr 2011 22:12:25 +0000 (06:12 +0800)]
Wrap the correct test with the skip decorator for the issue10761.
merge from 3.2.

14 years agomerge from 3.1
Senthil Kumaran [Fri, 29 Apr 2011 22:09:51 +0000 (06:09 +0800)]
merge from 3.1

14 years agoWrap the testskip decorator for the proper test to resolve bb failure.
Senthil Kumaran [Fri, 29 Apr 2011 22:06:28 +0000 (06:06 +0800)]
Wrap the testskip decorator for the proper test to resolve bb failure.

14 years agowhitespace fix
Brian Curtin [Fri, 29 Apr 2011 21:24:07 +0000 (16:24 -0500)]
whitespace fix

14 years agomerge
Brian Curtin [Fri, 29 Apr 2011 21:14:55 +0000 (16:14 -0500)]
merge

14 years agomerge
Brian Curtin [Fri, 29 Apr 2011 21:11:30 +0000 (16:11 -0500)]
merge

14 years agoFurther fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the
Brian Curtin [Fri, 29 Apr 2011 20:48:13 +0000 (15:48 -0500)]
Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the
constants to be used for STARTUPINFO were exposed due to the change.

14 years agoMerged minor cleanups from 3.2.
Łukasz Langa [Fri, 29 Apr 2011 14:17:51 +0000 (16:17 +0200)]
Merged minor cleanups from 3.2.

14 years agoRemoved debugging leftovers.
Łukasz Langa [Fri, 29 Apr 2011 14:16:36 +0000 (16:16 +0200)]
Removed debugging leftovers.

14 years ago__class__ of a __class__ check worked only by chance.
Łukasz Langa [Fri, 29 Apr 2011 14:15:41 +0000 (16:15 +0200)]
__class__ of a __class__ check worked only by chance.

14 years agoSmall grammar fix.
Georg Brandl [Fri, 29 Apr 2011 11:45:54 +0000 (13:45 +0200)]
Small grammar fix.

14 years agoEmpty merge for TestChainMap tweaks in 3.2
Łukasz Langa [Fri, 29 Apr 2011 09:38:30 +0000 (11:38 +0200)]
Empty merge for TestChainMap tweaks in 3.2

14 years agoTestChainMap was not previously used. Minor corrections applied.
Łukasz Langa [Fri, 29 Apr 2011 09:35:03 +0000 (11:35 +0200)]
TestChainMap was not previously used. Minor corrections applied.

14 years ago#11952: merge with 3.2.
Ezio Melotti [Fri, 29 Apr 2011 04:13:12 +0000 (07:13 +0300)]
#11952: merge with 3.2.