Commit Graph

94934 Commits

Author SHA1 Message Date
Berker Peksag d751040b1a Issue #26171: Prevent buffer overflow in get_data
Backport of 01ddd608b85c.
2016-09-14 08:37:28 +03:00
Berker Peksag 4aa74c429c Issue #28131: Fix a regression in zipimport's compile_source()
zipimport should use the same optimization level as the interpreter.
2016-09-14 08:09:48 +03:00
Martin Panter 134192630a Issue #15819: Remove old unconditional -IInclude option
A newer instance of this option, enabled in the configure script when
building outside the source tree, made this redundant.
2016-09-13 12:21:47 +00:00
Raymond Hettinger a33e9f7047 Issue #28104: More accurately document set method signatures 2016-09-12 23:38:50 -07:00
Benjamin Peterson 529d130eda merge heads 2016-09-12 22:09:11 -07:00
Benjamin Peterson 35ee948fa5 restructure fp_setreadl so as to avoid refleaks (closes #27981) 2016-09-12 22:06:58 -07:00
Berker Peksag ac2d1c7153 Issue #27952: Capture stderr in run_script() 2016-09-13 07:55:54 +03:00
Berker Peksag 720acbf31b Issue #27981: Fix refleak in fp_setreadl()
Patch by David Dudson.
2016-09-13 07:39:00 +03:00
Berker Peksag 7927e75758 Issue #28103: Use ``'...'`` style in zipfile documentation
Patch by Stephen J. Turnbull.
2016-09-13 04:49:12 +03:00
Raymond Hettinger 076366c2a5 Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes
(Patch by Duane Griffin.  Reviewed and approved by Stefan Behnel.)
2016-09-11 23:18:03 -07:00
Terry Jan Reedy 4b73676c3d Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:50:03 -04:00
Berker Peksag ed6224ee0c Issue #28045: Fix comment in range_contains_long()
Patch by wim glenn.
2016-09-12 07:47:04 +03:00
Martin Panter c5ee3caa80 Issue #28066: Fix include search directory logic for out-of-tree builds 2016-09-12 01:32:03 +00:00
Yury Selivanov 44c19eccf9 Issue #27456: asyncio: Set TCP_NODELAY by default. 2016-09-11 21:39:31 -04:00
Yury Selivanov a05a6ef1ca asyncio: Add set_protocol / get_protocol methods to Transports 2016-09-11 21:11:02 -04:00
Raymond Hettinger 06e18a7c24 Issue #26511: Reference the id() function in the 'is' and 'is not' docs 2016-09-11 17:23:49 -07:00
Guido van Rossum 0a6976da10 Issue #28079: Update typing and test typing from python/typing repo.
Ivan Levkivskyi (3.5 version)
2016-09-11 15:34:56 -07:00
R David Murray 0e0cfd7135 #19003: Only replace \r and/or \n line endings in email.generator.
This is a further restoration of backward compatibility, as well as
being correct per the RFCs.
2016-09-11 17:22:56 -04:00
Vinay Sajip e4946e73c8 Issue #23105: Updated documentation on open() flag constants. 2016-09-11 15:15:59 +01:00
Berker Peksag 1c697a56ba Issue #20100: Clarify that passing flags to epoll() has no effect 2016-09-11 15:45:32 +03:00
Vinay Sajip 3d639b2c2e Closed #26533: expanded on behaviour of logging.config.listen(). 2016-09-11 13:15:06 +01:00
Vinay Sajip 8d82559ca7 Fixes #25671: Updated prompt handling in activate.fish. 2016-09-11 12:52:08 +01:00
Martin Panter b7665386bc Issue #27952: Get fixcid.py working with the re module 2016-09-11 09:32:26 +00:00
Berker Peksag 53ba2d10e0 Issue #27991: Remove incorrect sentence about store_true
Patch by py.user.
2016-09-11 13:02:27 +03:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 3a95f45a38 Remove the debug print that i accidentally left in. 2016-09-10 20:39:36 -07:00
Guido van Rossum 56ff5f7298 Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version) 2016-09-10 19:03:22 -07:00
Guido van Rossum 1816dfe65f Issue #28073: Improve wording around None. Michael Lee. 2016-09-10 18:49:14 -07:00
Serhiy Storchaka cc66a6528d Backported tests for issue #28070. 2016-09-11 01:39:51 +03:00
Terry Jan Reedy d92cecb9f1 IDLE newx items. 2016-09-10 16:24:54 -04:00
Steve Dower 109bc3aa73 Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files 2016-09-10 12:19:42 -07:00
Mark Dickinson 36820dd5a9 Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0. 2016-09-10 20:17:36 +01:00
Steve Dower f028d9f71a Issue #27932: Backs out change 2016-09-10 11:52:18 -07:00
Martin Panter 99e843b48e Correct spelling in documentation and code comment 2016-09-10 10:38:28 +00:00
Victor Stinner c7a070e998 regrtest: accept options after test names 2016-09-10 04:27:28 -04:00
Serhiy Storchaka 8ddcf3abf7 Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.
2016-09-10 09:49:24 +03:00
Guido van Rossum e617521b0d Use raw string for regexp 2016-09-09 21:39:10 -07:00
Steve Dower 528db31bd9 Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) 2016-09-09 18:38:20 -07:00
Steve Dower f2bdb6b8ca Issue #27705: Update message in validate_ucrtbase.py 2016-09-09 18:21:15 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 28325749c0 Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.
2016-09-09 18:18:52 -07:00
Gregory P. Smith dbdf029a55 remove fix_callable - callable() was readded many releases ago. 2016-09-09 18:14:33 -07:00
Steve Dower 6a294a54de Issue #27932: Fixes memory leak in platform.win32_ver() 2016-09-09 18:01:25 -07:00
Steve Dower 8dcc48ee3b Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun) 2016-09-09 17:27:33 -07:00
R David Murray 347dc95cd3 #14977: Make mailcap respect the order of the lines in the mailcap file.
This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug.  Patch by Michael Lazar.
2016-09-09 20:04:23 -04:00
Raymond Hettinger ae9e5f032d Issue #22450: Use "Accept: */*" in the default headers for urllib.request 2016-09-09 16:43:48 -07:00
Steve Dower c87ae806ab Issue #25144: Ensures TargetDir is set before continuing with custom install. 2016-09-09 16:37:53 -07:00
Raymond Hettinger 87dc4d6189 Issue 14976: Note that the queue module is not designed to protect against reentrancy 2016-09-09 15:57:13 -07:00
Guido van Rossum 7b3b3dc85d Merge asyncio upstream. 2016-09-09 14:26:31 -07:00
Zachary Ware 9b32bda851 Issue #19489: Add NEWS and ACKS 2016-09-09 13:14:42 -07:00
Zachary Ware a3090a4b79 Issue #19489: Move the search box from sidebar to header and footer. 2016-09-09 13:11:27 -07:00
Guido van Rossum 1140a03426 Rename Future._blocking to _asyncio_future_blocking.
This is now an official "protected" API that can be used to write
classes that are duck-type-compatible with Future without subclassing
it.  (For that purpose I also changed isinstance(result, Future) to
check for this attribute instead.)

Hopefully Amber Brown can use this to make Twisted.Deferred compatible
with asyncio.Future.

Tests and docs are TBD.
2016-09-09 12:54:54 -07:00