Ethan Furman
92e5d2f0eb
Close issue25594: advise against accessing Enum members from other members
2015-11-20 13:17:27 -08:00
Ethan Furman
748dad5b6a
Close 25594: advise against accessing Enum members from other members
2015-11-20 13:12:26 -08:00
Yury Selivanov
5444de93ac
Merge 3.5
2015-11-20 12:58:00 -05:00
Yury Selivanov
875e4fbcca
Merge 3.4
2015-11-20 12:57:47 -05:00
Yury Selivanov
0f3c9765d4
asyncio: Fix with github
...
See https://github.com/python/asyncio/pull/295 for details
2015-11-20 12:57:34 -05:00
Yury Selivanov
ded6689117
Merge 3.5
2015-11-20 12:44:12 -05:00
Yury Selivanov
e342b8e8fe
Merge 3.4
2015-11-20 12:44:03 -05:00
Yury Selivanov
a211a7a0e7
asyncio.tests: Fix whitespace
2015-11-20 12:43:52 -05:00
Yury Selivanov
38b6468ff2
Merge 3.5
2015-11-20 12:41:53 -05:00
Yury Selivanov
4733e1f78d
Merge 3.4
2015-11-20 12:41:43 -05:00
Yury Selivanov
d59bba88e3
asyncio: Drop "value" parameter from Task._step method.
2015-11-20 12:41:03 -05:00
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