]> granicus.if.org Git - python/log
python
13 years ago#11999: sync based on comparing mtimes, not mtime to system clock
R David Murray [Sat, 7 May 2011 02:20:34 +0000 (22:20 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock

13 years ago#11999: sync based on comparing mtimes, not mtime to system clock
R David Murray [Sat, 7 May 2011 02:07:19 +0000 (22:07 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock

13 years agontpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same file on...
Ronald Oussoren [Fri, 6 May 2011 15:11:07 +0000 (17:11 +0200)]
ntpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same file on Windows XP.

Noticed while researching a buildbot failure due to a patch for issue #10684.

13 years agoIssue #12000: When a SSL certificate has a subjectAltName without any
Antoine Pitrou [Fri, 6 May 2011 13:19:49 +0000 (15:19 +0200)]
Issue #12000: When a SSL certificate has a subjectAltName without any
dNSName entry, ssl.match_hostname() should use the subject's commonName.
Patch by Nicolas Bareil.

13 years agomerge from 3.1
Ronald Oussoren [Fri, 6 May 2011 08:57:22 +0000 (10:57 +0200)]
merge from 3.1

13 years agoFix for issue 10684: Folders get deleted when trying to change case with shutil.move...
Ronald Oussoren [Fri, 6 May 2011 08:23:04 +0000 (10:23 +0200)]
Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

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

13 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.

13 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.

13 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

13 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

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

13 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.

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

13 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

13 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.

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

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

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

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

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

13 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.

13 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.

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

13 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)

13 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)

13 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)

13 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).

13 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).

13 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.

13 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.

13 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.

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

13 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

13 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

13 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

13 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

13 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

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

13 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)

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

13 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.

13 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.

13 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.

13 years ago#11952: Fix typo in multiprocessing doc.
Ezio Melotti [Fri, 29 Apr 2011 04:10:24 +0000 (07:10 +0300)]
#11952: Fix typo in multiprocessing doc.

13 years agoskip the extractall test on platforms where os.symlink is not available.
Senthil Kumaran [Thu, 28 Apr 2011 09:05:55 +0000 (17:05 +0800)]
skip the extractall test on platforms where os.symlink is not available.

13 years agoAdd tests for tarfile extractall feature when with symlinks
Senthil Kumaran [Thu, 28 Apr 2011 07:38:12 +0000 (15:38 +0800)]
Add tests for tarfile extractall feature when with symlinks

13 years ago#11926: add missing keywords to help("keywords").
Ezio Melotti [Thu, 28 Apr 2011 04:42:55 +0000 (07:42 +0300)]
#11926: add missing keywords to help("keywords").

13 years agoIssue #11940: Update external link.
Raymond Hettinger [Wed, 27 Apr 2011 23:32:08 +0000 (16:32 -0700)]
Issue #11940: Update external link.

13 years ago#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
Ezio Melotti [Wed, 27 Apr 2011 21:48:46 +0000 (00:48 +0300)]
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.

13 years agoBranch merge
Éric Araujo [Wed, 27 Apr 2011 14:23:56 +0000 (16:23 +0200)]
Branch merge

13 years agoChange markup so it generates a link
Éric Araujo [Wed, 27 Apr 2011 14:22:32 +0000 (16:22 +0200)]
Change markup so it generates a link

13 years ago#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too...
Ezio Melotti [Wed, 27 Apr 2011 07:17:34 +0000 (10:17 +0300)]
#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.

13 years agoIssue #10914: Initialize correctly the filesystem codec when creating a new
Victor Stinner [Tue, 26 Apr 2011 22:24:21 +0000 (00:24 +0200)]
Issue #10914: Initialize correctly the filesystem codec when creating a new
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.

Add fscodec_initialized attribute to the PyInterpreterState structure.

13 years agoIssue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)
Victor Stinner [Tue, 26 Apr 2011 22:20:27 +0000 (00:20 +0200)]
Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)

... instead of PyErr_Print() because we don't need to set sys attributes,
the sys module is destroyed just after printing the error.

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

13 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.

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

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

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

13 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.

13 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.

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

13 years agoAdd WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
Antoine Pitrou [Thu, 28 Apr 2011 22:44:33 +0000 (00:44 +0200)]
Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)

13 years agoCloses #11324: ConfigParser(interpolation=None) doesn't work.
Łukasz Langa [Thu, 28 Apr 2011 15:03:45 +0000 (17:03 +0200)]
Closes #11324: ConfigParser(interpolation=None) doesn't work.

Initial patches by Tobias Brink. Thanks!

13 years agoAdded Yuxiao Zeng for finding and resolving #11858. Thanks!
Łukasz Langa [Thu, 28 Apr 2011 14:00:57 +0000 (16:00 +0200)]
Added Yuxiao Zeng for finding and resolving #11858. Thanks!

13 years agoStyle updates for the #11670 solution after post-commit review by Ezio Melotti:
Łukasz Langa [Thu, 28 Apr 2011 10:02:05 +0000 (12:02 +0200)]
Style updates for the #11670 solution after post-commit review by Ezio Melotti:

http://mail.python.org/pipermail/python-checkins/2011-April/104688.html

Thanks!

13 years agomerge from 3.1
Senthil Kumaran [Thu, 28 Apr 2011 09:08:12 +0000 (17:08 +0800)]
merge from 3.1

13 years agoCloses #11858: configparser.ExtendedInterpolation and section case.
Łukasz Langa [Thu, 28 Apr 2011 08:58:57 +0000 (10:58 +0200)]
Closes #11858: configparser.ExtendedInterpolation and section case.

Patch by ゆかり ぴんく魔女. Thanks!

13 years agomerge from 3.1
Senthil Kumaran [Thu, 28 Apr 2011 07:53:09 +0000 (15:53 +0800)]
merge from 3.1

13 years ago#11926: merge with 3.1.
Ezio Melotti [Thu, 28 Apr 2011 04:51:14 +0000 (07:51 +0300)]
#11926: merge with 3.1.

13 years agoIssue #11940: Update external link.
Raymond Hettinger [Wed, 27 Apr 2011 23:32:34 +0000 (16:32 -0700)]
Issue #11940: Update external link.

13 years ago#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.
Ezio Melotti [Wed, 27 Apr 2011 21:59:29 +0000 (00:59 +0300)]
#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.

13 years ago#11942: merge with 3.1.
Ezio Melotti [Wed, 27 Apr 2011 21:53:14 +0000 (00:53 +0300)]
#11942: merge with 3.1.

13 years agoIssue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
Antoine Pitrou [Wed, 27 Apr 2011 17:28:05 +0000 (19:28 +0200)]
Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
APIs, to avoid a crash with the pthread implementation in RHEL 5.  Patch
by Charles-François Natali.

13 years agoFixed trailing whitespace in the ReST file.
Łukasz Langa [Wed, 27 Apr 2011 16:13:42 +0000 (18:13 +0200)]
Fixed trailing whitespace in the ReST file.

13 years agoCloses #11670: configparser read_file now iterates over f.
Łukasz Langa [Wed, 27 Apr 2011 16:10:05 +0000 (18:10 +0200)]
Closes #11670: configparser read_file now iterates over f.

13 years agoMerge 3.1
Éric Araujo [Wed, 27 Apr 2011 14:27:38 +0000 (16:27 +0200)]
Merge 3.1

13 years agoBranch merge
Éric Araujo [Wed, 27 Apr 2011 14:25:27 +0000 (16:25 +0200)]
Branch merge

13 years ago#11763: merge with 3.1.
Ezio Melotti [Wed, 27 Apr 2011 07:20:38 +0000 (10:20 +0300)]
#11763: merge with 3.1.

13 years agoIssue 11929: Minor whitespace clean-ups.
Raymond Hettinger [Tue, 26 Apr 2011 20:55:55 +0000 (13:55 -0700)]
Issue 11929: Minor whitespace clean-ups.

13 years agomerge from 3.1
Senthil Kumaran [Tue, 26 Apr 2011 13:10:23 +0000 (21:10 +0800)]
merge from 3.1

13 years agoUpdate News entry for Issue11236
Senthil Kumaran [Tue, 26 Apr 2011 13:09:49 +0000 (21:09 +0800)]
Update News entry for Issue11236

13 years agomerge from 3.1 codeline.
Senthil Kumaran [Tue, 26 Apr 2011 13:00:27 +0000 (21:00 +0800)]
merge from 3.1 codeline.

13 years agoFix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z
Senthil Kumaran [Tue, 26 Apr 2011 12:59:46 +0000 (20:59 +0800)]
Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z