Guido van Rossum
eda1955d82
Issue #23972 : updates to asyncio datagram API. By Chris Laws. (Merge 3.4->3.5.)
2015-10-05 09:19:11 -07:00
Guido van Rossum
b9bf913ab3
Issue #23972 : updates to asyncio datagram API. By Chris Laws.
2015-10-05 09:15:28 -07:00
Victor Stinner
1d65d9192d
Issue #25301 : The UTF-8 decoder is now up to 15 times as fast for error
...
handlers: ``ignore``, ``replace`` and ``surrogateescape``.
2015-10-05 13:43:50 +02:00
Terry Jan Reedy
7dbe6dd963
merge 3.5
2015-10-04 01:19:36 -04:00
Terry Jan Reedy
e25511a566
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:17:13 -04:00
Terry Jan Reedy
d17e9785de
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:14:51 -04:00
Terry Jan Reedy
f8c32da0ad
Issue #9232 : Escape rst markup char in NEWS entry to avoid Sphinx warning.
2015-10-03 23:03:15 -04:00
Terry Jan Reedy
67618272ae
Issue #24791 : Escape rst markup char in NEWS entry to avoid Sphinx warning.
2015-10-03 23:01:46 -04:00
Guido van Rossum
5dad1ff8f8
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.5->3.6.)
2015-10-03 08:35:28 -07:00
Guido van Rossum
0d9bef927b
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.4->3.5.)
2015-10-03 08:34:34 -07:00
Guido van Rossum
841d9ee41a
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
2015-10-03 08:31:42 -07:00
Martin Panter
909a950ffc
Issues #25232 , #24657 : Add NEWS to 3.6.0a1 section
2015-10-03 06:25:43 +00:00
Martin Panter
5e84d037bb
Issues #25232 , #24657 : Merge two CGI server fixes from 3.5
2015-10-03 06:43:19 +00:00
Martin Panter
56b76d25dd
Issues #25232 , #24657 : Merge two CGI server fixes from 3.4 into 3.5
2015-10-03 06:03:25 +00:00
Martin Panter
cb29e8c0e5
Issue #24657 : Prevent CGIRequestHandler from collapsing the URL query
...
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter
a02e18a43f
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
...
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Brett Cannon
11faa21843
Merge from 3.5 for issue #25188 .
2015-10-02 16:20:49 -07:00
Victor Stinner
5f9d3acc5e
Issue #22806 : Add ``python -m test --list-tests`` command to list tests.
2015-10-03 00:21:12 +02:00
Victor Stinner
076fc872bc
Issue #18174 : "python -m test --huntrleaks ..." now also checks for leak of
...
file descriptors. Patch written by Richard Oudkerk.
2015-10-03 00:20:56 +02:00
Victor Stinner
6661d885a3
Issue #25287 : Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
...
supported. Check if it is supported, it may not be supported on OpenBSD for
example.
2015-10-02 23:00:39 +02:00
Yury Selivanov
43d71e2512
asyncio: Make ensure_future() accept all kinds of awaitables.
2015-10-02 15:05:59 -04:00
Serhiy Storchaka
29e68edbf4
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:14:03 +03:00
Serhiy Storchaka
58c8f2bb6d
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:13:14 +03:00
Serhiy Storchaka
28b21e50c8
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:07:28 +03:00
Serhiy Storchaka
5dbe245ef2
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:59 +03:00
Serhiy Storchaka
b9d98d532c
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:11 +03:00
Steve Dower
30b7138fe1
Merge from 3.5
2015-10-01 15:20:11 -07:00
Steve Dower
c9fda9b903
Issue #25165 : Windows uninstallation should not remove launcher if other versions remain
2015-10-01 15:19:39 -07:00
Victor Stinner
01ada3996b
Issue #25267 : The UTF-8 encoder is now up to 75 times as fast for error
...
handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``.
Patch co-written with Serhiy Storchaka.
2015-10-01 21:54:51 +02:00
Serhiy Storchaka
f22d8080ae
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:55:52 +03:00
Serhiy Storchaka
0b40aab6f0
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:40:22 +03:00
Serhiy Storchaka
f731bc09fa
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:08:50 +03:00
Victor Stinner
78cc2e8968
Issue #25003 : os.urandom() doesn't use getentropy() on Solaris because
...
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:59:32 +02:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Victor Stinner
a53a818c3c
Fix regrtest --coverage on Windows
...
Issue #25260 : Fix ``python -m test --coverage`` on Windows. Remove the list of
ignored directories.
2015-10-01 00:53:09 +02:00
Serhiy Storchaka
85c386dee4
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:51:01 +03:00
Serhiy Storchaka
008fc77e1e
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:50:32 +03:00
Serhiy Storchaka
a59018c7ab
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:46:53 +03:00
Serhiy Storchaka
f1c780870a
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:42 +03:00
Serhiy Storchaka
b5102e3550
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:09 +03:00
Serhiy Storchaka
b27232949d
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:53:25 +03:00
Serhiy Storchaka
5527cf119d
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:38:34 +03:00
Serhiy Storchaka
f4ee1c23e8
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:37:09 +03:00
Serhiy Storchaka
68f5ef226e
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:36:06 +03:00
Serhiy Storchaka
87b93fe36f
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:34:16 +03:00
Serhiy Storchaka
3066fc41d1
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:33:36 +03:00
Serhiy Storchaka
11c715f12e
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:13:01 +03:00
Serhiy Storchaka
525faaeffc
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:12:29 +03:00
Serhiy Storchaka
e060619d4b
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:10:07 +03:00
Guido van Rossum
a6b1031b76
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.5->3.6.)
2015-09-29 12:01:55 -07:00
Guido van Rossum
28d982dfc5
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)
2015-09-29 12:00:01 -07:00
Guido van Rossum
d455a50773
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).
2015-09-29 11:54:45 -07:00
Eric V. Smith
6dcada3bcf
Issue #25034 : Merge from 3.5.
2015-09-29 10:30:47 -04:00
Eric V. Smith
ad4003c7fb
Issue #25034 : Merge from 3.4.
2015-09-29 10:30:04 -04:00
Eric V. Smith
85976b14dd
Fixed issue #25034 : Fix string.Formatter problem with auto-numbering
...
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Victor Stinner
c3713e9706
Optimize ascii/latin1+surrogateescape encoders
...
Issue #25227 : Optimize ASCII and latin1 encoders with the ``surrogateescape``
error handler: the encoders are now up to 3 times as fast.
Initial patch written by Serhiy Storchaka.
2015-09-29 12:32:13 +02:00
Terry Jan Reedy
b1edd5823c
merge 3.5
2015-09-29 01:04:08 -04:00
Terry Jan Reedy
c69b37ff4e
Merge with 3.4
2015-09-29 01:01:00 -04:00
Terry Jan Reedy
f38356adbb
Remove indent in news item. Error when building 3.x docs.
2015-09-29 01:00:31 -04:00
Terry Jan Reedy
e0937ef754
IDLE NEWS.
2015-09-28 23:44:37 -04:00
Terry Jan Reedy
86e971ccb3
IDLE NEWS items.
2015-09-28 23:42:56 -04:00
Terry Jan Reedy
9af7fe76ff
Add recent IDLE NEWS items.
2015-09-28 23:38:57 -04:00
Guido van Rossum
b4c00154f2
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:53:44 -07:00
Guido van Rossum
ab9e936bd9
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:51:59 -07:00
Guido van Rossum
9af30ac669
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:50:38 -07:00
Guido van Rossum
d2f184652c
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)
2015-09-28 07:44:49 -07:00
Guido van Rossum
99f96c5451
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct.
2015-09-28 07:42:34 -07:00
Alexander Belopolsky
365ba8f6c1
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:32:15 -04:00
Alexander Belopolsky
edc6885b3f
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:31:45 -04:00
Alexander Belopolsky
5d27ed858a
merge
2015-09-27 22:13:28 -04:00
Alexander Belopolsky
d19b5042ff
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 21:56:53 -04:00
Alexander Belopolsky
c58c2cb392
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 21:56:09 -04:00
Alexander Belopolsky
c79447b267
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 21:41:55 -04:00
Serhiy Storchaka
a6c5d53eec
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:38:33 +03:00
Serhiy Storchaka
36aff2db4a
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:38:01 +03:00
Serhiy Storchaka
1138439376
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:34:59 +03:00
Serhiy Storchaka
ab824222d1
Issue #25011 : rlcomplete now omits private and special attribute names unless
...
the prefix starts with underscores.
2015-09-27 13:43:50 +03:00
Serhiy Storchaka
8ace8e99b3
Issue #25209 : rlcomplete now can add a space or a colon after completed keyword.
2015-09-27 13:26:03 +03:00
Benjamin Peterson
c78f27d239
merge 3.5 ( #23329 )
2015-09-27 00:09:09 -07:00
Benjamin Peterson
d330822c12
detect alpn by feature flag not openssl version ( closes #23329 )
2015-09-27 00:09:02 -07:00
Raymond Hettinger
e055b88937
merge
2015-09-26 00:15:46 -07:00
Raymond Hettinger
bf49fee125
Issue #25135 : Avoid possible reentrancy issues in deque_clear.
2015-09-26 00:14:59 -07:00
Benjamin Peterson
5b8854eee0
merge 3.5
2015-09-26 00:09:39 -07:00
Benjamin Peterson
03c59b9bef
merge 3.4
2015-09-26 00:09:32 -07:00
Benjamin Peterson
e48cf7e729
prevent overflow in _Unpickler_Read
2015-09-26 00:08:34 -07:00
Benjamin Peterson
00d4442979
merge 3.5 ( #25131 )
2015-09-25 22:44:55 -07:00
Benjamin Peterson
58b53953f8
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node ( closes #25131 )
2015-09-25 22:44:43 -07:00
Andrew Svetlov
038b61fbb5
Merge 3.5 -> default
2015-09-24 14:36:00 +03:00
Andrew Svetlov
1c99e529dd
Merge 3.4 -> 3.5
2015-09-24 14:35:16 +03:00
Andrew Svetlov
74edd3580e
Add Benjamin Hodgson to Misc/ACK
2015-09-24 14:34:07 +03:00
Martin Panter
3766ee5162
Issue #12067 : Merge comparisons doc from 3.5
2015-09-23 05:41:52 +00:00
Martin Panter
e52c41a714
Issue #12067 : Merge comparisons doc from 3.4 into 3.5
2015-09-23 05:34:48 +00:00
Martin Panter
aa0da864b8
Issue #12067 : Rewrite Comparisons section in the language reference
...
Some of the details of comparing mixed types were incorrect or ambiguous.
NotImplemented is only relevant at a lower level than the Expressions
chapter. Added details of comparing range() objects, and default behaviour
and consistency suggestions for user-defined classes. Patch from Andy Maier.
2015-09-23 05:28:13 +00:00
Martin Panter
f9cd8ff14a
Issue #25047 : Merge Element Tree encoding from 3.5
2015-09-23 01:49:24 +00:00
Martin Panter
982a08f8bb
Issue #25047 : Merge Element Tree encoding from 3.4 into 3.5
2015-09-23 01:43:08 +00:00
Steve Dower
ebbad80e85
Merge from 3.5
2015-09-22 18:21:13 -07:00
Steve Dower
5f62112db4
Issues #25112 : py.exe launcher is missing icons
2015-09-22 18:20:58 -07:00
Martin Panter
89f76d3f91
Issue #25047 : Respect case writing XML encoding declarations
...
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
2015-09-23 01:14:35 +00:00
Steve Dower
64a3387d69
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:29:51 -07:00
Steve Dower
a0c3c19665
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:24:01 -07:00