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
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
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
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
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
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
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
R David Murray
bd3a11ba34
#20013 : don't raise socket error when selected mailbox deleted.
...
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
2014-02-07 13:47:40 -05:00
R David Murray
95ff7239bd
#20013 : don't raise socket error when selected mailbox deleted.
...
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
2014-02-07 13:44:57 -05:00
R David Murray
15a693a6f8
#20531 : Apply the 3.3 version of the #19063 fix.
...
So passing unicode to set_payload works again (but still doesn't
do what you want when the message is serialized).
2014-02-07 12:46:17 -05:00
R David Murray
aa21297457
#20476 : use EmailMessage as factory if non-compat32 policy is used.
...
In 3.5 I will fix this right by adding a message_factory attribute
to the policy.
2014-02-07 10:44:16 -05:00
Serhiy Storchaka
f28ba369dd
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:10:55 +02:00
Serhiy Storchaka
5cfc79deae
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:06:39 +02:00
Brett Cannon
3303b6abc8
Merge for issue #20488
2014-02-06 09:49:53 -05:00
Brett Cannon
07fbd78473
Issue #20488 : Update docs to say importlib is *the* implementaiton of
...
import and not *an* implementation.
2014-02-06 09:46:08 -05:00
Brett Cannon
f811bbfe6c
Issue #6386 : When executing a script that's a symlink, the directory
...
where the symlink resolves to is added to sys.path, not the directory
containing the symlink itself.
Thanks to Sanko Resic for an initial attempt at the patch.
2014-02-06 09:22:51 -05:00
Ronald Oussoren
94e44a935b
Issue #14455 : fix handling of unsigned long long values for binary plist files
...
Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.
Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.
The change to plistlib.py is from a patch by Serhiy.
2014-02-06 11:19:18 +01:00
Serhiy Storchaka
255493c813
Issue #19920 : TarFile.list() no longer fails when outputs a listing
...
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
2014-02-05 20:54:43 +02:00
Serhiy Storchaka
3b4f1594ff
Issue #19920 : TarFile.list() no longer fails when outputs a listing
...
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
2014-02-05 20:53:36 +02:00
Ned Deily
2aa15d8097
Issue #20465 : Update SQLite shipped with OS X installer to 3.8.3.
2014-02-04 18:44:17 -08:00
Christian Heimes
25ff287dd7
Issue #20515 : Fix NULL pointer dereference introduced by issue #20368
...
CID 1167595
2014-02-05 00:29:48 +01:00
Christian Heimes
d33491ea76
Issue #20515 : Fix NULL pointer dereference introduced by issue #20368
...
CID 1167595
2014-02-05 00:29:17 +01:00
Benjamin Peterson
e9e8907647
merge 3.3 ( #19186 )
2014-02-04 10:12:18 -05:00
Benjamin Peterson
091d017ab1
restore namespacing of pyexpat symbols ( closes #19186 )
2014-02-04 10:10:55 -05:00
Nick Coghlan
6edd82a1d2
Close #20053 : ignore default pip config settings
...
ensurepip now sets PIP_CONFIG_FILE to os.devnull before
import pip from the wheel file. This also ensures venv
ignores the default settings when bootstrapping pip.
2014-02-04 23:02:36 +10:00
Nick Coghlan
a9b15241c6
Close #20404 : blacklist non-text encodings in io.TextIOWrapper
...
- io.TextIOWrapper (and hence the open() builtin) now use the
internal codec marking system added for issue #19619
- also tweaked the C code to only look up the encoding once,
rather than multiple times
- the existing output type checks remain in place to deal with
unmarked third party codecs.
2014-02-04 22:11:18 +10:00
Martin v. Löwis
ca7b04644c
Issue #17162 : Add PyType_GetSlot.
2014-02-04 09:33:05 +01:00
Ned Deily
cb306d1b59
Issue #20474 : Fix "unexpected success" test_socket failures on OS X 10.7+.
2014-02-03 14:02:26 -08:00
Ned Deily
c564038580
Issue #20474 : Fix "unexpected success" test_socket failures on OS X 10.7+.
2014-02-03 13:58:31 -08:00
Antoine Pitrou
c49672f25e
Issue #20426 : When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
2014-02-03 21:01:35 +01:00
Antoine Pitrou
d2cc743ca4
Issue #20426 : When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
2014-02-03 20:59:59 +01:00
Serhiy Storchaka
ce591c2868
Issue #20368 : The null character now correctly passed from Tcl to Python.
...
Improved error handling in variables-related commands.
2014-02-03 21:25:56 +02:00
Serhiy Storchaka
1317e14468
Issue #20368 : The null character now correctly passed from Tcl to Python.
...
Improved error handling in variables-related commands.
2014-02-03 21:24:07 +02:00
Antoine Pitrou
1328e9d0a0
Issue #20435 : Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
2014-02-02 23:38:48 +01:00
Antoine Pitrou
57839a6349
Issue #20435 : Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
2014-02-02 23:37:29 +01:00
R David Murray
a56d4e8ea1
whatsnew: hmac accepts more bytes types, importlib decode_source, stat in C.
2014-02-02 12:50:48 -05:00
Terry Jan Reedy
2315779c5e
Update the python.gif icon for the Idle classbrowser and pathbowser
...
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:14:59 -05:00