Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-36465: Fix test_regrtest on Windows (GH-12945) | Victor Stinner | 2019-04-24 | 2 | -5/+10 | |
| | | | | | | Fix Py_DEBUG constant: check for sys.gettotalrefcount attribute rather than sys.getobjects. Update also SpecialBuilds.txt documentation. | |||||
* | bpo-36465: Make release and debug ABI compatible (GH-12615) | Victor Stinner | 2019-04-24 | 7 | -14/+57 | |
| | | | | | | | | | | | | | | Release build and debug build are now ABI compatible: the Py_DEBUG define no longer implies Py_TRACE_REFS define which introduces the only ABI incompatibility. A new "./configure --with-trace-refs" build option is now required to get Py_TRACE_REFS define which adds sys.getobjects() function and PYTHONDUMPREFS environment variable. Changes: * Add ./configure --with-trace-refs * Py_DEBUG no longer implies Py_TRACE_REFS | |||||
* | Add @pablogsal to code owners file for Parser/pgen (GH-12944) | Pablo Galindo | 2019-04-24 | 1 | -0/+3 | |
| | | | | | Add myself to the codeowners file as I would like to be automatically added as a reviewer for PRs that touch that component. | |||||
* | bpo-36668: FIX reuse semaphore tracker for child processes (#5172) | Thomas Moreau | 2019-04-24 | 3 | -10/+55 | |
| | | | Fix the multiprocessing.semaphore_tracker so it is reused by child processes. | |||||
* | Issue 35224: Add PEP 572 (assignment expressions) to What's New (#12941) | Guido van Rossum | 2019-04-24 | 1 | -0/+16 | |
| | | | This is meant as a stub, during the PyCon sprints we can iterate. | |||||
* | bpo-36710: Add runtime variable to Py_InitializeEx() (GH-12939) | Victor Stinner | 2019-04-24 | 6 | -71/+104 | |
| | | | | | | | | Py_InitializeEx() now uses a runtime variable passed to subfunctions, rather than working directly on the global variable _PyRuntime. Add 'runtime' parameter to _PyCoreConfig_Write(), _PySys_Create(), _PySys_InitMain(), _PyGILState_Init(), emit_stderr_warning_for_legacy_locale() and other subfunctions. | |||||
* | bpo-36710: Add runtime variable to Py_FinalizeEx() (GH-12937) | Victor Stinner | 2019-04-24 | 4 | -24/+29 | |
| | | | | | | * Add a 'runtime' variable to Py_FinalizeEx() rather than working directly on the global variable _PyRuntime * Add a 'runtime' parameter to _PyGC_Fini(), _PyGILState_Fini() and call_ll_exitfuncs() | |||||
* | bpo-30840: Document relative imports (#12831) | Joannah Nanjekye | 2019-04-24 | 3 | -1/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * document relative imports * 📜🤖 Added by blurb_it. * fix indentation error * remove indentation * Document relative imports * Document relative imports * remove from ...package * Document relative imports * remove trailing space * Document relative imports * Document relative imports | |||||
* | bpo-36710: PyOS_AfterFork_Child() pass runtime parameter (GH-12936) | Victor Stinner | 2019-04-24 | 4 | -42/+43 | |
| | | | | | | | | | The PyOS_AfterFork_Child() function now pass a 'runtime' parameter to subfunctions. * Fix _PyRuntimeState_ReInitThreads(): use the correct memory allocator * Add runtime parameter to _PyRuntimeState_ReInitThreads(), _PyGILState_Reinit() and _PyInterpreterState_DeleteExceptMain() * Move _PyGILState_Reinit() to the internal C API. | |||||
* | bpo-36710: Add runtime parameter to _PyThreadState_Init() (GH-12935) | Victor Stinner | 2019-04-24 | 4 | -67/+80 | |
| | | | | | | * Add 'runtime' parameter to _PyThreadState_Init() * Add 'gilstate' parameter to _PyGILState_NoteThreadState() * Move _PyThreadState_Init() and _PyThreadState_DeleteExcept() to the internal C API. | |||||
* | bpo-36707: Remove the "m" flag (pymalloc) from SOABI (GH-12931) | Victor Stinner | 2019-04-24 | 3 | -6/+9 | |
| | | | | | | "./configure --with-pymalloc" no longer adds the "m" flag to SOABI (sys.implementation.cache_tag). Enabling or disabling pymalloc has no impact on the ABI. | |||||
* | fix typo in gzip.py (GH-12928) | Maximilian Nöthe | 2019-04-24 | 1 | -1/+1 | |
| | ||||||
* | bpo-36454: Fix test_time.test_monotonic() (GH-12929) | Victor Stinner | 2019-04-23 | 2 | -2/+6 | |
| | | | | | Change test_time.test_monotonic() to test only the lower bound of elapsed time after a sleep command rather than the upper bound. This prevents unnecessary test failures on slow buildbots. Patch by Victor Stinner. | |||||
* | replace 'sequencial argument' by 'positional' in doc (GH-12925) | Mathieu Dupuy | 2019-04-23 | 1 | -1/+1 | |
| | ||||||
* | bpo-18372: Add missing PyObject_GC_Track() calls in the pickle module (GH-8505) | Zackery Spytz | 2019-04-23 | 2 | -0/+5 | |
| | ||||||
* | fix warnings by adding more const (GH-12924) | Inada Naoki | 2019-04-23 | 6 | -23/+18 | |
| | ||||||
* | bpo-36635, bpo-36696: Fix setup.py on AIX (GH-12922) | Victor Stinner | 2019-04-23 | 1 | -3/+3 | |
| | | | xlc compiler doesn't support "-D define" flag only "-Ddefine". | |||||
* | use `const` in graminit.c (GH-12713) | tyomitch | 2019-04-23 | 3 | -418/+418 | |
| | ||||||
* | bpo-36018: Make "seed" into a keyword only argument (GH-12921) | Raymond Hettinger | 2019-04-23 | 2 | -2/+2 | |
| | ||||||
* | bpo-35904: Add missing fmean() entry to the summary table (GH-12919) | Raymond Hettinger | 2019-04-23 | 1 | -0/+1 | |
| | ||||||
* | Document that TestCase.assertCountEqual() can take iterables (GH-686) | jkleint | 2019-04-23 | 1 | -3/+2 | |
| | ||||||
* | Add module specification: itemgetter -> operator.itemgetter (GH-12823) | Jakub Molinski | 2019-04-23 | 1 | -1/+1 | |
| | ||||||
* | bpo-36546: Add statistics.quantiles() (#12710) | Raymond Hettinger | 2019-04-23 | 5 | -7/+251 | |
| | ||||||
* | bpo-36679: Rename duplicate test_class_getitem function (GH-12892) | Windson yang | 2019-04-22 | 1 | -1/+1 | |
| | ||||||
* | bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function ↵ | Windson yang | 2019-04-22 | 1 | -1/+1 | |
| | | | | (GH-12893) | |||||
* | bpo-36681: Remove duplicate test_regression_29220 function (GH-12894) | Windson yang | 2019-04-22 | 1 | -6/+0 | |
| | ||||||
* | bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) | Windson yang | 2019-04-22 | 1 | -2/+2 | |
| | ||||||
* | bpo-36683: Rename duplicate test_io_encoding to test_pyio_encoding (GH-12896) | Windson yang | 2019-04-22 | 1 | -1/+1 | |
| | ||||||
* | bpo-36678: Rename duplicate tests in test_dataclasses (GH-12899) | Windson yang | 2019-04-22 | 1 | -15/+3 | |
| | ||||||
* | Fixes platform.win32_ver on non-Windows platforms (GH-12912) | Steve Dower | 2019-04-22 | 1 | -12/+12 | |
| | ||||||
* | bpo-33608: Normalize atomic macros so that they all expect an atomic struct ↵ | Steve Dower | 2019-04-22 | 1 | -24/+36 | |
| | | | | (GH-12877) | |||||
* | bpo-36672: Fix a compiler warning in winreg.SetValue() (GH-12882) | Zackery Spytz | 2019-04-22 | 1 | -1/+1 | |
| | ||||||
* | bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687) | Zackery Spytz | 2019-04-22 | 1 | -1/+1 | |
| | ||||||
* | bpo-29734: Cleanup test_getfinalpathname_handles test (GH-12908) | Berker Peksag | 2019-04-22 | 1 | -21/+14 | |
| | ||||||
* | bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903) | 周家未 | 2019-04-22 | 1 | -1/+1 | |
| | ||||||
* | bpo-36523: Add docstring to io.IOBase.writelines (GH-12683) | Marcin Niemira | 2019-04-22 | 4 | -3/+18 | |
| | ||||||
* | Doc: add the missing ".tp_flags" in type definition (GH-12902) | Wu Wei | 2019-04-22 | 1 | -0/+1 | |
| | ||||||
* | bpo-23078: Add support for {class,static}method to mock.create_autospec() ↵ | Xtreak | 2019-04-22 | 5 | -2/+81 | |
| | | | | | (GH-11613) Co-authored-by: Felipe <felipe.nospam.ochoa@gmail.com> | |||||
* | bpo-24011: Use PyModule_Add{Object,IntMacro} in PyInit__signal() (GH-12765) | Joannah Nanjekye | 2019-04-22 | 1 | -7/+5 | |
| | ||||||
* | bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) | mollison | 2019-04-21 | 1 | -0/+1 | |
| | ||||||
* | Fix typo (GH-12878) | Fredrik Averpil | 2019-04-20 | 1 | -1/+1 | |
| | | | "sychronization" -> "synchronization" | |||||
* | bpo-36650: Fix handling of empty keyword args in C version of lru_cache. ↵ | Raymond Hettinger | 2019-04-20 | 3 | -4/+21 | |
| | | | | (GH-12881) | |||||
* | ctypes: remove use of legacy unicode API (GH-12340) | Inada Naoki | 2019-04-19 | 2 | -15/+19 | |
| | | | PyUnicode_AsUnicodeAndSize() -> PyUnicode_AsWideChar() | |||||
* | bpo-30485: Change the prefix for defining the default namespace in ↵ | Stefan Behnel | 2019-04-18 | 4 | -11/+7 | |
| | | | | ElementPath from None to '' since there is existing code that uses that and it's more convenient to have an all-string-keys dict (e.g. when sorting items etc.). (#12860) | |||||
* | bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866) | Enrico Alarico Carbognani | 2019-04-18 | 1 | -3/+3 | |
| | | | | | | | | | | | | # [bpo-36651](https://bugs.python.org/issue36651): Fixed Asyncio Event Loop documentation inconsistency In the documentation for the call_later and the call_at methods there is a note which says that the delay cannot be longer than a day, but both methods have a note saying that this limitation was removed in Python 3.8 Here I fixed this issue by removing the pre-exising note and added a versionchanged. To test my changes I have rebuilt the documentation with ```make html```. I did not have any errors and the effected page displayed correctly on a browser. https://bugs.python.org/issue36651 | |||||
* | bpo-36635: Add _testinternalcapi module (GH-12841) | Victor Stinner | 2019-04-18 | 13 | -49/+172 | |
| | | | | | | Add a new _testinternalcapi module to test the internal C API. Move _Py_GetConfigsAsDict() function to the internal C API: _testembed now uses _testinternalcapi to access the function. | |||||
* | bpo-36071 Add support for Windows ARM32 in ctypes/libffi (GH-12059) | Paul Monson | 2019-04-18 | 7 | -8/+31 | |
| | ||||||
* | bpo-36638: Fix WindowsLoadTracker exception on some Windows versions (GH-12849) | Paul Monson | 2019-04-18 | 1 | -2/+7 | |
| | ||||||
* | Fix wrong indentation of a paragraph in documentation (GH-12868) | cocoatomo | 2019-04-18 | 1 | -2/+2 | |
| | | | This paragraph doesn't seem to be a part of code, but merged into previous code block. | |||||
* | bpo-32913: Added re.Match.groupdict example to regex HOWTO (GH-5821) | josh | 2019-04-17 | 2 | -0/+8 | |
| |