83536 Commits

Author SHA1 Message Date
Victor Stinner
0c3949c963 asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
Process and Popen objects
2014-02-09 02:51:40 +01:00
Guido van Rossum
313f829ce8 asyncio: Test fix. 2014-02-08 17:35:09 -08:00
Nick Coghlan
3d7b3641d3 Note the new debug assertion in PyObject_Str 2014-02-09 10:57:34 +10:00
Nick Coghlan
d979e4335d Close #20500: Don't trigger PyObject_Str assertion at shutdown 2014-02-09 10:43:21 +10:00
Brian Curtin
c9d1a6b85e merge 2014-02-08 18:36:57 -06:00
Brian Curtin
a1afeec9aa Spelling corrections. Submitted to python-dev by python@mrabarnett.plus.com 2014-02-08 18:36:14 -06:00
Victor Stinner
12c68b20b7 asyncio doc: fix gather() doc 2014-02-09 01:35:24 +01:00
Victor Stinner
87bf2772be asyncio tests: Remove scories of resolution/granularity 2014-02-09 01:25:52 +01:00
Nick Coghlan
aa029dad50 Tweaks to What's New and some referenced docs 2014-02-09 10:10:24 +10:00
Nick Coghlan
96bb437ae8 Close #20563: Declare ipaddress API stable 2014-02-09 09:18:26 +10:00
R David Murray
66c3d18af1 Merge: #14983: always add a line end after a MIME boundary marker. 2014-02-08 17:56:17 -05:00
R David Murray
e9c31470e1 #14983: always add a line end after a MIME boundary marker.
This is more RFC compliant (see issue) and fixes a problem with
signature verifiers rejecting the part when signed.  There is some
amount of backward compatibility concern here since it changes
the output, but the RFC issue coupled with fixing the problem
with signature verifiers seems worth the small risk of breaking
code that depends on the current incorrect output.
2014-02-08 17:54:56 -05:00
Senthil Kumaran
127242654d merge from 3.3
Include the mention of ResourceWarning being displayed by default by the test runner.
Addressing #issue 20529
2014-02-08 14:28:44 -08:00
Senthil Kumaran
409ea5dac1 Include the mention of ResourceWarning being displayed by default by the test runner.
Addressing #issue 20529
2014-02-08 14:28:03 -08:00
Victor Stinner
c1567df61e asyncio doc: document missing event loop methods 2014-02-08 23:22:58 +01:00
Antoine Pitrou
b7d6d2ac6e Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket.
For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
2014-02-08 23:03:56 +01:00
Charles-François Natali
b4062e8f8a Issue #20065: socketmodule: Fix build error when AF_CAN is defined without the
proper CAN headers.
2014-02-08 22:54:11 +01:00
Victor Stinner
ffbe3c67df asyncio doc: sort methods 2014-02-08 22:50:07 +01:00
Antoine Pitrou
0c1e31ab1e Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket.
For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
2014-02-08 23:05:52 +01:00
Charles-François Natali
2c66918462 Merge. 2014-02-08 22:55:13 +01:00
Charles-François Natali
4025ac7549 Issue #20065: socketmodule: Fix build error when AF_CAN is defined without the
proper CAN headers.
2014-02-08 22:54:48 +01:00
Ethan Furman
ca1b794dac Close issue20534: all pickle protocols now supported. 2014-02-08 11:36:27 -08:00
R David Murray
01e46ee7e2 Merge: #16983: Apply postel's law to encoded words inside quoted strings. 2014-02-08 13:13:01 -05:00
R David Murray
0400d33928 #16983: Apply postel's law to encoded words inside quoted strings.
This applies only to the new parser.  The old parser decodes encoded words
inside quoted strings already, although it gets the whitespace wrong
when it does so.

This version of the patch only handles the most common case (a single encoded
word surrounded by quotes), but I haven't seen any other variations of this in
the wild yet, so its good enough for now.
2014-02-08 13:12:00 -05:00
R David Murray
ff9616bbf7 Merge #19772: Do not mutate message when downcoding to 7bit. 2014-02-08 11:51:18 -05:00
R David Murray
905c8c3d8d #19772: Do not mutate message when downcoding to 7bit.
This is a bit of an ugly hack because of the way generator pieces together the
output message.  The deepcopys aren't too expensive, though, because we know it
is only called on messages that are not multiparts, and the payload (the thing
that could be large) is an immutable object.

Test and preliminary work on patch by Vajrasky Kok.
2014-02-08 11:48:20 -05:00
Serhiy Storchaka
99b1f2b3bb Issue #20553. Use specific asserts in ipaddress tests. 2014-02-08 16:39:51 +02:00
Serhiy Storchaka
7c389e2404 Issue #20553. Use specific asserts in ipaddress tests. 2014-02-08 16:38:35 +02:00
Terry Jan Reedy
c03027054d Issue #20406: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.
2014-02-08 09:05:20 -05:00
Terry Jan Reedy
a7c07d320b Issue #20406: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.
2014-02-08 09:02:26 -05:00
Nick Coghlan
4a7668adca Close #20536: correctly handle Decimal exponents in statistics 2014-02-08 23:55:14 +10:00
Nick Coghlan
f45e3e34b2 Merge #18805 NEWS fix from 3.3 2014-02-08 23:40:23 +10:00
Nick Coghlan
98585b6c04 Fix #18805 NEWS entry 2014-02-08 23:39:54 +10:00
Nick Coghlan
aad0ea0b59 Merge fix for #18805 from 3.3 2014-02-08 23:20:58 +10:00
Nick Coghlan
932346f572 Issue #18805: better netmask validation in ipaddress 2014-02-08 23:17:36 +10:00
Serhiy Storchaka
1ff23d7542 Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests. 2014-02-08 15:06:43 +02:00
Serhiy Storchaka
578c6777aa Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests. 2014-02-08 15:06:08 +02:00
Serhiy Storchaka
d3e1207191 Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests. 2014-02-08 14:51:10 +02:00
Serhiy Storchaka
25d8aeac7c Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests. 2014-02-08 14:50:08 +02:00
Serhiy Storchaka
6c9678e1a5 Issue #20546: Use specific asserts in int tests. 2014-02-08 14:29:36 +02:00
Serhiy Storchaka
3a20a5dead Issue #20546: Use specific asserts in int tests. 2014-02-08 14:28:33 +02:00
Serhiy Storchaka
6cbf151032 Issue #20538: UTF-7 incremental decoder produced inconsistant string when
input was truncated in BASE64 section.
2014-02-08 14:06:33 +02:00
Serhiy Storchaka
016a3f33a5 Issue #20538: UTF-7 incremental decoder produced inconsistant string when
input was truncated in BASE64 section.
2014-02-08 14:01:29 +02:00
Nick Coghlan
73afe2a972 Close #20481: Disallow mixed type input in statistics
The most appropriate coercion rules are not yet clear, so simply
disallowing mixed type input for 3.4.

(Committed on Steven's behalf)
2014-02-08 19:58:04 +10:00
Terry Jan Reedy
57e4127781 Issue #20167: Suppress 3.4 specific 'Exception ignored' messages.
Original patch by Tal Einat.
2014-02-08 04:47:29 -05:00
Nick Coghlan
bfd68bf4ac Issue #20478: avoid special casing Counter in statistics
Passing Counter objects to the Counter constructor is
special cased, going through iter() firsts ensures they
are handled the same way as any other iterable.

(Committing on Steven's behalf as I don't believe his
SSH key is registered yet)
2014-02-08 19:44:16 +10:00
Guido van Rossum
ec1c8097c1 More asyncio news. 2014-02-07 16:11:17 -08:00
Victor Stinner
85310a50a9 Issue #20505: Remove resolution and _granularity from selectors and asyncio
* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
2014-02-07 23:34:58 +01:00
R David Murray
c489e83432 Merge: #17369: Improve handling of broken RFC2231 values in get_filename. 2014-02-07 15:04:26 -05:00
R David Murray
1e949890f6 #17369: Improve handling of broken RFC2231 values in get_filename.
This fixes a regression relative to python2.
2014-02-07 15:02:19 -05:00