Commit graph

24500 commits

Author SHA1 Message Date
Martin Panter
36befa5b4c Issue #25626: Merge zlib fix from 3.5 2015-11-21 10:57:15 +00: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
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
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
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
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
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
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
efbee31b47 Merge 3.5 2015-11-16 12:43:46 -05:00
Yury Selivanov
1334f83de2 Merge 3.4 2015-11-16 12:43:35 -05:00
Yury Selivanov
5bb1afb332 asyncio: Add Transport.is_closing()
See https://github.com/python/asyncio/pull/291 for details.
2015-11-16 12:43:21 -05:00
Martin Panter
a28cdafe83 Issue #20220: Merge time zone workaround from 3.5 2015-11-16 09:43:05 +00:00
Martin Panter
42347100bf Issue #20220: Merge time zone workaround from 3.4 into 3.5 2015-11-16 09:42:41 +00:00
Martin Panter
fca22327ca Issue #20220: Revert time zone test debugging, revision 139c18943d9b 2015-11-16 09:22:19 +00:00
Serhiy Storchaka
51eca24748 Issue #9051: Added tests for pickling and copying the timezone objects. 2015-11-16 11:20:17 +02:00
Serhiy Storchaka
f242aebbd3 Issue #9051: Added tests for pickling and copying the timezone objects. 2015-11-16 11:19:31 +02:00
Serhiy Storchaka
e28209f251 Issue #9051: Added tests for pickling and copying the timezone objects. 2015-11-16 11:12:58 +02:00
Martin Panter
6e0889f0c7 Issue #20220: Add DST rules to work around glibc quirk
This was triggering intermittent failures in unrelated tests.
2015-11-16 07:21:38 +00:00
Gregory P. Smith
f31f9718ac 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:29:43 -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
Serhiy Storchaka
0304729ec4 Issue #25388: Fixed tokenizer crash when processing undecodable source code
with a null byte.
2015-11-14 15:12:04 +02: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
19e69c5a20 Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej 2015-11-14 12:46:42 +00:00
Martin Panter
d226d308a3 Issue #23883: Add test.support.check__all__() and test gettext.__all__
Patches by Jacek Kołodziej.
2015-11-14 11:47:00 +00:00
Martin Panter
63c1ebb67b Issue #25168: Temporary timezone and cache debugging 2015-11-14 08:54:30 +00:00
Martin Panter
22fd1c262a Merge typo and grammar fixes from 3.5 2015-11-14 01:29:13 +00:00
Martin Panter
32acc16cda Merge typo and grammar fixes from 3.4 into 3.5 2015-11-14 01:14:25 +00:00