Benjamin Peterson
27271149b4
merge 3.6
2016-10-10 23:21:10 -07:00
Benjamin Peterson
1609997796
prefix freegrammar ( closes #28413 )
2016-10-10 23:21:02 -07:00
Ned Deily
a4f45bb0c4
Start 3.6.0b3
2016-10-10 20:46:40 -04:00
Ned Deily
7e16af499b
Version bump for 3.6.0b2
2016-10-10 16:09:08 -04:00
Serhiy Storchaka
ad72467bef
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
...
Original patch by Xiang Zhang.
2016-10-02 21:30:59 +03:00
Serhiy Storchaka
b3648576cd
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
...
Original patch by Xiang Zhang.
2016-10-02 21:30:35 +03:00
Serhiy Storchaka
cc164232aa
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
...
Original patch by Xiang Zhang.
2016-10-02 21:29:26 +03:00
Serhiy Storchaka
2e84de3638
Issue #27358 : Optimized merging var-keyword arguments and improved error
...
message when pass a non-mapping as a var-keyword argument.
2016-10-02 11:07:29 +03:00
Serhiy Storchaka
e036ef8fa2
Issue #27358 : Optimized merging var-keyword arguments and improved error
...
message when pass a non-mapping as a var-keyword argument.
2016-10-02 11:06:43 +03:00
Serhiy Storchaka
775a0ea0da
Issue #28257 : Improved error message when pass a non-iterable as
...
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
2016-10-02 10:34:46 +03:00
Serhiy Storchaka
7344285c19
Issue #28257 : Improved error message when pass a non-iterable as
...
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
2016-10-02 10:33:46 +03:00
Alexander Belopolsky
3e7a3cb903
Issue #28148 : Stop using localtime() and gmtime() in the time module.
...
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms. Patch by Ed
Schouten.
2016-09-28 17:31:35 -04:00
Alexander Belopolsky
9f518cd01a
Merged from 3.6
2016-09-28 17:32:31 -04:00
Serhiy Storchaka
4e3aab7c73
Issues #25909 , #28211 : Restored correct documentation of PyMapping_Items,
...
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
2016-09-26 20:54:24 +03:00
Serhiy Storchaka
4781b59185
Issues #25909 , #28211 : Restored correct documentation of PyMapping_Items,
...
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
2016-09-26 20:53:27 +03:00
Serhiy Storchaka
1d480bea9c
Issues #25909 , #28211 : Restored correct documentation of PyMapping_Items,
...
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
2016-09-26 20:52:41 +03:00
Benjamin Peterson
637d1e2b0a
merge 3.6
2016-09-20 20:39:44 -07:00
Benjamin Peterson
0c21214f3e
replace usage of Py_VA_COPY with the (C99) standard va_copy
2016-09-20 20:39:33 -07:00
Benjamin Peterson
adaa56ac35
merge 3.6 ( closes #28184 )
2016-09-19 22:17:44 -07:00
Benjamin Peterson
e2e792d98f
merge 3.5 ( #28184 )
2016-09-19 22:17:16 -07:00
Benjamin Peterson
918aa89483
remove trailing whitespace
2016-09-19 22:16:36 -07:00
Benjamin Peterson
75361243d5
merge 3.6
2016-09-18 18:12:44 -07:00
Benjamin Peterson
ac965ca16c
stop using Py_LL and Py_ULL
2016-09-18 18:12:21 -07:00
Benjamin Peterson
d1b44d9301
merge 3.6
2016-09-18 18:03:04 -07:00
Benjamin Peterson
41e35f37ed
always define HAVE_LONG_LONG ( #27961 )
2016-09-18 18:02:58 -07:00
Benjamin Peterson
190a32f3ed
merge 3.6
2016-09-18 18:00:32 -07:00
Benjamin Peterson
9ac11a752a
properly free memory in pgen
2016-09-18 18:00:25 -07:00
Martin Panter
369052bb05
Issue #28139 : Merge indentation fixes from 3.6
2016-09-17 07:59:32 +00:00
Martin Panter
d508d00919
Issue #28139 : Merge indentation fixes from 3.5 into 3.6
2016-09-17 07:59:14 +00:00
Martin Panter
6d57fe1c23
Issue #28139 : Fix messed up indentation
...
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 03:26:16 +00:00
Victor Stinner
e175c1bbd5
Merge 3.6
...
Issue #28127 : Add _PyDict_CheckConsistency()
2016-09-14 15:04:33 +02:00
Victor Stinner
611b0fa94c
Add _PyDict_CheckConsistency()
...
Issue #28127 : Add a function to check that a dictionary remains consistent
after any change.
By default, tables are not checked, only basic attributes. Define DEBUG_PYDICT
(ex: gcc -D DEBUG_PYDICT) to also check dictionary "content".
2016-09-14 15:02:01 +02:00
Christian Heimes
ef4c53af5f
Issue #28126 : Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
2016-09-13 20:22:26 +02:00
Christian Heimes
f051e43b22
Issue #28126 : Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
2016-09-13 20:22:02 +02:00
Ned Deily
4829bc6619
Bump to 3.7.0a0
2016-09-12 17:29:04 -04:00
Ned Deily
4a94bbe517
Start 3.6.0b2
2016-09-12 15:49:58 -04:00
Ned Deily
beb798cad6
Version bump for 3.6.0b1
2016-09-12 11:04:12 -04:00
Victor Stinner
137f39ac90
Issue #27810 : Exclude METH_FASTCALL from the stable API
2016-09-12 15:55:21 +02:00
Victor Stinner
57f91ac95a
Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict()
...
Issue #27213 .
2016-09-12 13:37:07 +02:00
Victor Stinner
b8d768b019
Revert change f860b7a775c5
...
Revert change "Issue #27213 : Reintroduce checks in _PyStack_AsDict()", pushed
by mistake.
2016-09-12 13:30:02 +02:00
Victor Stinner
b1e169bf4b
ssue #27213 : Reintroduce checks in _PyStack_AsDict()
2016-09-12 12:55:28 +02:00
Serhiy Storchaka
b72810583e
Issue #27213 : Fixed different issues with reworked CALL_FUNCTION* opcodes.
...
* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with
single tuple or dict.
* Restored more informative error messages for incorrect var-positional and
var-keyword arguments.
* Removed code duplications in _PyEval_EvalCodeWithName().
* Removed redundant runtime checks and parameters in _PyStack_AsDict().
* Added a workaround and enabled previously disabled test in test_traceback.
* Removed dead code from the dis module.
2016-09-12 00:52:40 +03:00
Serhiy Storchaka
ab8740058a
Issue #27129 : Replaced wordcode related magic constants with macros.
2016-09-11 13:48:15 +03:00
Serhiy Storchaka
9fab79bcb5
Issue #26900 : Excluded underscored names and other private API from limited API.
2016-09-11 11:03:14 +03:00
Benjamin Peterson
39e10616fb
add the usual extern C silliness to pydtrace.h
2016-09-10 17:34:15 -07:00
Łukasz Langa
fef7e94fa1
Don't run garbage collection on interpreter exit if it was explicitly disabled
...
by the user.
2016-09-09 21:47:46 -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
Benjamin Peterson
feb7edc153
dummy dtrace probes are a good place to use inline functions
2016-09-09 18:09:52 -07:00
Benjamin Peterson
dec2df3df3
fix dummy macro
2016-09-09 17:46:24 -07:00