Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-31404: Revert "remove modules from Py_InterpreterState (#1638)" (#3565) | Eric Snow | 2017-09-13 | 1 | -7/+0 | |
| | | | PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted. | |||||
* | bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638) | Eric Snow | 2017-09-04 | 1 | -0/+7 | |
| | | | sys.modules is the one true source. | |||||
* | bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (#2285) | Serhiy Storchaka | 2017-06-27 | 1 | -5/+11 | |
| | | | | | Raise a ValueError if the second argument is NULL and the wchar_t\* string contains null characters. | |||||
* | bpo-30054: Expose tracemalloc C API (#1236) | Victor Stinner | 2017-06-20 | 1 | -0/+22 | |
| | | | | | | | | | * 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. | |||||
* | bpo-30656: Fix Python C API Module Objects documentation (GH-2170) | Emily Morehouse | 2017-06-13 | 1 | -1/+1 | |
| | | | `PyModule_New()` now refers to `PyModule_NewObject()` | |||||
* | bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) | Gregory P. Smith | 2017-05-29 | 1 | -3/+4 | |
| | | | | Instead use keyword only arguments to os.register_at_fork for each of the scenarios. Updates the documentation for clarity. | |||||
* | Doc nits for bpo-16500 (#1841) | Antoine Pitrou | 2017-05-28 | 1 | -4/+4 | |
| | | | | | | * Doc nits for bpo-16500 * Fix more references | |||||
* | bpo-16500: Allow registering at-fork handlers (#1715) | Antoine Pitrou | 2017-05-27 | 1 | -0/+39 | |
| | | | | | | | | | | | | * 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 | |||||
* | bpo-29102: Add a unique ID to PyInterpreterState. (#1639) | Eric Snow | 2017-05-22 | 1 | -0/+8 | |
| | ||||||
* | Fix typos in multiple `.rst` files (#1668) | delirious-lettuce | 2017-05-19 | 1 | -4/+4 | |
| | ||||||
* | bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480) | Xiang Zhang | 2017-05-10 | 1 | -1/+1 | |
| | ||||||
* | bpo-28415: Note 0 conversion different between Python and C (#885) | Louie Lu | 2017-04-27 | 2 | -42/+48 | |
| | ||||||
* | bpo-29751: Improve PyLong_FromString documentation (GH-915) | csabella | 2017-04-23 | 1 | -7/+6 | |
| | ||||||
* | bpo-19225: Remove duplicated description for standard warning categories ↵ | cocoatomo | 2017-04-15 | 1 | -12/+9 | |
| | | | | (GH-1068) | |||||
* | bpo-30059: Include Py_Ellipsis in C API documentation (#1018) | Michael Seifert | 2017-04-14 | 1 | -0/+11 | |
| | ||||||
* | bpo-19225: Add a table of warning names and missed exception names in C API ↵ | cocoatomo | 2017-04-02 | 1 | -56/+149 | |
| | | | | | doc (#881) Move the `.. index` directive to more appropriate place. | |||||
* | bpo-29918: Add missed "const" modifiers in C API documentation. (#846) | Serhiy Storchaka | 2017-03-30 | 9 | -82/+77 | |
| | ||||||
* | bpo-29917: DOC: Remove link from PyMethodDef (#890) | csabella | 2017-03-29 | 1 | -2/+2 | |
| | ||||||
* | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 1 | -1/+4 | |
| | | | | | | | | | | | * 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(). | |||||
* | bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) | Serhiy Storchaka | 2017-03-19 | 1 | -47/+48 | |
| | | | Added the documentation for PyUnicode_Translate(). | |||||
* | bpo-29746: Update marshal docs to Python 3. (#547) | Serhiy Storchaka | 2017-03-12 | 1 | -4/+4 | |
| | ||||||
* | fix minor bug in pymalloc. (#335) | INADA Naoki | 2017-02-27 | 1 | -1/+1 | |
| | | | reported by Alexis Lopez-Garcia. | |||||
* | Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with | Serhiy Storchaka | 2017-01-25 | 1 | -0/+37 | |
|\ | | | | | | | | | | | 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(). | |||||
* | | Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() | Serhiy Storchaka | 2017-01-22 | 1 | -2/+8 | |
| | | | | | | | | is now of type "const char *" rather of "char *". | |||||
* | | Issue #29292: Merge 3.6. | Xiang Zhang | 2017-01-20 | 1 | -2/+3 | |
|\ \ | |/ | ||||||
| * | Issue #29292: Merge 3.5. | Xiang Zhang | 2017-01-20 | 1 | -2/+3 | |
| |\ | ||||||
| | * | Issue #29292: Update outdated doc of PyEval_EvalCodeEx. | Xiang Zhang | 2017-01-20 | 1 | -2/+3 | |
| | | | | | | | | | | | | Patch by Ammar Askar. | |||||
* | | | Issue #15657: Merge METH_KEYWORDS doc from 3.6 | Martin Panter | 2017-01-11 | 1 | -4/+3 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #15657: Merge other doc fix from 3.5 | Martin Panter | 2017-01-11 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | Issue #15657: METH_KEYWORDS cannot be used alone in Python 3 | Martin Panter | 2017-01-11 | 1 | -1/+1 | |
| | | | ||||||
| * | | Issue #15657: Delete incorrect statement from PyMethodDef documentation | Martin Panter | 2017-01-11 | 1 | -3/+2 | |
| | | | | | | | | | | | | Patch by Berker Peksag. | |||||
* | | | Issue #29087: Removed the documentation of non-existing UCS4 support functions. | Serhiy Storchaka | 2016-12-28 | 1 | -20/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #29087: Removed the documentation of non-existing UCS4 support functions. | Serhiy Storchaka | 2016-12-28 | 1 | -20/+0 | |
| |\ \ | | |/ | ||||||
| | * | Issue #29087: Removed the documentation of non-existing UCS4 support functions. | Serhiy Storchaka | 2016-12-28 | 1 | -20/+0 | |
| | | | ||||||
* | | | Merge from 3.6. | Serhiy Storchaka | 2016-12-25 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Merge from 3.5. | Serhiy Storchaka | 2016-12-25 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | Issue #29068: Fixed a typo in PyErr_Fetch example. | Serhiy Storchaka | 2016-12-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | Patch by Chi Hsuan Yen. | |||||
* | | | Issue #28822: Adjust indices handling of PyUnicode_FindChar(). | Xiang Zhang | 2016-12-20 | 1 | -0/+3 | |
| | | | ||||||
* | | | Issue #29009: Merge 3.6. | Xiang Zhang | 2016-12-19 | 1 | -4/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #29009: Merge 3.5. | Xiang Zhang | 2016-12-19 | 1 | -4/+0 | |
| |\ \ | | |/ | ||||||
| | * | Issue #29009: Remove outdated doc of PyUnicode_RichCompare. | Xiang Zhang | 2016-12-19 | 1 | -4/+0 | |
| | | | ||||||
* | | | Issue #28771: Merge C API doc fix from 3.6 | Martin Panter | 2016-12-10 | 1 | -5/+7 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #28771: Merge C API doc fix from 3.5 | Martin Panter | 2016-12-10 | 1 | -5/+7 | |
| |\ \ | | |/ | ||||||
| | * | Issue #28771: Update tp_get/setattr signature documentation | Martin Panter | 2016-12-10 | 1 | -5/+7 | |
| | | | ||||||
* | | | Uniformize argument names of "call" functions | Victor Stinner | 2016-12-06 | 1 | -27/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | |||||
* | | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-06 | 1 | -2/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-06 | 1 | -2/+1 | |
| |\ \ | | |/ | ||||||
| | * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-06 | 1 | -2/+1 | |
| | | | ||||||
* | | | Remove CALL_PROFILE special build | Victor Stinner | 2016-11-28 | 1 | -40/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, | Serhiy Storchaka | 2016-11-22 | 1 | -5/+5 | |
|/ / | | | | | | | | | PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of type "const char *" rather of "char *". |