]> granicus.if.org Git - python/log
python
13 years agomerge 79422b3684f1 in 3.3 branch (issue 10340)
Giampaolo Rodola' [Thu, 22 Mar 2012 15:19:45 +0000 (16:19 +0100)]
merge 79422b3684f1 in 3.3 branch (issue 10340)

13 years agofix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect(...
Giampaolo Rodola' [Thu, 22 Mar 2012 15:17:43 +0000 (16:17 +0100)]
fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect.

13 years agomerge 3.2
Benjamin Peterson [Thu, 22 Mar 2012 14:40:20 +0000 (10:40 -0400)]
merge 3.2

13 years agothis should technicaly be identifier
Benjamin Peterson [Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)]
this should technicaly be identifier

13 years agoIssue #14387: Do not include accu.h from Python.h.
Antoine Pitrou [Thu, 22 Mar 2012 13:42:18 +0000 (14:42 +0100)]
Issue #14387: Do not include accu.h from Python.h.

13 years agoIssue #14387: Do not include accu.h from Python.h.
Antoine Pitrou [Thu, 22 Mar 2012 13:38:16 +0000 (14:38 +0100)]
Issue #14387: Do not include accu.h from Python.h.

13 years agomerge 3.2
Benjamin Peterson [Thu, 22 Mar 2012 12:56:27 +0000 (08:56 -0400)]
merge 3.2

13 years agocheck for NULL
Benjamin Peterson [Thu, 22 Mar 2012 12:56:15 +0000 (08:56 -0400)]
check for NULL

13 years agomerge 3.2 (#14378)
Benjamin Peterson [Thu, 22 Mar 2012 12:19:50 +0000 (08:19 -0400)]
merge 3.2 (#14378)

13 years agocheck by equality for __future__ not identity (closes #14378)
Benjamin Peterson [Thu, 22 Mar 2012 12:19:04 +0000 (08:19 -0400)]
check by equality for __future__ not identity (closes #14378)

13 years agoFix typo.
Georg Brandl [Thu, 22 Mar 2012 06:42:31 +0000 (07:42 +0100)]
Fix typo.

13 years agoMicro-optimize PyObject_GetAttrString()
Victor Stinner [Thu, 22 Mar 2012 01:09:08 +0000 (02:09 +0100)]
Micro-optimize PyObject_GetAttrString()

w cannot be NULL so use Py_DECREF() instead of Py_XDECREF().

13 years agoIssue #14204: The ssl module now has support for the Next Protocol Negotiation extens...
Antoine Pitrou [Wed, 21 Mar 2012 23:23:03 +0000 (00:23 +0100)]
Issue #14204: The ssl module now has support for the Next Protocol Negotiation extension, if available in the underlying OpenSSL library.
Patch by Colin Marc.

13 years agoIssue #3035: Unused functions from tkinter are marked as pending peprecated.
Andrew Svetlov [Wed, 21 Mar 2012 21:52:59 +0000 (23:52 +0200)]
Issue #3035: Unused functions from tkinter are marked as pending peprecated.

13 years agoMerge.
Stefan Krah [Wed, 21 Mar 2012 19:27:33 +0000 (20:27 +0100)]
Merge.

13 years agoWhitespace.
Stefan Krah [Wed, 21 Mar 2012 19:21:20 +0000 (20:21 +0100)]
Whitespace.

13 years agoMerge #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
R David Murray [Wed, 21 Mar 2012 18:55:04 +0000 (14:55 -0400)]
Merge #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v

13 years ago#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
R David Murray [Wed, 21 Mar 2012 18:53:42 +0000 (14:53 -0400)]
#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v

13 years agolong() -> int()
Benjamin Peterson [Wed, 21 Mar 2012 18:51:14 +0000 (14:51 -0400)]
long() -> int()

13 years agomake _PyNumber_ConvertIntegralToInt static, since it's only used in abstract.c
Benjamin Peterson [Wed, 21 Mar 2012 18:44:43 +0000 (14:44 -0400)]
make _PyNumber_ConvertIntegralToInt static, since it's only used in abstract.c

13 years agorewrite this function, which was still accounting for classic classes
Benjamin Peterson [Wed, 21 Mar 2012 18:38:11 +0000 (14:38 -0400)]
rewrite this function, which was still accounting for classic classes

13 years agomerge heads
Benjamin Peterson [Wed, 21 Mar 2012 18:26:09 +0000 (14:26 -0400)]
merge heads

13 years agoDocument decimal.MIN_ETINY.
Stefan Krah [Wed, 21 Mar 2012 17:47:20 +0000 (18:47 +0100)]
Document decimal.MIN_ETINY.

13 years agoIssue #7652: Integrate the decimal floating point libmpdec library to speed
Stefan Krah [Wed, 21 Mar 2012 17:25:23 +0000 (18:25 +0100)]
Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.

13 years agoRemove non-existing file from pythoncore project.
krisvale [Wed, 21 Mar 2012 11:37:09 +0000 (11:37 +0000)]
Remove non-existing file from pythoncore project.

13 years agoMerge from 3.2 for issue #3573, fix Misc/NEWS as Ned Deily guess.
Andrew Svetlov [Wed, 21 Mar 2012 11:31:12 +0000 (13:31 +0200)]
Merge from 3.2 for issue #3573, fix Misc/NEWS as Ned Deily guess.

13 years ago#3573: idle now doesn't hungs if launched as: idle -e <directory>
Andrew Svetlov [Wed, 21 Mar 2012 11:23:41 +0000 (13:23 +0200)]
#3573: idle now doesn't hungs if launched as: idle -e <directory>

Patch by Guilherme Polo.

13 years agocorrectly lookup __trunc__ in int() constructor
Benjamin Peterson [Wed, 21 Mar 2012 03:48:11 +0000 (23:48 -0400)]
correctly lookup __trunc__ in int() constructor

13 years agosome more identifier goodness
Benjamin Peterson [Wed, 21 Mar 2012 03:26:41 +0000 (23:26 -0400)]
some more identifier goodness

13 years agouse identifier api
Benjamin Peterson [Wed, 21 Mar 2012 03:17:04 +0000 (23:17 -0400)]
use identifier api

13 years ago#3573: idle now doesn't hungs if launched as: idle -e <directory>
Andrew Svetlov [Tue, 20 Mar 2012 21:03:26 +0000 (23:03 +0200)]
#3573: idle now doesn't hungs if launched as: idle -e <directory>

Patch by Guilherme Polo.

13 years ago#14269: smtpd now conforms to the RFC and requires HELO before MAIL.
R David Murray [Tue, 20 Mar 2012 20:16:29 +0000 (16:16 -0400)]
#14269: smtpd now conforms to the RFC and requires HELO before MAIL.

This is a backward incompatible change, but since it is an RFC conformance bug
and all real mail servers that I know of do conform to the RFC in this regard,
I believe it is an acceptable change for a feature release.

Patch by Jason Killen.

13 years agomerge 3.2
Benjamin Peterson [Tue, 20 Mar 2012 20:10:36 +0000 (16:10 -0400)]
merge 3.2

13 years agoIssue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.
Larry Hastings [Tue, 20 Mar 2012 20:06:16 +0000 (20:06 +0000)]
Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.

They're optional-only for now (unlike in pure Python) but that's all
I needed.  The syntax can easily be relaxed if we want to support
required keyword-only arguments for extension types in the future.

13 years agoFix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
Giampaolo Rodola' [Tue, 20 Mar 2012 15:49:55 +0000 (16:49 +0100)]
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.

13 years agoFix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
Giampaolo Rodola' [Tue, 20 Mar 2012 15:44:24 +0000 (16:44 +0100)]
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.

13 years agotime.steady() doc: don't repeat the default value
Victor Stinner [Mon, 19 Mar 2012 12:17:24 +0000 (13:17 +0100)]
time.steady() doc: don't repeat the default value

13 years agoMerge with 3.2 for #14359.
Ross Lagerwall [Mon, 19 Mar 2012 04:13:13 +0000 (06:13 +0200)]
Merge with 3.2 for #14359.

13 years agoIssue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Ross Lagerwall [Mon, 19 Mar 2012 04:08:43 +0000 (06:08 +0200)]
Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.

Based on patch from HervĂ© Coatanhay.

13 years agoall OSErrors should indicate there are no extended attributes (closes #14358)
Benjamin Peterson [Mon, 19 Mar 2012 02:26:05 +0000 (22:26 -0400)]
all OSErrors should indicate there are no extended attributes (closes #14358)

13 years agoMerge #14355: remove obsolete doc reference to previously removed init_frozen.
R David Murray [Mon, 19 Mar 2012 00:50:36 +0000 (20:50 -0400)]
Merge #14355: remove obsolete doc reference to previously removed init_frozen.

Patch by Eric Snow.

13 years ago#14355: remove obsolete doc reference to previously removed init_frozen.
R David Murray [Mon, 19 Mar 2012 00:50:03 +0000 (20:50 -0400)]
#14355: remove obsolete doc reference to previously removed init_frozen.

Patch by Eric Snow.

13 years agoEmpty merge; imports rewritten in 3.3. issue #14331 may no longer apply.
Gregory P. Smith [Sun, 18 Mar 2012 23:14:17 +0000 (16:14 -0700)]
Empty merge; imports rewritten in 3.3. issue #14331 may no longer apply.

13 years agoFixes Issue #14331: Use significantly less stack space when importing modules by
Gregory P. Smith [Sun, 18 Mar 2012 23:06:53 +0000 (16:06 -0700)]
Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.

13 years agoDummy-merge (except .hgtags) 3.2.3rc2 changes.
Georg Brandl [Sun, 18 Mar 2012 19:39:46 +0000 (20:39 +0100)]
Dummy-merge (except .hgtags) 3.2.3rc2 changes.

13 years agoMerge 3.2.3rc2 from release clone.
Georg Brandl [Sun, 18 Mar 2012 19:37:43 +0000 (20:37 +0100)]
Merge 3.2.3rc2 from release clone.

13 years agoIssue 14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Ross Lagerwall [Sun, 18 Mar 2012 13:55:10 +0000 (15:55 +0200)]
Issue 14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.

Based on patch from HervĂ© Coatanhay.

13 years agoPost-release updates for 3.2.3rc2.
Georg Brandl [Sun, 18 Mar 2012 07:36:53 +0000 (08:36 +0100)]
Post-release updates for 3.2.3rc2.

13 years agoAdded tag v3.2.3rc2 for changeset 428f05cb7277
Georg Brandl [Sun, 18 Mar 2012 06:35:01 +0000 (07:35 +0100)]
Added tag v3.2.3rc2 for changeset 428f05cb7277

13 years agoBump to 3.2.3rc2. v3.2.3rc2
Georg Brandl [Sun, 18 Mar 2012 06:34:49 +0000 (07:34 +0100)]
Bump to 3.2.3rc2.

13 years agoFix whitespace
Raymond Hettinger [Sat, 17 Mar 2012 22:11:09 +0000 (15:11 -0700)]
Fix whitespace

13 years agoLow overhead path for maxsize==0
Raymond Hettinger [Sat, 17 Mar 2012 22:10:24 +0000 (15:10 -0700)]
Low overhead path for maxsize==0

13 years agoMerge #14333: fix test_queue so it can be run via standard unittest test discovery.
R David Murray [Sat, 17 Mar 2012 20:39:44 +0000 (16:39 -0400)]
Merge #14333: fix test_queue so it can be run via standard unittest test discovery.

13 years ago#14333: fix test_queue so it can be run via standard unittest test discovery.
R David Murray [Sat, 17 Mar 2012 20:38:39 +0000 (16:38 -0400)]
#14333: fix test_queue so it can be run via standard unittest test discovery.

13 years ago#14344: fixed the repr of email.policy objects.
R David Murray [Sat, 17 Mar 2012 19:11:59 +0000 (15:11 -0400)]
#14344: fixed the repr of email.policy objects.

13 years agoIssue #14347: Update Misc/README list of files.
Ned Deily [Sat, 17 Mar 2012 17:52:08 +0000 (10:52 -0700)]
Issue #14347: Update Misc/README list of files.
(Initial patch by Dionysios Kalofonos)

13 years agomerge with 3.2
Georg Brandl [Sat, 17 Mar 2012 17:39:20 +0000 (18:39 +0100)]
merge with 3.2

13 years agoMove MANIFEST parsing change to the right position.
Georg Brandl [Sat, 17 Mar 2012 17:38:13 +0000 (18:38 +0100)]
Move MANIFEST parsing change to the right position.

13 years agoIssue #14346: merge
Ned Deily [Sat, 17 Mar 2012 17:30:48 +0000 (10:30 -0700)]
Issue #14346: merge

13 years agoIssue #14346: Fix some typos in the Mac/README file.
Ned Deily [Sat, 17 Mar 2012 17:29:41 +0000 (10:29 -0700)]
Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)

13 years agomerge with 3.2
Georg Brandl [Sat, 17 Mar 2012 16:29:39 +0000 (17:29 +0100)]
merge with 3.2

13 years agoCloses #14250: regex.flags has not only explicit flags but also implicit flags and...
Georg Brandl [Sat, 17 Mar 2012 16:29:27 +0000 (17:29 +0100)]
Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern

13 years agomerge with 3.2
Georg Brandl [Sat, 17 Mar 2012 16:26:36 +0000 (17:26 +0100)]
merge with 3.2

13 years agoCloses #14343: avoid shadowing builtin input() in example code.
Georg Brandl [Sat, 17 Mar 2012 16:26:27 +0000 (17:26 +0100)]
Closes #14343: avoid shadowing builtin input() in example code.

13 years agoCloses #14342: remove out-of-date section about avoiding recursion errors.
Georg Brandl [Sat, 17 Mar 2012 16:25:47 +0000 (17:25 +0100)]
Closes #14342: remove out-of-date section about avoiding recursion errors.

13 years agomerge with 3.2
Georg Brandl [Sat, 17 Mar 2012 15:58:12 +0000 (16:58 +0100)]
merge with 3.2

13 years agoCloses #14306: clarify expensiveness of try-except and update code snippet
Georg Brandl [Sat, 17 Mar 2012 15:58:05 +0000 (16:58 +0100)]
Closes #14306: clarify expensiveness of try-except and update code snippet

13 years agoupdated whatsnew/3.3.rst with the new methods added to list and bytearray (issue...
Eli Bendersky [Sat, 17 Mar 2012 13:14:35 +0000 (15:14 +0200)]
updated whatsnew/3.3.rst with the new methods added to list and bytearray (issue 10516)

13 years agomerge from 3.2 - issue6566
Senthil Kumaran [Sat, 17 Mar 2012 07:41:15 +0000 (00:41 -0700)]
merge from 3.2 - issue6566

13 years ago3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contribu...
Senthil Kumaran [Sat, 17 Mar 2012 07:40:34 +0000 (00:40 -0700)]
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan

13 years agoSection-off the source for better readability.
Raymond Hettinger [Sat, 17 Mar 2012 07:24:09 +0000 (00:24 -0700)]
Section-off the source for better readability.

13 years agoMinor beautification.
Raymond Hettinger [Sat, 17 Mar 2012 05:12:20 +0000 (22:12 -0700)]
Minor beautification.

13 years agomerge heads
Benjamin Peterson [Sat, 17 Mar 2012 05:05:59 +0000 (00:05 -0500)]
merge heads

13 years agomake extra arguments to object.__init__/__new__ to errors in most cases (finishes...
Benjamin Peterson [Sat, 17 Mar 2012 05:05:44 +0000 (00:05 -0500)]
make extra arguments to object.__init__/__new__ to errors in most cases (finishes #1683368)

13 years agoMerge #11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:51:00 +0000 (22:51 -0400)]
Merge #11686: news entry.

13 years ago#11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:49:54 +0000 (22:49 -0400)]
#11686: news entry.

13 years agoMerge #11686: add missing entries to email __all__ lists.
R David Murray [Sat, 17 Mar 2012 02:46:14 +0000 (22:46 -0400)]
Merge #11686: add missing entries to email __all__ lists.

Original patch by Steffen Daode Nurpmeso

13 years ago#11686: add missing entries to email __all__ lists.
R David Murray [Sat, 17 Mar 2012 02:43:05 +0000 (22:43 -0400)]
#11686: add missing entries to email __all__ lists.

Original patch by Steffen Daode Nurpmeso

13 years agoMerge #11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:10:44 +0000 (22:10 -0400)]
Merge #11780: s/throw/raise/

13 years ago#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:10:00 +0000 (22:10 -0400)]
#11780: s/throw/raise/

13 years agoMerge #11780: document that email.encoders throw TypeError on multipart messages.
R David Murray [Sat, 17 Mar 2012 02:04:25 +0000 (22:04 -0400)]
Merge #11780: document that email.encoders throw TypeError on multipart messages.

13 years ago#11780: document that email.encoders throw TypeError on multipart messages.
R David Murray [Sat, 17 Mar 2012 02:03:17 +0000 (22:03 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.

13 years ago#12788: fix error in test_policy when run under refleak detection
R David Murray [Sat, 17 Mar 2012 01:39:57 +0000 (21:39 -0400)]
#12788: fix error in test_policy when run under refleak detection

13 years agosimply this slightly
Benjamin Peterson [Sat, 17 Mar 2012 01:15:54 +0000 (20:15 -0500)]
simply this slightly

13 years agoRoot variable is not changed.
Raymond Hettinger [Sat, 17 Mar 2012 00:08:37 +0000 (17:08 -0700)]
Root variable is not changed.

13 years agoFix whitespace
Raymond Hettinger [Sat, 17 Mar 2012 00:05:17 +0000 (17:05 -0700)]
Fix whitespace

13 years agoUnique sentinel value for cache.get()
Raymond Hettinger [Sat, 17 Mar 2012 00:04:11 +0000 (17:04 -0700)]
Unique sentinel value for cache.get()

13 years agoRefactor calculation of the cache key. Minor code cleanups.
Raymond Hettinger [Fri, 16 Mar 2012 23:53:05 +0000 (16:53 -0700)]
Refactor calculation of the cache key.  Minor code cleanups.

13 years agocleanup Ellipsis and NotImplemented strings after we're done
Benjamin Peterson [Fri, 16 Mar 2012 23:45:31 +0000 (18:45 -0500)]
cleanup Ellipsis and NotImplemented strings after we're done

13 years agoMerge
Antoine Pitrou [Fri, 16 Mar 2012 23:24:12 +0000 (00:24 +0100)]
Merge

13 years agoIssue #14335: multiprocessing's custom Pickler subclass now inherits from the C-accel...
Antoine Pitrou [Fri, 16 Mar 2012 23:23:04 +0000 (00:23 +0100)]
Issue #14335: multiprocessing's custom Pickler subclass now inherits from the C-accelerated implementation.
Patch by sbt.

13 years agomerge heads
Benjamin Peterson [Fri, 16 Mar 2012 23:22:53 +0000 (18:22 -0500)]
merge heads

13 years agoclear the root with the cache
Benjamin Peterson [Fri, 16 Mar 2012 23:22:26 +0000 (18:22 -0500)]
clear the root with the cache

13 years agoMinor code cleanup.
Raymond Hettinger [Fri, 16 Mar 2012 18:48:12 +0000 (11:48 -0700)]
Minor code cleanup.

13 years agoplug memory leak (closes #14325)
Benjamin Peterson [Fri, 16 Mar 2012 18:25:58 +0000 (13:25 -0500)]
plug memory leak (closes #14325)

13 years agoEliminate duplicate link lookup. Minor cleanup.
Raymond Hettinger [Fri, 16 Mar 2012 18:21:39 +0000 (11:21 -0700)]
Eliminate duplicate link lookup.  Minor cleanup.

13 years agokill capsule names that we don't need anymore
Benjamin Peterson [Fri, 16 Mar 2012 17:24:01 +0000 (12:24 -0500)]
kill capsule names that we don't need anymore

13 years agouse memory macros
Benjamin Peterson [Fri, 16 Mar 2012 17:23:39 +0000 (12:23 -0500)]
use memory macros

13 years agocheck result of PyMem_New
Benjamin Peterson [Fri, 16 Mar 2012 17:21:02 +0000 (12:21 -0500)]
check result of PyMem_New

13 years agomerge heads
Benjamin Peterson [Fri, 16 Mar 2012 15:13:30 +0000 (10:13 -0500)]
merge heads