Ned Deily
5c4568a05a
Update docs and patchlevel for 3.6.0 final.
9 years ago
Xiang Zhang
bfbc29cb8f
Issue #29009 : Remove outdated doc of PyUnicode_RichCompare.
9 years ago
Ned Deily
f7b280956d
Version bump for 3.6.0rc2
9 years ago
Ned Deily
86368b8529
bump version to 3.6.0rc1+
9 years ago
Benjamin Peterson
b5e688a8ff
guard HAVE_LONG_LONG definition to prevent redefinition ( #28898 )
(grafted from 4745d801ca )
9 years ago
Ned Deily
ad2c2d380e
Version bump for 3.6.0rc1
9 years ago
Serhiy Storchaka
e503126074
Fixed misplaced comment.
9 years ago
Serhiy Storchaka
419967b832
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
9 years ago
Benjamin Peterson
0d5742dec0
guard HAVE_LONG_LONG definition to prevent redefinition ( #28898 )
9 years ago
Ned Deily
3ca43ed956
Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final will be cherrypicked and merged here.
9 years ago
Ned Deily
f50a85df1f
Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3. It is now b4+ again.)
9 years ago
Ned Deily
38c508a00c
Version bump for 3.6.0b4
9 years ago
Raymond Hettinger
f89854f89c
Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).
9 years ago
Serhiy Storchaka
a83a6a3275
Issue #28701 : _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now
require ASCII right argument and assert this condition in debug build.
9 years ago
Serhiy Storchaka
dddec81b2d
Issue #21449 : Removed private function _PyUnicode_CompareWithId.
9 years ago
Serhiy Storchaka
f5894dd646
Issue #28701 : Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang.
9 years ago
Serhiy Storchaka
f4934ea77d
Issue #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
9 years ago
Serhiy Storchaka
24411f8a8d
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
9 years ago
Ned Deily
a9e99b1a54
Start 3.6.0b4
10 years ago
Ned Deily
0ef256c2b0
Version bump for 3.6.0b3
10 years ago
Eric V. Smith
5646648678
Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6.
10 years ago
Yury Selivanov
684ef2c888
Issue #28544 : Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`
10 years ago
Yury Selivanov
833c626e67
Issue #28544 : Fix compilation of _asynciomodule.c on Windows
10 years ago
Serhiy Storchaka
0093907f0e
Issue #28426 : Deprecated undocumented functions PyUnicode_AsEncodedObject(),
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
10 years ago
Serhiy Storchaka
467ab194fc
Issue #28410 : Added _PyErr_FormatFromCause() -- the helper for raising
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
10 years ago
Benjamin Peterson
4510e6de9d
mark dtrace stubs as static inline; remove stubs
C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092 )
We don't want these to have external visibility anyway.
10 years ago
Benjamin Peterson
1609997796
prefix freegrammar ( closes #28413 )
10 years ago
Ned Deily
a4f45bb0c4
Start 3.6.0b3
10 years ago
Ned Deily
7e16af499b
Version bump for 3.6.0b2
10 years ago
Serhiy Storchaka
cc164232aa
Issue #28295 : Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
e036ef8fa2
Issue #27358 : Optimized merging var-keyword arguments and improved error
message when pass a non-mapping as a var-keyword argument.
10 years ago
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.
10 years ago
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.
10 years ago
Serhiy Storchaka
1d480bea9c
Issues #25909 , #28211 : Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
10 years ago
Benjamin Peterson
0c21214f3e
replace usage of Py_VA_COPY with the (C99) standard va_copy
10 years ago
Benjamin Peterson
918aa89483
remove trailing whitespace
10 years ago
Benjamin Peterson
ac965ca16c
stop using Py_LL and Py_ULL
10 years ago
Benjamin Peterson
41e35f37ed
always define HAVE_LONG_LONG ( #27961 )
10 years ago
Benjamin Peterson
9ac11a752a
properly free memory in pgen
10 years ago
Martin Panter
6d57fe1c23
Issue #28139 : Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
10 years ago
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".
10 years ago
Christian Heimes
f051e43b22
Issue #28126 : Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
10 years ago
Ned Deily
4a94bbe517
Start 3.6.0b2
10 years ago
Ned Deily
beb798cad6
Version bump for 3.6.0b1
10 years ago
Victor Stinner
137f39ac90
Issue #27810 : Exclude METH_FASTCALL from the stable API
10 years ago
Victor Stinner
57f91ac95a
Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict()
Issue #27213 .
10 years ago
Victor Stinner
b8d768b019
Revert change f860b7a775c5
Revert change "Issue #27213 : Reintroduce checks in _PyStack_AsDict()", pushed
by mistake.
10 years ago
Victor Stinner
b1e169bf4b
ssue #27213 : Reintroduce checks in _PyStack_AsDict()
10 years ago
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.
10 years ago
Serhiy Storchaka
ab8740058a
Issue #27129 : Replaced wordcode related magic constants with macros.
10 years ago