]> granicus.if.org Git - python/log
python
13 years agoMerge with 3.1.
Ezio Melotti [Mon, 9 May 2011 01:00:06 +0000 (04:00 +0300)]
Merge with 3.1.

13 years agoAdd a note to the str.find doc to suggest the use of the "in" operator.
Ezio Melotti [Mon, 9 May 2011 00:54:30 +0000 (03:54 +0300)]
Add a note to the str.find doc to suggest the use of the "in" operator.

13 years agomerge 3.1
Benjamin Peterson [Sun, 8 May 2011 20:34:24 +0000 (15:34 -0500)]
merge 3.1

13 years agoput import_fresh_module in __all__
Benjamin Peterson [Sun, 8 May 2011 20:32:46 +0000 (15:32 -0500)]
put import_fresh_module in __all__

13 years agoMerge with 3.1.
Ezio Melotti [Sun, 8 May 2011 17:00:03 +0000 (20:00 +0300)]
Merge with 3.1.

13 years agoAdd back Misc/NEWS entry that got lost during merge, and fix a couple of other things.
Ezio Melotti [Sun, 8 May 2011 16:58:08 +0000 (19:58 +0300)]
Add back Misc/NEWS entry that got lost during merge, and fix a couple of other things.

13 years agoMerge
Antoine Pitrou [Sat, 7 May 2011 17:47:47 +0000 (19:47 +0200)]
Merge

13 years agoMerge
Antoine Pitrou [Sat, 7 May 2011 17:47:24 +0000 (19:47 +0200)]
Merge

13 years agoMerge
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge

13 years agoMerge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
Antoine Pitrou [Sat, 7 May 2011 17:41:33 +0000 (19:41 +0200)]
Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.

13 years agoIssue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun...
Antoine Pitrou [Sat, 7 May 2011 17:39:37 +0000 (19:39 +0200)]
Issue #11927: SMTP_SSL now uses port 465 by default as documented.  Patch by Kasun Herath.

13 years agomerge
Giampaolo Rodola' [Sat, 7 May 2011 17:35:36 +0000 (19:35 +0200)]
merge

13 years agomerge with 3.1
Giampaolo Rodola' [Sat, 7 May 2011 17:09:34 +0000 (19:09 +0200)]
merge with 3.1

13 years ago#12002 - ftplib's abort() method raises TypeError
Giampaolo Rodola' [Sat, 7 May 2011 17:03:47 +0000 (19:03 +0200)]
#12002 - ftplib's abort() method raises TypeError

13 years ago#5421: merge with 3.1.
Ezio Melotti [Sat, 7 May 2011 16:50:28 +0000 (19:50 +0300)]
#5421: merge with 3.1.

13 years ago#5421: add tests.
Ezio Melotti [Sat, 7 May 2011 16:47:48 +0000 (19:47 +0300)]
#5421: add tests.

13 years ago#12017: merge with 3.1.
Ezio Melotti [Sat, 7 May 2011 15:15:34 +0000 (18:15 +0300)]
#12017: merge with 3.1.

13 years ago#12017: Fix segfault in json.loads() while decoding highly-nested objects using the...
Ezio Melotti [Sat, 7 May 2011 14:58:09 +0000 (17:58 +0300)]
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.

13 years agoMerge: Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:35:36 +0000 (14:35 +0200)]
Merge: Fix potential resource leak in test_mmap.

13 years agoFix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:35:05 +0000 (14:35 +0200)]
Fix potential resource leak in test_mmap.

13 years agoMerge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 12:16:50 +0000 (14:16 +0200)]
Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.

13 years agoIssue #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 12:14:53 +0000 (14:14 +0200)]
Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened.

13 years agoMerge: #11277: Add tests for mmap crash when using large sparse files on OS X.
Nadeem Vawda [Sat, 7 May 2011 11:08:54 +0000 (13:08 +0200)]
Merge: #11277: Add tests for mmap crash when using large sparse files on OS X.

Also, reduce code duplication in LargeMmapTests.

Original patch by Steffen Daode Nurpmeso.

13 years agoIssue #11277: Add tests for mmap crash when using large sparse files on OS X.
Nadeem Vawda [Sat, 7 May 2011 11:01:50 +0000 (13:01 +0200)]
Issue #11277: Add tests for mmap crash when using large sparse files on OS X.

Also, reduce code duplication in LargeMmapTests.

Original patch by Steffen Daode Nurpmeso.

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.