Commit graph

38173 commits

Author SHA1 Message Date
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
a211a7a0e7 asyncio.tests: Fix whitespace 2015-11-20 12:43:52 -05:00
Yury Selivanov
d59bba88e3 asyncio: Drop "value" parameter from Task._step method. 2015-11-20 12:41:03 -05:00
Yury Selivanov
b485bb416c asyncio: Sync with github 2015-11-20 12:39:43 -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
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
Terry Jan Reedy
d13cade381 Merge with 3.4 2015-11-21 00:05:17 -05:00
Terry Jan Reedy
0a7b2ae550 Merge with 3.4 2015-11-20 19:37:00 -05:00
Yury Selivanov
875e4fbcca Merge 3.4 2015-11-20 12:57:47 -05:00
Yury Selivanov
e342b8e8fe Merge 3.4 2015-11-20 12:44:03 -05:00
Yury Selivanov
4733e1f78d Merge 3.4 2015-11-20 12:41:43 -05:00
Yury Selivanov
abe61079de Merge 3.4 2015-11-20 12:39:51 -05:00
Terry Jan Reedy
812b24842c Merge with 3.4 2015-11-20 12:22:06 -05:00
Serhiy Storchaka
6d9e92396f Issue #25665: Test pickling with all protocols in test_typing. 2015-11-20 18:33:02 +02:00
Victor Stinner
6fbd7741db Issue #25670: Remove duplicate getattr() from ast.NodeTransformer 2015-11-20 08:49:58 +01: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
Guido van Rossum
557d1eb0f3 Issue #25665: Make NamedTuple picklable. 2015-11-19 08:16:31 -08:00
Guido van Rossum
05e3090e3a Remove unused imports from test_typing.py. 2015-11-18 21:18:51 -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
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
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
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
Yury Selivanov
cfff959c07 Merge 3.4 2015-11-16 15:12:44 -05:00
Yury Selivanov
a4afc4876b asyncio: Optimize Task._wakeup
See https://github.com/python/asyncio/pull/289 for details.
2015-11-16 15:12:10 -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
Terry Jan Reedy
4bc534d589 Merge with 3.4 2015-11-16 07:36:33 -05:00
Terry Jan Reedy
4932ac244f Issue #24750: whitespace 2015-11-16 07:36:22 -05:00
Terry Jan Reedy
5922d739d4 Merge with 3.4 2015-11-16 07:32:46 -05:00
Terry Jan Reedy
d36d817a84 Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
2015-11-16 07:32:26 -05:00
Martin Panter
42347100bf Issue #20220: Merge time zone workaround from 3.4 into 3.5 2015-11-16 09:42:41 +00: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
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
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
32acc16cda Merge typo and grammar fixes from 3.4 into 3.5 2015-11-14 01:14:25 +00:00
Martin Panter
2e4571a456 Fix a few grammar problems in the documentation and comments 2015-11-14 01:07:43 +00:00
Martin Panter
ac34e09bbf Correct Content-Type syntax in documentation 2015-11-14 00:58:32 +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