Serhiy Storchaka
f9afda57ad
Issue #24731 : Fixed crash on converting objects with special methods
...
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
2015-11-25 15:52:04 +02:00
Serhiy Storchaka
15095800a3
Issue #24731 : Fixed crash on converting objects with special methods
...
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
2015-11-25 15:47:01 +02:00
Serhiy Storchaka
c5f3b4285a
Issue #25725 : Fixed a reference leak in pickle.loads() when unpickling
...
invalid data including tuple instructions.
2015-11-25 15:06:49 +02:00
Serhiy Storchaka
a49de6be36
Issue #25725 : Fixed a reference leak in pickle.loads() when unpickling
...
invalid data including tuple instructions.
2015-11-25 15:01:53 +02:00
Martin Panter
11bb1ad155
Issue #25663 : Merge rlcompleter fix from 3.4 into 3.5
2015-11-24 00:10:45 +00:00
Martin Panter
ed92910852
Issue #25663 : Make rlcompleter avoid duplicate global names
2015-11-23 23:50:26 +00:00
Serhiy Storchaka
6f988b5990
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:45:12 +02:00
Serhiy Storchaka
e3d4ec4766
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:44:03 +02:00
Serhiy Storchaka
4409c6cfae
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:19:23 +02:00
Serhiy Storchaka
e9b3074cf9
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:17:43 +02:00
Larry Hastings
3715cab3cb
Merge 3.5.1rc1 release changes back into main 3.5 branch.
2015-11-22 23:27:07 -08:00
Larry Hastings
ba11daa4e8
Post-release updates for Python 3.5.1rc1.
2015-11-22 23:22:47 -08:00
Serhiy Storchaka
3987fefd6f
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:47:26 +02:00
Serhiy Storchaka
b6aa5375d5
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:42:25 +02:00
Serhiy Storchaka
6e3d2ba269
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:50:25 +02:00
Serhiy Storchaka
8bc792a602
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:49:58 +02:00
Larry Hastings
6e86580fc7
Version bump for Python 3.5.1rc1.
2015-11-21 23:54:22 -08:00
Terry Jan Reedy
7537898e4f
Misc/NEWS entries for IDLE.
2015-11-21 13:20:09 -05:00
Terry Jan Reedy
c75d37fcba
Misc/NEWS entries for IDLE.
2015-11-21 13:19:03 -05:00
Martin Panter
e99e97762c
Issue #25626 : Change zlib to accept Py_ssize_t and cap to UINT_MAX
...
The underlying zlib library stores sizes in “unsigned int”. The corresponding
Python parameters are all sizes of buffers filled in by zlib, so it is okay
to reduce higher values to the UINT_MAX internal cap. OverflowError is still
raised for sizes that do not fit in Py_ssize_t.
Sizes are now limited to Py_ssize_t rather than unsigned long, because Python
byte strings cannot be larger than Py_ssize_t. Previously this could result
in a SystemError on 32-bit platforms.
This resolves a regression in the gzip module when reading more than UINT_MAX
or LONG_MAX bytes in one call, introduced by revision 62723172412c.
2015-11-20 08:13:35 +00:00
Martin Panter
97cabb9fa5
Issue #25583 : Merge makedirs fix from 3.4 into 3.5
2015-11-20 02:35:46 +00:00
Guido van Rossum
82f9feaf10
Issue #25593 : Change semantics of EventLoop.stop(). (Merge 3.4->3.5)
2015-11-19 13:33:34 -08:00
Guido van Rossum
41f69f4cc7
Issue #25593 : Change semantics of EventLoop.stop().
2015-11-19 13:28:47 -08:00
Martin Panter
a82642f9db
Issue #25583 : Avoid incorrect errors raised by os.makedirs(exist_ok=True)
2015-11-19 04:48:44 +00:00
Serhiy Storchaka
a27a1e576e
Issue #25498 : Fixed contributors name.
2015-11-16 18:45:39 +02:00
Serhiy Storchaka
da32d26ab9
Issue #25498 : Fixed contributors name.
2015-11-16 18:45:23 +02:00
Benjamin Peterson
a4d33b3428
make the PyUnicode_FSConverter cleanup set the decrefed argument to NULL ( closes #25630 )
2015-11-15 21:57:39 -08:00
Gregory P. Smith
d0a5b1c343
Fixes #23564 : Fix a partially broken sanity check in the _posixsubprocess
...
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.
2015-11-15 21:15:26 -08:00
Gregory P. Smith
2cd1b3b089
Fix issue #6973 : When we know a subprocess.Popen process has died, do
...
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
2015-11-15 18:26:11 -08:00
Gregory P. Smith
a0c9caad66
Fix issue #6973 : When we know a subprocess.Popen process has died, do
...
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
2015-11-15 18:19:10 -08:00
Benjamin Peterson
fcc2e71e99
merge 3.4 ( #25578 )
2015-11-14 15:14:42 -08:00
Benjamin Peterson
f0c9038a36
fix possible memory lea k in _get_aia_uri ( closes #25578 )
2015-11-14 15:12:18 -08:00
Serhiy Storchaka
7e2b870b85
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:11:17 +02:00
Serhiy Storchaka
0d441119f5
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:10:35 +02:00
Martin Panter
97ce0faa4d
Fix grammar in whatsnew/3.5.rst and elsewhere
...
Mainly missing grammatical articles (the, a).
2015-11-14 01:14:54 +00:00
Martin Panter
fa9ea04673
Issue #25590 : Merge rlcompleter change from 3.4 into 3.5
2015-11-13 23:10:39 +00:00
Martin Panter
06622ead80
Issue #25590 : Make rlcompleter only call getattr() once per attribute
...
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Martin Panter
0da4ac1f21
Issue #25498 : Merge ctypes crash fix from 3.4 into 3.5
2015-11-13 22:12:12 +00:00
Martin Panter
1bb651540e
Issue #25498 : Fix GC crash due to ctypes objects wrapping a memoryview
...
This was a regression caused by revision 1da9630e9b7f. Based on patch by
Eryksun.
2015-11-13 21:43:39 +00:00
Serhiy Storchaka
19a70e7f5d
Issue #25462 : The hash of the key now is calculated only once in most
...
operations in C implementation of OrderedDict.
2015-11-13 14:48:36 +02:00
Serhiy Storchaka
609a2e17ad
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:31:51 +02:00
Serhiy Storchaka
d7a4415599
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:23:04 +02:00
Benjamin Peterson
45bde5d2ee
merge 3.4 ( #25530 )
2015-11-11 22:45:22 -08:00
Benjamin Peterson
a9dcdabccb
always set OP_NO_SSLv3 by default ( closes #25530 )
2015-11-11 22:38:41 -08:00
Benjamin Peterson
86429bd174
merge 3.5 ( #25569 )
2015-11-11 22:14:08 -08:00
Benjamin Peterson
eda06c8f5e
fix memory leak in _get_crl_dp ( closes #25569 )
...
Patch started by Stéphane Wirtel.
2015-11-11 22:07:38 -08:00
Serhiy Storchaka
4f1c1879cb
Added missed periods at the ends of sentences in Misc/NEWS.
2015-11-10 00:31:10 +02:00
Serhiy Storchaka
fed16ec7c2
Added missed periods at the ends of sentences in Misc/NEWS.
2015-11-10 00:20:43 +02:00
Serhiy Storchaka
acdb0207cd
Fixed markup in Misc/NEWS.
2015-11-09 23:43:56 +02:00
Serhiy Storchaka
faf7060fa0
Fixed markup in Misc/NEWS.
2015-11-09 23:41:39 +02:00
Serhiy Storchaka
04b5700b36
Issue #25584 : Added "escape" to the __all__ list in the glob module.
...
From patch by Xavier de Gaye.
2015-11-09 23:18:19 +02:00
Serhiy Storchaka
735b790fed
Issue #25584 : Fixed recursive glob() with patterns starting with '**'.
2015-11-09 23:12:07 +02:00
Steve Dower
ba270147e4
Issue #24306 : Sets component ID for launcher to match 3.5 and later to avoid downgrading.
2015-11-07 10:07:04 -08:00
Martin Panter
eeb896c411
Issue #24802 : Copy bytes-like objects to null-terminated buffers if necessary
...
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch by John Leitch, Serhiy Storchaka and Martin Panter.
2015-11-07 02:32:21 +00:00
Victor Stinner
f9827ea618
Issue #25555 : Fix parser and AST: fill lineno and col_offset of "arg" node when
...
compiling AST from Python objects.
2015-11-06 17:01:48 +01:00
R David Murray
b0deeb47d8
#25446 : Fix regression in smtplib's AUTH LOGIN support.
...
The auth method tests simply weren't adequate because of the fact that
smtpd doesn't support authentication. I borrowed some of Milan's
code for that from issue #21935 and added it to the smtplib tests.
Also discovered that the direct test for the 'auth' method wasn't actually
testing anything and fixed it.
The fix makes the new authobject mechanism work the way it is
documented...the problem was that wasn't checking for a 334 return code
if an initial-response was provided, which works fine for auth plain
and cram-md5, but not for auth login.
2015-11-08 01:03:52 -05:00
Martin Panter
61d6e4ae9d
Issue #24802 : Merge null termination fixes from 3.4 into 3.5
2015-11-07 02:56:11 +00:00
Martin Panter
98da9d0e0d
Issue #18010 : Merge pydoc web search fix from 3.4 into 3.5
2015-11-06 00:51:38 +00:00
Martin Panter
9ad0aae656
Issue #18010 : Fix pydoc web server search to handle package exceptions
...
Implementation by Antoine Pitrou.
2015-11-06 00:27:14 +00:00
Serhiy Storchaka
b5d0a21553
Issue #25554 : Got rid of circular references in regular expression parsing.
2015-11-05 17:49:26 +02:00
Serhiy Storchaka
4d11a94fb6
Issue #24726 : Fixed issue number for previous changeset 59c7615ea921.
2015-11-04 22:37:46 +02:00
Serhiy Storchaka
710cd34bdb
Issue #25449 : Fixed a crash and leaking NULL in repr() of OrderedDict that
...
was mutated by direct calls of dict methods.
2015-11-04 22:33:07 +02:00
Serhiy Storchaka
b45b7b2137
Issue #25449 : Iterating OrderedDict with keys with unstable hash now raises
...
KeyError in C implementations as well as in Python implementation.
Added tests for OrderedDict subclasses.
2015-11-04 22:05:38 +02:00
Serhiy Storchaka
f51d715845
Issue #25523 : Further a-to-an corrections new in 3.5.
2015-11-02 14:40:41 +02:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
d2ad5718ad
Issue #25523 : Further a-to-an corrections new in 3.5
2015-11-02 04:20:33 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
56275dc1e2
Issue #25510 : fileinput.FileInput.readline() now returns b'' instead of ''
...
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
2015-11-01 16:45:26 +02:00
Serhiy Storchaka
314464d0ab
Issue #25510 : fileinput.FileInput.readline() now returns b'' instead of ''
...
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
2015-11-01 16:43:58 +02:00
Serhiy Storchaka
14eefe353e
Issue #25395 : Fixed crash when highly nested OrderedDict structures were
...
garbage collected.
2015-11-01 16:12:34 +02:00
Steve Dower
04a4316acc
Issue #25450 : Updates shortcuts to start Python in installation directory.
2015-10-31 12:41:46 -07:00
Martin Panter
4827e488a4
Merge spelling fixes from 3.4 into 3.5
2015-10-31 12:16:18 +00:00
Martin Panter
1f1177d69a
Fix some spelling errors in documentation and code comments
2015-10-31 11:48:53 +00:00
Benjamin Peterson
788cb52905
always use os.urandom for the uuid4 algorithm ( closes #25515 )
2015-10-29 20:38:04 -07:00
Serhiy Storchaka
ac4bdcc80e
Issue #25503 : Fixed inspect.getdoc() for inherited docstrings of properties.
...
Original patch by John Mark Vandenberg.
2015-10-29 08:15:50 +02:00
Serhiy Storchaka
f8152c67f5
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:43:12 +02:00
Serhiy Storchaka
ea4cb63e68
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Benjamin Peterson
2775d85d55
merge 3.4 ( #25471 )
2015-10-24 20:07:08 -07:00
Benjamin Peterson
d9dbf49383
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag ( closes #25471 )
2015-10-24 20:06:04 -07:00
Serhiy Storchaka
45120f272b
Issue #25447 : The lru_cache() wrapper objects now can be copied and pickled
...
(by returning the original object unchanged).
2015-10-24 09:49:56 +03:00
Victor Stinner
de6e800f45
Merge 3.4 (Issue #25461 )
2015-10-23 12:39:01 +02:00
Victor Stinner
0e316f688e
Issue #25461 : Rephrase os.walk() doc
...
Patch written by Bernt Røskar Brenna.
2015-10-23 12:38:11 +02:00
Berker Peksag
4da71055e1
Fix merge conflict artifacts and move the entry to correct place
2015-10-21 16:38:36 +03:00
Guido van Rossum
ca636eac88
Issue #25390 : typing: Don't crash on Union[str, Pattern].
2015-10-19 14:55:47 -07:00
Guido van Rossum
030f489df7
Issue #25441 : asyncio: Raise error from drain() when socket is closed. (Merge 3.4->3.5)
2015-10-19 11:54:04 -07:00
Guido van Rossum
c44ecdf687
Issue #25441 : asyncio: Raise error from drain() when socket is closed.
2015-10-19 11:49:30 -07:00
doko@ubuntu.com
12a72b06c7
- Issue #25440 : Fix output of python-config --extension-suffix.
2015-10-19 14:13:35 +02:00
doko@ubuntu.com
2bf91bf46c
- Issue #25440 : Fix output of python-config --extension-suffix.
2015-10-19 14:07:57 +02:00
Serhiy Storchaka
8003bafd7f
Issue #25410 : Cleaned up and fixed minor bugs in C implementation of OrderedDict.
2015-10-18 09:53:17 +03:00
Vinay Sajip
3f445f799a
Closes #25411 : Merged fix from 3.4.
2015-10-17 16:17:52 +01:00
Vinay Sajip
277640af0f
Closes #25411 : Improved Unicode support in SMTPHandler.
2015-10-17 16:13:10 +01:00
Brett Cannon
5ad5a7d31f
Issue #25407 : Drop the mention of the formatter module being removed
...
in Python 3.6.
The new PEP 4 policy of any module existing in both 2.7 and 3.5
applies here, hence the module will be with us for a bit longer.
2015-10-16 12:09:33 -07:00
Steve Dower
bc94fd7b49
Issue #25164 : Changes default all-users install directory to match per-user directory.
2015-10-14 10:36:36 -07:00
Serhiy Storchaka
992ec46acc
Issue #25406 : Fixed a bug in C implementation of OrderedDict.move_to_end()
...
that caused segmentation fault or hang in iterating after moving several
items to the start of ordered dict.
2015-10-14 19:21:24 +03:00
Serhiy Storchaka
5a8bbc5f2a
Issue #25380 : Fixed protocol for the STACK_GLOBAL opcode in
...
pickletools.opcodes.
2015-10-13 21:13:34 +03:00
Serhiy Storchaka
5805ddeedb
Issue #25380 : Fixed protocol for the STACK_GLOBAL opcode in
...
pickletools.opcodes.
2015-10-13 21:12:32 +03:00
Victor Stinner
50856d5ae7
sys.setrecursionlimit() now raises RecursionError
...
Issue #25274 : sys.setrecursionlimit() now raises a RecursionError if the new
recursion limit is too low depending at the current recursion depth. Modify
also the "lower-water mark" formula to make it monotonic. This mark is used to
decide when the overflowed flag of the thread state is reset.
2015-10-13 00:11:21 +02:00
Steve Dower
b96698112d
Issue #25143 : Improves installer error messages for unsupported platforms.
2015-10-11 16:40:41 -07:00
Steve Dower
731f4a2c5f
Issue #25163 : Display correct directory in installer when using non-default settings.
2015-10-11 15:37:22 -07:00
Steve Dower
5700ae877f
Issue #25361 : Disables use of SSE2 instructions in Windows 32-bit build
2015-10-11 15:15:52 -07:00
Serhiy Storchaka
0289155b72
Correct Misc/NEWS.
2015-10-10 20:26:16 +03:00
Serhiy Storchaka
9e777730eb
Issue #25364 : zipfile now works in threads disabled builds.
2015-10-10 19:43:32 +03:00
Martin Panter
84835ab1cb
Issue #25161 : Merge full stops from 3.4 into 3.5
2015-10-10 10:44:25 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00
Martin Panter
e02f8fc44d
Issue #24402 : Merge input() fix from 3.4 into 3.5
2015-10-10 01:55:23 +00:00
Martin Panter
c9a6ab56cf
Issue #24402 : Fix input() when stdout.fileno() fails; diagnosed by Eryksun
...
Also factored out some test cases into a new PtyTests class.
2015-10-10 01:25:38 +00:00
Brett Cannon
89065d9fc7
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
2015-10-09 15:09:43 -07:00
Brett Cannon
65ed750375
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
2015-10-09 15:09:43 -07:00
R David Murray
1a815389cc
#25328 : add missing raise keyword in decode_data+SMTPUTF8 check.
...
This is a relatively benign bug, since having both be true was correctly
rejected at in SMTPServer even before this patch.
Patch by Xiang Zhang.
2015-10-09 10:19:33 -04:00
Steve Dower
5ae56919ab
Issue #25089 : Adds logging to installer for case where launcher is not selected on upgrade.
2015-10-08 09:55:49 -07:00
Steve Dower
12ee7448f8
Issue #23919 : Prevents assert dialogs appearing in the test suite.
2015-10-08 08:56:06 -07:00
Martin Panter
ec1aa5c2a1
More typos in 3.5 documentation and comments
2015-10-07 11:03:53 +00:00
Martin Panter
3f930dcd87
Merge typo fixes from 3.4 into 3.5
2015-10-07 11:01:47 +00:00
Martin Panter
9955a373a8
Various minor typos in documentation and comments
2015-10-07 10:26:23 +00:00
Benjamin Peterson
59dc696821
merge 3.4 ( #24806 )
2015-10-06 19:42:02 -07:00
Benjamin Peterson
bd6c41a185
prevent unacceptable bases from becoming bases through multiple inheritance ( #24806 )
2015-10-06 19:36:54 -07:00
Benjamin Peterson
72181b2f53
merge 3.4 ( #25319 )
2015-10-05 22:00:33 -07:00
Benjamin Peterson
15982aad2b
reinitialize an Event's Condition with a regular lock ( closes #25319 )
2015-10-05 21:56:22 -07:00
Steve Dower
f0ccf02e56
Issue #25316 : distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed.
2015-10-05 10:35:00 -07:00
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
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
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
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
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
Yury Selivanov
43d71e2512
asyncio: Make ensure_future() accept all kinds of awaitables.
2015-10-02 15:05:59 -04: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
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
c9fda9b903
Issue #25165 : Windows uninstallation should not remove launcher if other versions remain
2015-10-01 15:19:39 -07: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
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
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
3066fc41d1
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:33:36 +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
28d982dfc5
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)
2015-09-29 12:00:01 -07:00