]> granicus.if.org Git - python/log
python
13 years agosys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not
Victor Stinner [Thu, 31 Mar 2011 11:39:03 +0000 (13:39 +0200)]
sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not
called yet: detect bootstrap (startup) issues earlier.

13 years agoIssue #11618: Fix the timeout logic in threading.Lock.acquire() under
Antoine Pitrou [Wed, 30 Mar 2011 23:00:32 +0000 (01:00 +0200)]
Issue #11618: Fix the timeout logic in threading.Lock.acquire() under
Windows.

13 years agoMerge
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:55:52 +0000 (11:55 +0000)]
Merge

13 years agoMerge 3.1
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:24:58 +0000 (11:24 +0000)]
Merge 3.1

13 years agoBugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:04:28 +0000 (11:04 +0000)]
Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
ti can raise an exception even if PyLong_Check() has
succeeded.

13 years agoIssue 11713: clarify docstring for collections.deque()
Raymond Hettinger [Wed, 30 Mar 2011 00:36:31 +0000 (17:36 -0700)]
Issue 11713: clarify docstring for collections.deque()

13 years agoMerge issue 11662.
Guido van Rossum [Tue, 29 Mar 2011 19:58:29 +0000 (12:58 -0700)]
Merge issue 11662.

13 years agoMerge Issue 11662 from 3.1 branch.
guido@google.com [Tue, 29 Mar 2011 18:51:26 +0000 (11:51 -0700)]
Merge Issue 11662 from 3.1 branch.

13 years agoIssue 11662: Fix vulnerability in urllib/urllib2.
guido@google.com [Tue, 29 Mar 2011 18:41:02 +0000 (11:41 -0700)]
Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)

13 years agoCorrect handling of functions with only kwarg args in getcallargs (closes #11256)
Benjamin Peterson [Mon, 28 Mar 2011 22:32:31 +0000 (17:32 -0500)]
Correct handling of functions with only kwarg args in getcallargs (closes #11256)

A patch from Daniel Urban.

13 years agomerge 3.1
Benjamin Peterson [Mon, 28 Mar 2011 22:25:50 +0000 (17:25 -0500)]
merge 3.1

13 years agolet's keep parenthesis around sizeof
Benjamin Peterson [Mon, 28 Mar 2011 22:25:15 +0000 (17:25 -0500)]
let's keep parenthesis around sizeof

13 years ago#10617: merge with 3.1.
Ezio Melotti [Mon, 28 Mar 2011 10:53:40 +0000 (13:53 +0300)]
#10617: merge with 3.1.

13 years ago#10617: add class directives to collections ABCs.
Ezio Melotti [Mon, 28 Mar 2011 10:50:41 +0000 (13:50 +0300)]
#10617: add class directives to collections ABCs.

13 years agomerge #11696
Martin v. Löwis [Sun, 27 Mar 2011 19:07:13 +0000 (21:07 +0200)]
merge #11696

13 years agoCloses #11696: Fix ID generation in msilib.
Martin v. Löwis [Sun, 27 Mar 2011 19:05:51 +0000 (21:05 +0200)]
Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.

13 years agoMerge #9696
Mark Dickinson [Sun, 27 Mar 2011 15:30:07 +0000 (16:30 +0100)]
Merge #9696

13 years agoIssue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying...
Mark Dickinson [Sun, 27 Mar 2011 15:25:40 +0000 (16:25 +0100)]
Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.

13 years agoMove misplaced Misc/NEWS item (merge from 3.1)
Mark Dickinson [Sun, 27 Mar 2011 14:50:04 +0000 (15:50 +0100)]
Move misplaced Misc/NEWS item (merge from 3.1)

13 years agoFix misplaced Misc/NEWS entry.
Mark Dickinson [Sun, 27 Mar 2011 14:46:32 +0000 (15:46 +0100)]
Fix misplaced Misc/NEWS entry.

13 years agoIssue #9026: Fix order of argparse sub-commands in help messages.
Steven Bethard [Sun, 27 Mar 2011 11:53:53 +0000 (13:53 +0200)]
Issue #9026: Fix order of argparse sub-commands in help messages.

13 years agomerge #7639
Martin v. Löwis [Sun, 27 Mar 2011 08:14:57 +0000 (10:14 +0200)]
merge #7639

13 years agoFix short file name generation in bdist_msi.
Martin v. Löwis [Sun, 27 Mar 2011 08:12:07 +0000 (10:12 +0200)]
Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.

13 years agomerge 3.1
Benjamin Peterson [Sat, 26 Mar 2011 23:17:05 +0000 (18:17 -0500)]
merge 3.1

13 years agorevert unintended changes
Benjamin Peterson [Sat, 26 Mar 2011 23:11:54 +0000 (18:11 -0500)]
revert unintended changes

13 years agoalways check return value of PyObject_IsInstance for error
Benjamin Peterson [Sat, 26 Mar 2011 23:04:09 +0000 (18:04 -0500)]
always check return value of PyObject_IsInstance for error

13 years agocheck possible recursive _as_parameter_ to prevent segfault (closes #1838)
Benjamin Peterson [Sat, 26 Mar 2011 22:56:28 +0000 (17:56 -0500)]
check possible recursive _as_parameter_ to prevent segfault (closes #1838)

13 years agoIssue #9343: Document that argparse parent parsers must be configured before their...
Steven Bethard [Sat, 26 Mar 2011 20:49:00 +0000 (21:49 +0100)]
Issue #9343: Document that argparse parent parsers must be configured before their children.

13 years agoMerge
Antoine Pitrou [Sat, 26 Mar 2011 20:16:07 +0000 (21:16 +0100)]
Merge

13 years agoIn the Windows clean script for buildbots, also clear the build dir
Antoine Pitrou [Sat, 26 Mar 2011 20:15:47 +0000 (21:15 +0100)]
In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)

13 years agoMerge with 3.1
Ross Lagerwall [Sat, 26 Mar 2011 19:21:46 +0000 (21:21 +0200)]
Merge with 3.1

13 years agoIssue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Ross Lagerwall [Sat, 26 Mar 2011 19:19:57 +0000 (21:19 +0200)]
Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.

13 years agoIssue #8982: Improve the documentation for the argparse Namespace object.
Steven Bethard [Sat, 26 Mar 2011 18:50:06 +0000 (19:50 +0100)]
Issue #8982: Improve the documentation for the argparse Namespace object.

13 years agoIssue #11635: Don't use polling in worker threads and processes launched by
Antoine Pitrou [Sat, 26 Mar 2011 18:29:44 +0000 (19:29 +0100)]
Issue #11635: Don't use polling in worker threads and processes launched by
concurrent.futures.

13 years agoRead HTTP response inside transient_internet()
Antoine Pitrou [Sat, 26 Mar 2011 17:38:06 +0000 (18:38 +0100)]
Read HTTP response inside transient_internet()

13 years agotest_urllibnet: make it so that transient_internet() applies to the
Antoine Pitrou [Sat, 26 Mar 2011 17:36:42 +0000 (18:36 +0100)]
test_urllibnet: make it so that transient_internet() applies to the
whole HTTP exchange, not only the opening.

13 years agoFix NEWS item that ended up in wrong section
Steven Bethard [Sat, 26 Mar 2011 17:29:48 +0000 (18:29 +0100)]
Fix NEWS item that ended up in wrong section

13 years agoIssue #9348: Raise an early error if argparse nargs and metavar don't match.
Steven Bethard [Sat, 26 Mar 2011 16:33:56 +0000 (17:33 +0100)]
Issue #9348: Raise an early error if argparse nargs and metavar don't match.

13 years agoMerge #11675
Mark Dickinson [Sat, 26 Mar 2011 10:21:20 +0000 (10:21 +0000)]
Merge #11675

13 years agoIssue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.
Mark Dickinson [Sat, 26 Mar 2011 10:19:03 +0000 (10:19 +0000)]
Issue #11675:  Zero-out newly-created multiprocessing.[Raw]Array objects.

13 years ago#10553: Explain why compileall has no command-line argument to control optimization
Éric Araujo [Sat, 26 Mar 2011 02:22:55 +0000 (03:22 +0100)]
#10553: Explain why compileall has no command-line argument to control optimization

13 years agoBranch merge
Éric Araujo [Sat, 26 Mar 2011 01:00:08 +0000 (02:00 +0100)]
Branch merge

13 years agoMerge 3.1
Éric Araujo [Sat, 26 Mar 2011 00:59:47 +0000 (01:59 +0100)]
Merge 3.1

13 years agoBranch merge
Éric Araujo [Sat, 26 Mar 2011 00:55:56 +0000 (01:55 +0100)]
Branch merge

13 years agoMerge from 3.1
Kurt B. Kaiser [Sat, 26 Mar 2011 00:32:00 +0000 (20:32 -0400)]
Merge from 3.1

13 years ago<Home> toggle failing on Tk 8.5, causing IDLE exits. Issue #4676
Kurt B. Kaiser [Sat, 26 Mar 2011 00:29:13 +0000 (20:29 -0400)]
<Home> toggle failing on Tk 8.5, causing IDLE exits. Issue #4676

13 years agoMerge doc touchups from 3.1
Éric Araujo [Fri, 25 Mar 2011 23:50:16 +0000 (00:50 +0100)]
Merge doc touchups from 3.1

13 years agoBranch merge
Éric Araujo [Fri, 25 Mar 2011 23:47:47 +0000 (00:47 +0100)]
Branch merge

13 years agoTweaks to sys.flags description table.
Éric Araujo [Fri, 25 Mar 2011 23:47:04 +0000 (00:47 +0100)]
Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.

13 years agoIssue #11666: Teach pydoc to display full help for named tuples
Raymond Hettinger [Fri, 25 Mar 2011 21:15:24 +0000 (14:15 -0700)]
Issue #11666: Teach pydoc to display full help for named tuples

13 years agoRemove untrue statement from tutorial
Éric Araujo [Fri, 25 Mar 2011 20:53:58 +0000 (21:53 +0100)]
Remove untrue statement from tutorial

13 years agoMerge #9557: eliminate 3 seconds of static overhead from test_mailbox.
R David Murray [Fri, 25 Mar 2011 20:16:54 +0000 (16:16 -0400)]
Merge #9557: eliminate 3 seconds of static overhead from test_mailbox.

13 years ago#9557: eliminate 3 seconds of static overhead from test_mailbox.
R David Murray [Fri, 25 Mar 2011 20:03:47 +0000 (16:03 -0400)]
#9557: eliminate 3 seconds of static overhead from test_mailbox.

This patch doesn't quite fix the 'run in a VM with Samba share'
timing problem, but it should at least make it better.

13 years agoIssue #11071: Fix whatsnew description of O/S access to raw bytes.
Raymond Hettinger [Fri, 25 Mar 2011 19:41:07 +0000 (12:41 -0700)]
Issue  #11071: Fix whatsnew description of O/S access to raw bytes.

13 years agoUse universal construct os.path.expanduser('~') instead of os.environ['HOME']
Éric Araujo [Fri, 25 Mar 2011 19:31:50 +0000 (20:31 +0100)]
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']

13 years ago#11584: Since __getitem__ returns headers, make decode_header handle them.
R David Murray [Fri, 25 Mar 2011 19:10:55 +0000 (15:10 -0400)]
#11584: Since __getitem__ returns headers, make decode_header handle them.

Why I consider this a bug rather than an API change: the API change was
to Message, which didn't used to return Headers unless you added them
yourself.  Now it does (for 8bit binary header input), so decode_header
needs to be able to handle them.

13 years ago#2650: Merge with 3.1.
Ezio Melotti [Fri, 25 Mar 2011 12:25:36 +0000 (14:25 +0200)]
#2650: Merge with 3.1.

13 years ago#2650: Refactor re.escape to use enumerate().
Ezio Melotti [Fri, 25 Mar 2011 12:19:30 +0000 (14:19 +0200)]
#2650: Refactor re.escape to use enumerate().

13 years ago#2650: Add tests with non-ascii chars for re.escape.
Ezio Melotti [Fri, 25 Mar 2011 12:09:33 +0000 (14:09 +0200)]
#2650: Add tests with non-ascii chars for re.escape.

13 years ago#2650: Refactor the tests for re.escape.
Ezio Melotti [Fri, 25 Mar 2011 12:08:44 +0000 (14:08 +0200)]
#2650: Refactor the tests for re.escape.

13 years agoMerge from 3.1 again
Kurt B. Kaiser [Fri, 25 Mar 2011 04:30:40 +0000 (00:30 -0400)]
Merge from 3.1 again

13 years agoMerge 3.2 heads
Kurt B. Kaiser [Fri, 25 Mar 2011 04:22:09 +0000 (00:22 -0400)]
Merge 3.2 heads

13 years agoMerge 3.1
Kurt B. Kaiser [Thu, 24 Mar 2011 17:19:35 +0000 (13:19 -0400)]
Merge 3.1

13 years agoMerge #11606: improved body_encode algorithm, no longer produces overlong lines
R David Murray [Thu, 24 Mar 2011 16:27:23 +0000 (12:27 -0400)]
Merge #11606: improved body_encode algorithm, no longer produces overlong lines

13 years ago#11606: improved body_encode algorithm, no longer produces overlong lines
R David Murray [Thu, 24 Mar 2011 16:19:26 +0000 (12:19 -0400)]
#11606: improved body_encode algorithm, no longer produces overlong lines

Algorithm and initial patch by Michael Henry.

13 years agoMerge 3.1
Kurt B. Kaiser [Thu, 24 Mar 2011 16:03:36 +0000 (12:03 -0400)]
Merge 3.1

13 years agoMerge 3.1
Victor Stinner [Thu, 24 Mar 2011 15:39:07 +0000 (16:39 +0100)]
Merge 3.1

13 years agotest_multiprocessing: use assertLess() to see the timeout on error
Victor Stinner [Thu, 24 Mar 2011 15:24:07 +0000 (16:24 +0100)]
test_multiprocessing: use assertLess() to see the timeout on error

13 years agoAdd tests for the atexit hook in concurrent.futures (part of #11635)
Antoine Pitrou [Thu, 24 Mar 2011 14:47:39 +0000 (15:47 +0100)]
Add tests for the atexit hook in concurrent.futures (part of #11635)

13 years agoissue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. Patch...
Senthil Kumaran [Thu, 24 Mar 2011 03:46:19 +0000 (11:46 +0800)]
issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. Patch by Nadeem Vawda.

13 years agoAdd NEWS entry for 9aa6097131ef
Antoine Pitrou [Wed, 23 Mar 2011 22:02:31 +0000 (23:02 +0100)]
Add NEWS entry for 9aa6097131ef

13 years agoIssue #11653: fix -W with -j in regrtest
Antoine Pitrou [Wed, 23 Mar 2011 22:01:49 +0000 (23:01 +0100)]
Issue #11653: fix -W with -j in regrtest

13 years agoMerge #11590: fix quoprimime decode handling of empty strings and line endings.
R David Murray [Wed, 23 Mar 2011 19:27:04 +0000 (15:27 -0400)]
Merge #11590: fix quoprimime decode handling of empty strings and line endings.

13 years ago#11590: fix quoprimime decode handling of empty strings and line endings.
R David Murray [Wed, 23 Mar 2011 19:25:55 +0000 (15:25 -0400)]
#11590: fix quoprimime decode handling of empty strings and line endings.

13 years agoMerge #11589: add additional tests for the email quoprimime module.
R David Murray [Wed, 23 Mar 2011 18:27:18 +0000 (14:27 -0400)]
Merge #11589: add additional tests for the email quoprimime module.

13 years ago#11589: add additional tests for the email quoprimime module.
R David Murray [Wed, 23 Mar 2011 18:19:05 +0000 (14:19 -0400)]
#11589: add additional tests for the email quoprimime module.

Patch by Michael Henry.

13 years agoBranch merge
Éric Araujo [Wed, 23 Mar 2011 03:52:08 +0000 (04:52 +0100)]
Branch merge

13 years agoMerge from 3.1.
Éric Araujo [Wed, 23 Mar 2011 02:43:22 +0000 (03:43 +0100)]
Merge from 3.1.

The fix was already committed to 3.2, but I merged two small changes
recommended by Raymond while I was working on the 2.7 patch to ease
future merges.

13 years agoUse transient_internet() consistently in test_imaplib
Antoine Pitrou [Wed, 23 Mar 2011 02:10:14 +0000 (03:10 +0100)]
Use transient_internet() consistently in test_imaplib

13 years agoFix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by Raymond.
Éric Araujo [Wed, 23 Mar 2011 01:08:07 +0000 (02:08 +0100)]
Fix obscure set crashers (#8420).  Backport of d56b3cafb1e6, reviewed by Raymond.

13 years agoIssue #10610: Document that int(), float(), and complex() accept numeric literals...
Raymond Hettinger [Wed, 23 Mar 2011 00:33:53 +0000 (17:33 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.

13 years agoIssue #10610: Document that int(), float(), and complex() accept numeric literals...
Raymond Hettinger [Wed, 23 Mar 2011 00:33:17 +0000 (17:33 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.

13 years agoIssue #10771: Clarify that descriptors get used in an *owner* class or one of its...
Raymond Hettinger [Tue, 22 Mar 2011 23:27:31 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.

13 years agoIssue #10771: Clarify that descriptors get used in an *owner* class or one of its...
Raymond Hettinger [Tue, 22 Mar 2011 23:27:02 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.

13 years agoMerge from 3.1
Kurt B. Kaiser [Tue, 22 Mar 2011 23:26:46 +0000 (19:26 -0400)]
Merge from 3.1

13 years agoIssue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:56:41 +0000 (15:56 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.

13 years agoIssue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:55:51 +0000 (15:55 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.

13 years agoIssue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:33:02 +0000 (15:33 -0700)]
Issue 10988: fix description of super's descriptor call.

13 years agoIssue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.

13 years agoUse shorter timings in test_concurrent_futures to make it a bit faster
Antoine Pitrou [Tue, 22 Mar 2011 17:30:30 +0000 (18:30 +0100)]
Use shorter timings in test_concurrent_futures to make it a bit faster
(it's still very slow)

13 years agoIssue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:12:18 +0000 (09:12 -0700)]
Issue #11625: Fix Typo

13 years agoIssue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:11:39 +0000 (09:11 -0700)]
Issue #11625: Fix Typo

13 years agoIssue #11628: cmp_to_key should use __slots__.
Raymond Hettinger [Tue, 22 Mar 2011 00:50:28 +0000 (17:50 -0700)]
Issue #11628: cmp_to_key should use __slots__.

13 years agoAlways print out the traceback when a test "crashed"
Antoine Pitrou [Mon, 21 Mar 2011 18:55:16 +0000 (19:55 +0100)]
Always print out the traceback when a test "crashed"

13 years agoTry to make test_import a bit more robust
Antoine Pitrou [Mon, 21 Mar 2011 18:05:02 +0000 (19:05 +0100)]
Try to make test_import a bit more robust

13 years agoRelax timing check (seen a buildbot failure on this)
Antoine Pitrou [Mon, 21 Mar 2011 17:43:01 +0000 (18:43 +0100)]
Relax timing check (seen a buildbot failure on this)

13 years agoMerge to 3.2.
Georg Brandl [Mon, 21 Mar 2011 07:55:31 +0000 (08:55 +0100)]
Merge to 3.2.

13 years agoFix duplicate word.
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.

13 years ago<Home> toggle non-functional when NumLock set
Kurt B. Kaiser [Mon, 21 Mar 2011 06:13:42 +0000 (02:13 -0400)]
<Home> toggle non-functional when NumLock set
on Windows.  Issue3851.

13 years agomerge 3.1 (already commited before)
Victor Stinner [Mon, 21 Mar 2011 02:28:10 +0000 (03:28 +0100)]
merge 3.1 (already commited before)