Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | bpo-36649: Remove trailing spaces for registry keys when installed via the ↵ | Steve Dower | 2019-04-17 | 2 | -7/+7 | |
| | | | | Store (GH-12865) | |||||
* | bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853) | Victor Stinner | 2019-04-17 | 26 | -56/+97 | |
| | | | | | | | | | | | | | | | | | | | | Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros of pyport.h when Py_BUILD_CORE_MODULE is defined. The Py_BUILD_CORE_MODULE define must be now be used to build a C extension as a dynamic library accessing Python internals: export the PyInit_xxx() function in DLL exports on Windows. Changes: * Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply Py_BUILD_CORE directy in pyport.h. * ceval.c compilation now fails with an error if Py_BUILD_CORE is not defined, just to ensure that Python is build with the correct defines. * setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define. * setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather than Py_BUILD_CORE_BUILTIN define * PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define. | |||||
* | bpo-32849: Fix is_valid_fd() on FreeBSD (GH-12852) | Victor Stinner | 2019-04-17 | 2 | -15/+25 | |
| | | | | | | | Fix Python Initialization code on FreeBSD to detect properly when stdin file descriptor (fd 0) is invalid. On FreeBSD, fstat() must be used to check if stdin (fd 0) is valid. dup(0) doesn't fail if stdin is invalid in some cases. | |||||
* | bpo-35755: Don't say "to mimick Unix which command behavior" (GH-12861) | Victor Stinner | 2019-04-17 | 3 | -4/+3 | |
| | ||||||
* | bpo-31904: Port test_resource to VxWorks (GH-12719) | Lihua Zhao | 2019-04-17 | 3 | -0/+7 | |
| | | | Skip tests cases setting RLIMIT_FSIZE and RLIMIT_CPU on VxWorks. | |||||
* | bpo-31904: Port test_cmd_line to VxWorks (#12648) | Lihua Zhao | 2019-04-17 | 1 | -0/+2 | |
| | | | subprocess.Popen doesn't support preexec on VxWorks. | |||||
* | bpo-35755: Remove current directory from posixpath.defpath (GH-11586) | Victor Stinner | 2019-04-17 | 2 | -1/+6 | |
| | | | Document the change in a NEWS entry of the Security category. | |||||
* | bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12858) | Victor Stinner | 2019-04-17 | 5 | -18/+155 | |
| | | | | | | | | | | | | | | | | shutil.which() and distutils.spawn.find_executable() now use os.confstr("CS_PATH") if available instead of os.defpath, if the PATH environment variable is not set. Don't use os.confstr("CS_PATH") nor os.defpath if the PATH environment variable is set to an empty string to mimick Unix 'which' command behavior. Changes: * find_executable() now starts by checking for the executable in the current working directly case. Add an explicit "if not path: return None". * Add tests for PATH='' (empty string), PATH=':' and for PATHEXT. | |||||
* | Clarify file-closing example in tutorial (GH-11652) | Colin Watson | 2019-04-17 | 1 | -0/+2 | |
| |