Commit graph

55534 commits

Author SHA1 Message Date
Georg Brandl
96ad2619b2 Fix typo. 2012-03-22 07:42:31 +01:00
Victor Stinner
59af08f545 Micro-optimize PyObject_GetAttrString()
w cannot be NULL so use Py_DECREF() instead of Py_XDECREF().
2012-03-22 02:09:08 +01:00
Antoine Pitrou
d5d17eb653 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.
2012-03-22 00:23:03 +01:00
Andrew Svetlov
a966c6fddb Issue #3035: Unused functions from tkinter are marked as pending peprecated. 2012-03-21 23:52:59 +02:00
Stefan Krah
04fb08f690 Merge. 2012-03-21 20:27:33 +01:00
Stefan Krah
7cc5521d40 Whitespace. 2012-03-21 20:21:20 +01:00
R David Murray
1da08e77df Merge #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 14:55:04 -04:00
R David Murray
e112153727 #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 14:53:42 -04:00
Benjamin Peterson
520e8508a0 long() -> int() 2012-03-21 14:51:14 -04:00
Benjamin Peterson
b7f1da5a3c make _PyNumber_ConvertIntegralToInt static, since it's only used in abstract.c 2012-03-21 14:44:43 -04:00
Benjamin Peterson
d614e707ca rewrite this function, which was still accounting for classic classes 2012-03-21 14:38:11 -04:00
Benjamin Peterson
65e32d1f1a merge heads 2012-03-21 14:26:09 -04:00
Stefan Krah
851a07e5c2 Document decimal.MIN_ETINY. 2012-03-21 18:47:20 +01:00
Stefan Krah
1919b7e72b 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.
2012-03-21 18:25:23 +01:00
krisvale
8bfccd852e Remove non-existing file from pythoncore project. 2012-03-21 11:37:09 +00:00
Andrew Svetlov
206d2a43a3 Merge from 3.2 for issue #3573, fix Misc/NEWS as Ned Deily guess. 2012-03-21 13:31:12 +02:00
Andrew Svetlov
0f71f44156 #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-21 13:23:41 +02:00
Benjamin Peterson
1b1a8e7cb5 correctly lookup __trunc__ in int() constructor 2012-03-20 23:48:11 -04:00
Benjamin Peterson
9fc9bf465a some more identifier goodness 2012-03-20 23:26:41 -04:00
Benjamin Peterson
302e7902c8 use identifier api 2012-03-20 23:17:04 -04:00
Andrew Svetlov
6b6e437626 #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-20 23:03:26 +02:00
R David Murray
669b755c92 #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.
2012-03-20 16:16:29 -04:00
Benjamin Peterson
b4dcb10514 merge 3.2 2012-03-20 16:10:36 -04:00
Larry Hastings
83a9f48699 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.
2012-03-20 20:06:16 +00:00
Giampaolo Rodola'
7941736ddb Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. 2012-03-20 16:49:55 +01:00
Giampaolo Rodola'
2a886412ba Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. 2012-03-20 16:44:24 +01:00
Victor Stinner
2bf1f3bee4 time.steady() doc: don't repeat the default value 2012-03-19 13:17:24 +01:00
Ross Lagerwall
6d3a575fc1 Merge with 3.2 for #14359. 2012-03-19 06:13:13 +02:00
Ross Lagerwall
71faefc37e Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
2012-03-19 06:08:43 +02:00
Benjamin Peterson
4ca5661669 all OSErrors should indicate there are no extended attributes (closes #14358) 2012-03-18 22:26:05 -04:00
R David Murray
da3d8e05b6 Merge #14355: remove obsolete doc reference to previously removed init_frozen.
Patch by Eric Snow.
2012-03-18 20:50:36 -04:00
R David Murray
1623afff67 #14355: remove obsolete doc reference to previously removed init_frozen.
Patch by Eric Snow.
2012-03-18 20:50:03 -04:00
Gregory P. Smith
188176f881 Empty merge; imports rewritten in 3.3. issue #14331 may no longer apply. 2012-03-18 16:14:17 -07:00
Gregory P. Smith
c809f98143 Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.
2012-03-18 16:06:53 -07:00
Georg Brandl
d87c29843d Dummy-merge (except .hgtags) 3.2.3rc2 changes. 2012-03-18 20:39:46 +01:00
Martin v. Löwis
a7f6b14fa6 Add 3.2.3rc2 uuid. 2012-03-18 20:39:19 +01:00
Georg Brandl
3187749646 Merge 3.2.3rc2 from release clone. 2012-03-18 20:37:43 +01:00
Ross Lagerwall
5802fdf31f Issue 14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
2012-03-18 15:55:10 +02:00
Georg Brandl
1eb0f9de99 Post-release updates for 3.2.3rc2. 2012-03-18 08:36:53 +01:00
Georg Brandl
ed77feb503 Added tag v3.2.3rc2 for changeset 428f05cb7277 2012-03-18 07:35:01 +01:00
Georg Brandl
226af70a59 Bump to 3.2.3rc2. 2012-03-18 07:34:49 +01:00
Raymond Hettinger
7dabfede34 Fix whitespace 2012-03-17 15:11:09 -07:00
Raymond Hettinger
7e0c581c49 Low overhead path for maxsize==0 2012-03-17 15:10:24 -07:00
R David Murray
0863d7106c Merge #14333: fix test_queue so it can be run via standard unittest test discovery. 2012-03-17 16:39:44 -04:00
R David Murray
c6bfce9871 #14333: fix test_queue so it can be run via standard unittest test discovery. 2012-03-17 16:38:39 -04:00
R David Murray
bd53809ee7 #14344: fixed the repr of email.policy objects. 2012-03-17 15:11:59 -04:00
Ned Deily
87b7cdea96 Issue #14347: Update Misc/README list of files.
(Initial patch by Dionysios Kalofonos)
2012-03-17 10:52:08 -07:00
Georg Brandl
eed59e8aa1 merge with 3.2 2012-03-17 18:39:20 +01:00
Georg Brandl
5ab88177a4 Move MANIFEST parsing change to the right position. 2012-03-17 18:38:13 +01:00
Ned Deily
e145a7999b Issue #14346: merge 2012-03-17 10:30:48 -07:00