Commit graph

93304 commits

Author SHA1 Message Date
Yury Selivanov
aa31c35e55 Merge 3.5 2015-11-20 12:40:02 -05:00
Yury Selivanov
abe61079de Merge 3.4 2015-11-20 12:39:51 -05:00
Yury Selivanov
b485bb416c asyncio: Sync with github 2015-11-20 12:39:43 -05:00
Terry Jan Reedy
b74a707cbd Merge with 3.5 2015-11-20 12:22:18 -05:00
Terry Jan Reedy
812b24842c Merge with 3.4 2015-11-20 12:22:06 -05:00
Terry Jan Reedy
4379d15d4c Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
2015-11-20 12:21:48 -05:00
Serhiy Storchaka
9e788af7cc Issue #25665: Test pickling with all protocols in test_typing. 2015-11-20 18:33:33 +02:00
Serhiy Storchaka
6d9e92396f Issue #25665: Test pickling with all protocols in test_typing. 2015-11-20 18:33:02 +02:00
R David Murray
3129571fb1 Merge: #25679: spelling fix 2015-11-20 09:59:19 -05:00
R David Murray
0aaeacb3f1 Merge: #25679: spelling fix 2015-11-20 09:58:51 -05:00
R David Murray
51d3f8b0ba #25679: spelling fix 2015-11-20 09:57:20 -05:00
Victor Stinner
b4efc963d6 Issue #25557: Refactor _PyDict_LoadGlobal()
Don't fallback to PyDict_GetItemWithError() if the hash is unknown: compute the
hash instead. Add also comments to explain the optimization a little bit.
2015-11-20 09:24:02 +01: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
Victor Stinner
c50ec007ff Merge 3.5 (issue #25670) 2015-11-20 08:50:17 +01:00
Victor Stinner
6fbd7741db Issue #25670: Remove duplicate getattr() from ast.NodeTransformer 2015-11-20 08:49:58 +01:00
Martin Panter
8b4ee344ef Issue #25583: Add news to 3.6 section 2015-11-20 02:37:57 +00:00
Martin Panter
5e02af4961 Issue #25583: Merge makedirs fix from 3.5 2015-11-20 02:37:29 +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
13d9b86d46 Issue #25593: Change semantics of EventLoop.stop(). (Merge 3.5->3.6) 2015-11-19 13:34:24 -08: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
Guido van Rossum
1b2bd70f98 Issue #25665: Make NamedTuple picklable. (Merge 3.5->3.6) 2015-11-19 08:16:52 -08:00
Guido van Rossum
557d1eb0f3 Issue #25665: Make NamedTuple picklable. 2015-11-19 08:16:31 -08:00
Guido van Rossum
ca0f0a6bad Remove unused imports from test_typing.py. (Merge 3.5->3.6) 2015-11-18 21:19:18 -08:00
Guido van Rossum
05e3090e3a Remove unused imports from test_typing.py. 2015-11-18 21:18:51 -08:00
Guido van Rossum
5497ac4758 Issue #25472: In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work. (Merge 3.5->3.6) 2015-11-18 21:13:42 -08:00
Guido van Rossum
bb7c57c6cd Issue #25472: In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work. 2015-11-18 21:12:58 -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
Yury Selivanov
255230595f Merge 3.5 2015-11-18 12:44:59 -05:00
Yury Selivanov
6efc7e726f Merge 3.4 2015-11-18 12:44:49 -05:00
Yury Selivanov
01a65af4a1 asyncio.docs: Fix versionadded 2015-11-18 12:44:31 -05:00
Yury Selivanov
5c9f204300 Merge 3.5 2015-11-18 12:40:41 -05:00
Yury Selivanov
576fe71c12 asyncio: Error if awaiting in parallel on the same coroutine
See https://github.com/python/asyncio/pull/293 for details.
2015-11-18 12:40:26 -05:00
Yury Selivanov
b3dd6d70c7 asyncio: Error if awaiting in parallel on the same coroutine
This change won't do anything in CPython 3.4

See https://github.com/python/asyncio/pull/293 for details.
2015-11-18 12:39:45 -05:00
Raymond Hettinger
66f6238fca Add assertion to verify the pre-condition in the comments. 2015-11-17 20:58:43 -08:00
Martin Panter
b62226ccc4 Issue #23200: Merge zlib doc from 3.5 2015-11-18 02:46:16 +00:00
Martin Panter
1535311edc Issue #23200: Merge zlib doc from 3.4 into 3.5 2015-11-18 02:45:51 +00:00
Martin Panter
38fe4dc400 Issue #23200: Document that max_length=0 is not supported 2015-11-18 00:59:17 +00:00
Martin Panter
acec450bfd Issue #20468: Merge getpagesize doc from 3.5 2015-11-17 22:26:23 +00:00
Martin Panter
ce19839961 Issue #20468: Merge getpagesize doc from 3.4 into 3.5 2015-11-17 22:23:21 +00:00
Martin Panter
f8f66eb985 Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
2015-11-17 22:13:47 +00:00
Yury Selivanov
4990289bbf Merge 3.5 2015-11-17 12:20:26 -05:00
Yury Selivanov
5498f2b6bf Merge 3.4 2015-11-17 12:20:02 -05:00
Yury Selivanov
5d7e3b6cd2 asyncio: Cleanup Future API
See https://github.com/python/asyncio/pull/292 for details.
2015-11-17 12:19:41 -05:00
Yury Selivanov
cfcc2bdcb2 Merge 3.5 2015-11-17 12:02:44 -05:00
Yury Selivanov
7f324ba735 Merge 3.4 2015-11-17 12:02:32 -05:00
Yury Selivanov
0013ccedd1 asyncio: Sync with github 2015-11-17 12:02:21 -05:00
Raymond Hettinger
6019c8ced0 Issue #25629: Move set fill/used updates out of inner loop 2015-11-17 08:28:07 -08:00
Victor Stinner
9ba97df69c Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the
issue #24164.
2015-11-17 12:15:07 +01:00
Martin Panter
27b735ab0f Issue #25615: Merge glob doc from 3.5 2015-11-17 00:19:27 +00:00