Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38761: Register WeakSet as a MutableSet (GH-17104) | Raymond Hettinger | 2019-11-11 | 3 | -0/+9 |
| | |||||
* | Minor readability improvement for argument handling in itertools.repeat() ↵ | Raymond Hettinger | 2019-11-10 | 1 | -5/+5 |
| | | | | | | (GH-17101) | ||||
* | bpo-38635: Simplify decoding the ZIP64 extra field and make it tolerant to ↵ | Serhiy Storchaka | 2019-11-09 | 1 | -37/+16 |
| | | | | extra data. (GH-16988) | ||||
* | Clarify amount of dots between package and subpackage (GH-17092) | Shu | 2019-11-08 | 1 | -1/+1 |
| | |||||
* | bpo-38644: Add _PyObject_VectorcallTstate() (GH-17052) | Victor Stinner | 2019-11-08 | 6 | -50/+94 |
| | | | | | * Add _PyObject_VectorcallTstate() function: similar to _PyObject_Vectorcall(), but with tstate parameter * Add tstate parameter to _PyObject_MakeTpCall() | ||||
* | bpo-22367: Add tests for fcntl.lockf(). (GH-17010) | Dong-hee Na | 2019-11-07 | 1 | -1/+28 |
| | |||||
* | bpo-38613: Optimize set operations of dict keys. (GH-16961) | Inada Naoki | 2019-11-07 | 2 | -21/+36 |
| | |||||
* | bpo-38733: PyErr_Occurred() caller must hold the GIL (GH-17080) | Victor Stinner | 2019-11-07 | 5 | -7/+12 |
| | | | | | | | | | | | bpo-3605, bpo-38733: Optimize _PyErr_Occurred(): remove "tstate == NULL" test. Py_FatalError() no longer calls PyErr_Occurred() if called without holding the GIL. So PyErr_Occurred() no longer has to support tstate==NULL case. _Py_CheckFunctionResult(): use directly _PyErr_Occurred() to avoid explicit "!= NULL" test. | ||||
* | update a deprecated assert in logging tests (GH-17079) | l0rb | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | bpo-36876: Moved Parser/listnode.c statics to interpreter state. (GH-16328) | Vinay Sajip | 2019-11-07 | 2 | -10/+23 |
| | |||||
* | bpo-38382: Document the early-out behavior for a zero (GH-17037) | Raymond Hettinger | 2019-11-07 | 1 | -1/+6 |
| | |||||
* | bpo-38716: stop rotating handlers from setting inherited namer and rotator ↵ | l0rb | 2019-11-06 | 3 | -2/+23 |
| | | | | to None (GH-17072) | ||||
* | closes bpo-38713: Expose P_PIDFD in os if it's defined. (GH-17071) | Benjamin Peterson | 2019-11-06 | 7 | -6/+40 |
| | | | https://bugs.python.org/issue38713 | ||||
* | bpo-38692: Add os.pidfd_open. (GH-17063) | Benjamin Peterson | 2019-11-06 | 6 | -1/+94 |
| | |||||
* | bpo-38696: Fix usage example of HTTPStatus (GH-17066) | Ammar Askar | 2019-11-05 | 1 | -1/+1 |
| | |||||
* | bpo-37645: add new function _PyObject_FunctionStr() (GH-14890) | Jeroen Demeyer | 2019-11-05 | 11 | -94/+171 |
| | | | | | | | | | | | | Additional note: the `method_check_args` function in `Objects/descrobject.c` is written in such a way that it applies to all kinds of descriptors. In particular, a future re-implementation of `wrapper_descriptor` could use that code. CC @vstinner @encukou https://bugs.python.org/issue37645 Automerge-Triggered-By: @encukou | ||||
* | bpo-35381 Remove all static state from posixmodule (GH-15892) | Eddie Elizondo | 2019-11-05 | 4 | -226/+305 |
| | | | | | | | | | | | | | | After #9665, this moves the remaining types in posixmodule to be heap-allocated to make it compatible with PEP384 as well as modifying all the type accessors to fully make the type opaque. The original PR that got messed up a rebase: https://github.com/python/cpython/pull/10854. All the issues in that commit have now been addressed since https://github.com/python/cpython/pull/11661 got committed. This change also removes any state from the data segment and onto the module state itself. https://bugs.python.org/issue35381 Automerge-Triggered-By: @encukou | ||||
* | Update interpreter.rst (GH-17059) | Jules Lasne (jlasne) | 2019-11-05 | 1 | -1/+1 |
| | | | Fixed what seemed to be a weird phrasing. | ||||
* | _json.c: use Py_UNUSED() macro (GH-17053) | Victor Stinner | 2019-11-05 | 1 | -10/+4 |
| | | | Remove UNUSED macro: use Py_UNUSED() macro instead. | ||||
* | closes bpo-37633: Reëxport some function compatibility wrappers for macros ↵ | Benjamin Peterson | 2019-11-05 | 2 | -16/+17 |
| | | | | in ``pythonrun.h``. (GH-17056) | ||||
* | Fix a typo in wave module docstring (GH-17009) | Michael Haas | 2019-11-05 | 1 | -1/+1 |
| | | | s/pathing/patching/ | ||||
* | bpo-38644: Pass tstate to _Py_CheckFunctionResult() (GH-17050) | Victor Stinner | 2019-11-05 | 7 | -52/+94 |
| | | | | | * Add tstate parameter to _Py_CheckFunctionResult() * Add _PyErr_FormatFromCauseTstate() * Replace PyErr_XXX(...) with _PyErr_XXX(state, ...) | ||||
* | bpo-38644: Pass tstate to Py_EnterRecursiveCall() (GH-16997) | Victor Stinner | 2019-11-04 | 7 | -135/+200 |
| | | | | | | | | | | | | | * Add _Py_EnterRecursiveCall() and _Py_LeaveRecursiveCall() which require a tstate argument. * Pass tstate to _Py_MakeRecCheck() and _Py_CheckRecursiveCall(). * Convert Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() macros to static inline functions. _PyThreadState_GET() is the most efficient way to get the tstate, and so using it with _Py_EnterRecursiveCall() and _Py_LeaveRecursiveCall() should be a little bit more efficient than using Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() which use the "slower" PyThreadState_GET(). | ||||
* | bpo-38644: Add Py_EnterRecursiveCall() to the limited API (GH-17046) | Victor Stinner | 2019-11-04 | 9 | -38/+101 |
| | | | | | | | | | | Provide Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as regular functions for the limited API. Previously, there were defined as macros, but these macros didn't work with the limited API which cannot access PyThreadState.recursion_depth field. Remove _Py_CheckRecursionLimit from the stable ABI. Add Include/cpython/ceval.h header file. | ||||
* | bpo-38684: haslib: fix build when Blake2 not enabled in OpenSSL (#17043) | Alexandru Ardelean | 2019-11-04 | 2 | -1/+2 |
| | |||||
* | bpo-37759: Show output from var_access_benchmark (GH-17040) | Raymond Hettinger | 2019-11-04 | 1 | -3/+52 |
| | |||||
* | bpo-38388: Document pickle protocol version 5 (GH-16639) | Dima Tisnek | 2019-11-03 | 1 | -1/+5 |
| | |||||
* | Convert argument to snake_case (GH-16990) | Борис Верховский | 2019-11-02 | 1 | -2/+2 |
| | |||||
* | Years overdue, explain why unreachable objects are moved. (GH-17030) | Tim Peters | 2019-11-02 | 1 | -1/+38 |
| | |||||
* | bpo-38422: Clarify docstrings of pathlib suffix(es) (GH-16679) | Ram Rachum | 2019-11-02 | 2 | -2/+11 |
| | | | | | | | | | | Whenever I use `path.suffix` I have to check again whether it includes the dot or not. I decided to add it to the docstring so I won't have to keep checking. https://bugs.python.org/issue38422 Automerge-Triggered-By: @pitrou | ||||
* | Slightly improve plistlib test coverage. (GH-17025) | Jon Janzen | 2019-11-01 | 2 | -6/+22 |
| | | | | | | | | | | | | * Add missing test class (mistake in GH-4455) * Increase coverage with 4 more test cases * Rename neg_uid to huge_uid in test_modified_uid_huge * Replace test_main() with unittest.main() * Update plistlib docs | ||||
* | bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) | Petr Viktorin | 2019-11-01 | 1 | -0/+11 |
| | | | | | This was never intented to be called manually from PyInit_*. Also, clarify PyState_RemoveModule return value. | ||||
* | Update the URL for the requests package (GH-17006) | Simon Legner | 2019-10-31 | 2 | -2/+2 |
| | | | Change the url from docs.python-requests.org to requests.readthedocs.io | ||||
* | Add docstring for shlex.split (GH-16740) | MaT1g3R | 2019-10-31 | 1 | -0/+1 |
| | |||||
* | bpo-38312: Add curses.{get,set}_escdelay and curses.{get,set}_tabsize. ↵ | Anthony Sottile | 2019-10-31 | 6 | -1/+247 |
| | | | | (GH-16938) | ||||
* | bpo-38586: setting logging.Handler .name property in fileConfig (GH-16918) | Lucas Cimon | 2019-10-31 | 3 | -0/+26 |
| | |||||
* | bpo-16575: Add checks for unions passed by value to functions. (GH-16799) | Vinay Sajip | 2019-10-31 | 5 | -0/+178 |
| | |||||
* | closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002) | Max Bernstein | 2019-10-31 | 2 | -2/+0 |
| | | | This looks like a typo due to copy-paste. | ||||
* | bpo-38600: NULL -> ``NULL``. (GH-17001) | Serhiy Storchaka | 2019-10-30 | 27 | -68/+68 |
| | | | Also fix some other formatting. | ||||
* | bpo-38631: Avoid Py_FatalError() in readline (GH-16998) | Victor Stinner | 2019-10-30 | 1 | -6/+11 |
| | | | | readline now calls PyErr_NoMemory() rather than Py_FatalError() on memory allocation failure, when importing the module. | ||||
* | bpo-38614: Increase asyncio test_communicate() timeout (GH-16995) | Victor Stinner | 2019-10-30 | 2 | -1/+3 |
| | | | | Fix test_communicate() of test_asyncio.test_subprocess: use support.LONG_TIMEOUT (5 minutes), instead of 1 minute. | ||||
* | bpo-38640: Allow break and continue in always false while loops (GH-16992) | Pablo Galindo | 2019-10-30 | 3 | -0/+29 |
| | |||||
* | bpo-38614: Add timeout constants to test.support (GH-16964) | Victor Stinner | 2019-10-30 | 6 | -26/+145 |
| | | | | | | | | Add timeout constants to test.support: * LOOPBACK_TIMEOUT * INTERNET_TIMEOUT * SHORT_TIMEOUT * LONG_TIMEOUT | ||||
* | bpo-28029: Make "".replace("", s, n) returning s for any n != 0. (GH-16981) | Serhiy Storchaka | 2019-10-30 | 5 | -9/+18 |
| | |||||
* | bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950) | Serhiy Storchaka | 2019-10-30 | 55 | -728/+728 |
| | | | | Replace all *NULL* with ``NULL``. | ||||
* | bpo-36993: Improve error reporting for zipfiles with bad zip64 extra data. ↵ | Daniel Hillier | 2019-10-29 | 3 | -0/+236 |
| | | | | (GH-14656) | ||||
* | bpo-38336: Remove the __set__ method restriction on data descriptors for ↵ | Géry Ogam | 2019-10-29 | 1 | -1/+1 |
| | | | | attribute lookup precedence (GH-16520) | ||||
* | Permutations Python code equivalent in comment was invalid for Python 3 ↵ | Sergey | 2019-10-29 | 1 | -3/+6 |
| | | | | (GH-16927) | ||||
* | bpo-38626: Add comment explaining why __lt__ is used. (GH-16978) | Raymond Hettinger | 2019-10-29 | 1 | -0/+2 |
| | | | https://bugs.python.org/issue38626 | ||||
* | Fix asyncio.wait() 3.8 whatsnew entry (GH-16975) | Kyle Stanley | 2019-10-29 | 1 | -1/+2 |
| |