Victor Stinner
c7454ff5fc
Issue #27810 : Fix getargs.c compilation on Windows
2016-09-09 20:56:52 -07:00
Benjamin Peterson
819a46f33a
fix export of size_t parse stack function
2016-09-09 20:45:06 -07:00
Victor Stinner
990397ef1e
dictobject.c: explain why stringlib is used
2016-09-09 20:22:59 -07:00
Victor Stinner
37e4ef7b17
Issue #27810 : Rerun Argument Clinic on all modules
2016-09-09 20:00:13 -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
Victor Stinner
f0ccbbbc57
Emit METH_FASTCALL code in Argument Clinic
...
Issue #27810 :
* Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than
working on a tuple directly.
* Add _PyArg_ParseStack()
* Argument Clinic now emits code using the new METH_FASTCALL calling convention
2016-09-09 17:40:38 -07:00
Victor Stinner
a9efb2f56e
Add METH_FASTCALL calling convention
...
Issue #27810 : Add a new calling convention for C functions:
PyObject* func(PyObject *self, PyObject **args,
Py_ssize_t nargs, PyObject *kwnames);
Where args is a C array of positional arguments followed by values of keyword
arguments. nargs is the number of positional arguments, kwnames are keys of
keyword arguments. kwnames can be NULL.
2016-09-09 17:40:22 -07:00
Victor Stinner
78601a38c2
Fix SystemError in compact dict
...
Issue #28040 : Fix _PyDict_DelItem_KnownHash() and _PyDict_Pop(): convert
splitted table to combined table to be able to delete the item.
Write an unit test for the issue.
Patch by INADA Naoki.
2016-09-09 19:28:36 -07:00
Benjamin Peterson
eb0dfa9251
make invalid_comma_and_underscore a real prototype
2016-09-09 20:14:05 -07:00
Eric V. Smith
d7665ca7a4
Further improved ',' and '_' specification in format mini-language.
2016-09-09 23:13:01 -04:00
Eric V. Smith
fef4391c88
Improved ',' and '_' specification in format mini-language.
2016-09-09 23:12:02 -04:00
Eric V. Smith
89e1b1aae0
Issue 27080: PEP 515: add '_' formatting option.
2016-09-09 23:06:47 -04:00
Benjamin Peterson
37d398ebd1
compile dtrace stubs
2016-09-09 19:52:23 -07:00
Łukasz Langa
04bedfa3ce
Issue #27199 : TarFile expose copyfileobj bufsize to improve throughput
...
Patch by Jason Fried.
2016-09-09 19:48:14 -07:00
Benjamin Peterson
f5781958af
add dtrace inline stubs
2016-09-09 19:48:47 -07:00
Benjamin Peterson
4ba5c88a3f
just start with an int rather than casting
2016-09-09 19:31:12 -07:00
Eric V. Smith
451d0e38fc
Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.
2016-09-09 21:56:20 -04:00
Steve Dower
052828db15
Issue #27566 : Fix clean target in freeze makefile (patch by Lisa Roach)
2016-09-09 18:41:56 -07:00
Zachary Ware
80da993826
Issue #28046 : Fix distutils
...
Why do we have two sysconfig modules again?
2016-09-09 18:29:10 -07:00
Steve Dower
2e82bf824e
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:25:29 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3b822d6c89
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:19:51 -07:00
Gregory P. Smith
50a903de4c
merge (3.6 already has this)
2016-09-09 18:14:52 -07:00
Benjamin Peterson
feb7edc153
dummy dtrace probes are a good place to use inline functions
2016-09-09 18:09:52 -07:00
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