Commit Graph

96001 Commits

Author SHA1 Message Date
Steve Dower 48c7d7518e Merge from Zach 2016-09-09 18:05:07 -07:00
Steve Dower 1588a3b377 Issue #27932: Fixes memory leak in platform.win32_ver() 2016-09-09 18:04:26 -07:00
Zachary Ware c4b53afce4 Issue #28046: Remove platform-specific directories from sys.path 2016-09-09 17:59:49 -07:00
Zachary Ware b44acebc7b Actually fix suspicious markup, I ignored it too readily 2016-09-09 17:47:38 -07:00
Benjamin Peterson dec2df3df3 fix dummy macro 2016-09-09 17:46:24 -07:00
Łukasz Langa a785c87d6e DTrace support: function calls, GC activity, line execution
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.

Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.

Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection

All of those might be added later.
2016-09-09 17:37:37 -07:00
Zachary Ware 39b42ae8db Remove line numbers from suspicious rules 2016-09-09 17:38:28 -07:00
Steve Dower ff70fc2206 Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun) 2016-09-09 17:33:37 -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 1319236167 Merge: #14977: Make mailcap respect the order of the lines in the mailcap file. 2016-09-09 20:09:43 -04: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
Gregory P. Smith 223f12c9eb Remove 2to3's fix_callable... We reintroduced the callable built-in
pretty early on in the 3.x series (3.1 or 3.2?).
2016-09-09 17:03:58 -07:00
Zachary Ware 935043d1ac Closes #27976: Deprecate bundled full copy of libffi
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
2016-09-09 17:01:21 -07:00
Raymond Hettinger b7f3c944d1 Merge 2016-09-09 16:44:53 -07: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 d6c580cbce Issue #25144: Ensures TargetDir is set before continuing with custom install. 2016-09-09 16:39:36 -07:00
Steve Dower c87ae806ab Issue #25144: Ensures TargetDir is set before continuing with custom install. 2016-09-09 16:37:53 -07:00
Zachary Ware 5272868e1f Rename test_strlit -> test_string_literals 2016-09-09 16:15:03 -07:00
Davin Potts 5458647bb8 Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
Raymond Hettinger f1024f7425 merge 2016-09-09 15:58:00 -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
Steve Dower 3ceb573a72 Fix call to PathCombineW. 2016-09-09 15:53:58 -07:00
Zachary Ware c307672395 We're not that far in the future yet 2016-09-09 15:47:05 -07:00
Zachary Ware 12aeb78fd2 Fix suspicious markup 2016-09-09 15:46:14 -07:00
Steve Dower 5daba1a59a Remove buildbot diagnostic code. 2016-09-09 15:45:47 -07:00
Zachary Ware 664cc5071a Remove another useless buildbot script 2016-09-09 15:42:06 -07:00
R David Murray 06ed218ed0 #20476: add a message_factory policy attribute to email. 2016-09-09 18:39:18 -04:00
Steve Dower 37df068e86 Expands buildbot validation code 2016-09-09 15:39:11 -07:00
Zachary Ware 8f35675853 Remove outdated buildbot scripts 2016-09-09 15:35:38 -07:00
Benjamin Peterson f46e612e33 repair versionadded directive 2016-09-09 15:34:58 -07:00
Steve Dower 5510d821d3 Adds temporary validation code to buildbot script 2016-09-09 15:33:42 -07:00
Steve Dower b230cc4b5c Ensures buildbots don't have zip files in build directory. 2016-09-09 15:24:11 -07:00
Steve Dower 3cdd7f57a2 Add links from whatsnew to Windows docs. 2016-09-09 15:22:13 -07:00
Christian Heimes 3aeacad561 Issue #28025: Convert all ssl module constants to IntEnum and IntFlags. 2016-09-10 00:19:35 +02:00
Benjamin Peterson 0c6ab35f3e repair reST 2016-09-09 15:14:56 -07:00
Serhiy Storchaka 142aee3a8e Merge heads 2016-09-10 01:14:38 +03:00
Steve Dower d8fdffedaa Adds search path changes to whatsnew/3.6.rst 2016-09-09 15:09:30 -07:00
Steve Dower 814f9ae33e Adds documentation for pythonXX.zip as a landmark. 2016-09-09 15:07:46 -07:00
Benjamin Peterson 75f94a7dff remove more READ_TIMESTAMP 2016-09-09 15:03:18 -07:00
Benjamin Peterson 1cfe1d1f53 remove READ_TIMESTAMP macro 2016-09-09 15:02:11 -07:00
Benjamin Peterson 4fd64b9a6a remove ceval timestamp support 2016-09-09 14:57:58 -07:00
Serhiy Storchaka be9a4e5c85 Issue #433028: Added support of modifier spans in regular expressions. 2016-09-10 00:57:55 +03:00
Steve Dower ad46443e9d Issue #24186: Reenable optimised OpenSSL function 2016-09-09 14:57:39 -07:00
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515.
Thanks to Georg Brandl for the patch.
2016-09-09 14:57:09 -07:00
Serhiy Storchaka ee73a65745 Merge heads 2016-09-10 00:55:01 +03:00
Serhiy Storchaka 7c19affdce Issue #25856: The __module__ attribute of extension classes and functions
now is interned. This leads to more compact pickle data with protocol 4.
2016-09-10 00:53:02 +03:00
Gregory P. Smith fa40ca811f issue27985 - fix the incorrect duplicate class name in the lib2to3
test.  call it TestVarAnnotations instead.
2016-09-09 14:48:08 -07:00
Guido van Rossum 7b3b3dc85d Merge asyncio upstream. 2016-09-09 14:26:31 -07:00
Victor Stinner ae8b69c410 Issue #27810: Add _PyCFunction_FastCallKeywords()
Use _PyCFunction_FastCallKeywords() in ceval.c: it allows to remove a lot of
code from ceval.c which was only used to call C functions.
2016-09-09 14:07:44 -07:00
Steve Dower 502893896a Issue #27874: Allows use of pythonXX.zip file as landmark on Windows 2016-09-09 14:22:43 -07:00