Victor Stinner
5ea4c06773
bpo-30054: Expose tracemalloc C API ( #1236 )
...
* Make PyTraceMalloc_Track() and PyTraceMalloc_Untrack() functions
public (remove the "_" prefix)
* Remove the _PyTraceMalloc_domain_t type: use directly unsigned
int.
* Document methods
Note: methods are already tested in test_tracemalloc.
2017-06-20 17:46:36 +02:00
Emily Morehouse
2d0afef82a
bpo-30656: Fix Python C API Module Objects documentation (GH-2170)
...
`PyModule_New()` now refers to `PyModule_NewObject()`
2017-06-13 10:58:18 -07:00
Gregory P. Smith
163468a766
bpo-16500: Don't use string constants for os.register_at_fork() behavior ( #1834 )
...
Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.
2017-05-29 10:03:41 -07:00
Antoine Pitrou
f7ecfac0c1
Doc nits for bpo-16500 ( #1841 )
...
* Doc nits for bpo-16500
* Fix more references
2017-05-28 11:35:14 +02:00
Antoine Pitrou
346cbd351e
bpo-16500: Allow registering at-fork handlers ( #1715 )
...
* bpo-16500: Allow registering at-fork handlers
* Address Serhiy's comments
* Add doc for new C API
* Add doc for new Python-facing function
* Add NEWS entry + doc nit
2017-05-27 17:50:54 +02:00
Eric Snow
e377416c10
bpo-29102: Add a unique ID to PyInterpreterState. ( #1639 )
2017-05-22 19:46:40 -07:00
delirious-lettuce
3378b2062c
Fix typos in multiple .rst files ( #1668 )
2017-05-19 23:37:57 +03:00
Xiang Zhang
2ddf5a19c3
bpo-30281: Fix the default value for stop in PySlice_Unpack() ( #1480 )
2017-05-10 18:19:41 +08:00
Louie Lu
88c38b32b7
bpo-28415: Note 0 conversion different between Python and C ( #885 )
2017-04-27 11:36:35 +08:00
csabella
26896f2832
bpo-29751: Improve PyLong_FromString documentation (GH-915)
2017-04-23 20:54:08 -07:00
cocoatomo
eaeda64c2f
bpo-19225: Remove duplicated description for standard warning categories (GH-1068)
2017-04-15 05:06:02 +03:00
Michael Seifert
0dc5c3169d
bpo-30059: Include Py_Ellipsis in C API documentation ( #1018 )
2017-04-14 22:18:35 +03:00
cocoatomo
e8c763128f
bpo-19225: Add a table of warning names and missed exception names in C API doc ( #881 )
...
Move the `.. index` directive to more appropriate place.
2017-04-02 13:45:40 +03:00
Serhiy Storchaka
84b8e92e46
bpo-29918: Add missed "const" modifiers in C API documentation. ( #846 )
2017-03-30 10:01:03 +03:00
csabella
c3c7ef0885
bpo-29917: DOC: Remove link from PyMethodDef ( #890 )
2017-03-29 17:27:50 -07:00
Serhiy Storchaka
aefa7ebf0f
bpo-6532: Make the thread id an unsigned integer. ( #781 )
...
* bpo-6532: Make the thread id an unsigned integer.
From C API side the type of results of PyThread_start_new_thread() and
PyThread_get_thread_ident(), the id parameter of
PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
changed from "long" to "unsigned long".
* Restore a check in thread_get_ident().
2017-03-23 14:48:39 +01:00
Serhiy Storchaka
c85a26628c
bpo-28749: Fixed the documentation of the mapping codec APIs. ( #487 )
...
Added the documentation for PyUnicode_Translate().
2017-03-19 08:15:17 +02:00
Serhiy Storchaka
c611a5b1d4
bpo-29746: Update marshal docs to Python 3. ( #547 )
2017-03-12 08:53:22 +02:00
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