INADA Naoki
f669ffff60
fix minor bug in pymalloc. ( #335 )
...
reported by Alexis Lopez-Garcia.
2017-02-27 14:42:37 +01:00
Serhiy Storchaka
6e08baf12d
Issue #27867 : Function PySlice_GetIndicesEx() is deprecated and replaced with
...
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
2017-01-25 13:27:44 +02:00
Serhiy Storchaka
2a404b63d4
Issue #28769 : The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()
...
is now of type "const char *" rather of "char *".
2017-01-22 23:07:07 +02:00
Xiang Zhang
f8160236ed
Issue #29292 : Merge 3.6.
2017-01-20 11:31:31 +08:00
Xiang Zhang
346454c7f5
Issue #29292 : Merge 3.5.
2017-01-20 11:29:48 +08:00
Xiang Zhang
6ad85bf89a
Issue #29292 : Update outdated doc of PyEval_EvalCodeEx.
...
Patch by Ammar Askar.
2017-01-20 11:29:11 +08:00
Martin Panter
849b6bd672
Issue #15657 : Merge METH_KEYWORDS doc from 3.6
2017-01-11 11:57:18 +00:00
Martin Panter
a27b3b3192
Issue #15657 : Merge other doc fix from 3.5
2017-01-11 11:51:02 +00:00
Martin Panter
5b66723b0b
Issue #15657 : Delete incorrect statement from PyMethodDef documentation
...
Patch by Berker Peksag.
2017-01-11 11:50:06 +00:00
Martin Panter
9da31f7274
Issue #15657 : METH_KEYWORDS cannot be used alone in Python 3
2017-01-11 11:41:03 +00:00
Serhiy Storchaka
fc600834d8
Issue #29087 : Removed the documentation of non-existing UCS4 support functions.
2016-12-28 09:20:00 +02:00
Serhiy Storchaka
44223e9550
Issue #29087 : Removed the documentation of non-existing UCS4 support functions.
2016-12-28 09:19:45 +02:00
Serhiy Storchaka
af9181a4f2
Issue #29087 : Removed the documentation of non-existing UCS4 support functions.
2016-12-28 09:19:15 +02:00
Serhiy Storchaka
fc3723bbf6
Merge from 3.6.
2016-12-25 16:24:15 +02:00
Serhiy Storchaka
a8803d21e7
Merge from 3.5.
2016-12-25 16:23:42 +02:00
Serhiy Storchaka
4398c12b47
Issue #29068 : Fixed a typo in PyErr_Fetch example.
...
Patch by Chi Hsuan Yen.
2016-12-25 16:22:23 +02:00
Xiang Zhang
b211068f5c
Issue #28822 : Adjust indices handling of PyUnicode_FindChar().
2016-12-20 22:52:33 +08:00
Xiang Zhang
bd0ff946bc
Issue #29009 : Merge 3.6.
2016-12-19 18:39:28 +08:00
Xiang Zhang
47888da90b
Issue #29009 : Merge 3.5.
2016-12-19 18:39:02 +08:00
Xiang Zhang
bfbc29cb8f
Issue #29009 : Remove outdated doc of PyUnicode_RichCompare.
2016-12-19 18:35:14 +08:00
Martin Panter
b5e3959e5f
Issue #28771 : Merge C API doc fix from 3.6
2016-12-10 05:57:49 +00:00
Martin Panter
21799618ec
Issue #28771 : Merge C API doc fix from 3.5
2016-12-10 05:57:38 +00:00
Martin Panter
7a44783b42
Issue #28771 : Update tp_get/setattr signature documentation
2016-12-10 05:56:13 +00:00
Victor Stinner
2d0eb65f45
Uniformize argument names of "call" functions
...
Issue #28838 : Rename parameters of the "calls" functions of the Python C API.
* Rename 'callable_object' and 'func' to 'callable': any Python callable object
is accepted, not only Python functions
* Rename 'method' and 'nameid' to 'name' (method name)
* Rename 'o' to 'obj'
* Move, fix and update documentation of PyObject_CallXXX() functions
in abstract.h
* Update also the documentaton of the C API (update parameter names)
2016-12-06 16:27:24 +01:00
Serhiy Storchaka
fb3134f4d4
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:20:26 +02:00
Serhiy Storchaka
9a953dbb34
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:17:45 +02:00
Serhiy Storchaka
419967b832
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:13:34 +02:00
Victor Stinner
048afd98b3
Remove CALL_PROFILE special build
...
Issue #28799 :
* Remove the PyEval_GetCallStats() function.
* Deprecate the untested and undocumented sys.callstats() function.
* Remove the CALL_PROFILE special build
Use the sys.setprofile() function, cProfile or profile module to profile
function calls.
2016-11-28 11:59:04 +01:00
Serhiy Storchaka
007d7ff73f
Issue #28761 : The fields name and doc of structures PyMemberDef, PyGetSetDef,
...
PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
type "const char *" rather of "char *".
2016-11-22 07:58:08 +02:00
Serhiy Storchaka
01452af645
Issue #28750 : Fixed docs of of unicode-escape an raw-unicode-escape C API.
...
Patch by Xiang Zhang.
2016-11-20 17:21:04 +02:00
Serhiy Storchaka
cf36835fc5
Issue #28750 : Fixed docs of of unicode-escape an raw-unicode-escape C API.
...
Patch by Xiang Zhang.
2016-11-20 17:20:19 +02:00
Serhiy Storchaka
92b9a1f911
Issue #19569 : Suggested more appropriate replacements for deprecated Unicode
...
C API functions.
2016-11-20 12:14:08 +02:00
Serhiy Storchaka
f675a37ed3
Issue #19569 : Suggested more appropriate replacements for deprecated Unicode
...
C API functions.
2016-11-20 12:13:44 +02:00
Serhiy Storchaka
3b73ea1278
Issue #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
...
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:19:20 +02:00
Serhiy Storchaka
f4934ea77d
Issue #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
...
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:17:58 +02:00
Yury Selivanov
3479b5f888
Issue #28635 : Fix a couple of missing/incorrect versionchanged tags
...
Patch by Elvis Pranskevichus.
2016-11-10 13:25:26 -05:00
Serhiy Storchaka
159f97b2d7
Issue #28496 : Mark up constants 0, 1 and -1 that denote return values or
...
special input values as literal text.
2016-10-27 21:42:15 +03:00
Serhiy Storchaka
1ecf7d204d
Issue #28496 : Mark up constants 0, 1 and -1 that denote return values or
...
special input values as literal text.
2016-10-27 21:41:19 +03:00
Serhiy Storchaka
7d6dda4b78
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:36:51 +03:00
Serhiy Storchaka
4adf01caae
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:30:05 +03:00
Serhiy Storchaka
989db5c880
Issue #19795 : Mark up None as literal text.
2016-10-19 16:37:13 +03:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Berker Peksag
b8bddec4e0
Issue #28432 : Merge from 3.5
2016-10-17 00:46:37 +03:00
Berker Peksag
90e028970a
Issue #28432 : Fix first parameter name in PyUnicode_EncodeLocale documentation
...
Patch by Xiang Zhang.
2016-10-17 00:45:56 +03:00
Serhiy Storchaka
21d9f10c94
Merge from 3.5.
2016-10-08 22:46:01 +03:00
Serhiy Storchaka
9c0e1f83af
Issue #28379 : Added sanity checks and tests for PyUnicode_CopyCharacters().
...
Patch by Xiang Zhang.
2016-10-08 22:45:38 +03:00
Serhiy Storchaka
e45b7c09ec
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:25:46 +03:00
Serhiy Storchaka
de0574bdab
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:24:35 +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