86f0c82 | Emmanuel Arias | 29 April 2019, 02:24:24 UTC | bpo-36729: Delete unused text variable on tests. (GH-12959) | 29 April 2019, 02:24:24 UTC |
e0dcb85 | Zackery Spytz | 28 April 2019, 12:58:52 UTC | bpo-36745: Fix a possible reference leak in PyObject_SetAttr() (GH-12993) https://bugs.python.org/issue36745 | 28 April 2019, 12:58:52 UTC |
da63b32 | Raymond Hettinger | 28 April 2019, 07:22:36 UTC | bpo-36715: Add usage note for dict.fromkeys() (GH-12974) | 28 April 2019, 07:22:36 UTC |
50fed0b | Gordon P. Hemsley | 28 April 2019, 04:41:43 UTC | bpo-32424: Improve test coverage for xml.etree.ElementTree (GH-12891) * Fix typo in test_cyclic_gc subtest * Improve test coverage for xml.etree.ElementTree | 28 April 2019, 04:41:43 UTC |
21a9ba1 | Berker Peksag | 27 April 2019, 19:40:45 UTC | bpo-2091: Fix typo in exception message (GH-12987) | 27 April 2019, 19:40:45 UTC |
4d8c8c0 | Paul Ganssle | 27 April 2019, 19:39:40 UTC | bpo-36025: Fix PyDate_FromTimestamp API (GH-11922) In the process of converting the date.fromtimestamp function to use argument clinic in GH-8535, the C API for PyDate_FromTimestamp was inadvertently changed to expect a timestamp object rather than an argument tuple. This PR fixes this backwards-incompatible change by adding a new wrapper function for the C API function that unwraps the argument tuple and passes it to the underlying function. This PR also adds tests for both PyDate_FromTimestamp and PyDateTime_FromTimestamp to prevent any further regressions. | 27 April 2019, 19:39:40 UTC |
5c403b2 | Paul Ganssle | 27 April 2019, 18:14:35 UTC | bpo-36722: Style and grammar edits for ABI news entries (GH-12979) | 27 April 2019, 18:14:35 UTC |
55d0351 | Terry Jan Reedy | 27 April 2019, 03:22:36 UTC | Syntax highlight IDLE html doc code example. (GH-12981) The new markup is currently ignored by IDLE's tk doc display. | 27 April 2019, 03:22:36 UTC |
6d13e5b | Victor Stinner | 26 April 2019, 16:56:19 UTC | bpo-36722: Don't define ALT_SOABI for Py_TRACE_REFS build (GH-12973) Py_TRACE_REFS ABI is incompatible with release and debug (Py_DEBUG) ABI. | 26 April 2019, 16:56:19 UTC |
4046069 | Victor Stinner | 26 April 2019, 15:56:44 UTC | bpo-36722: Add What's New entry for debug ABI (GH-12957) | 26 April 2019, 15:56:44 UTC |
01f073f | Victor Stinner | 26 April 2019, 15:55:17 UTC | bpo-21536: Revert Makefile change on python-config (GH-12971) Misc/python-config.sh lives in the build directory, not in the source directory. | 26 April 2019, 15:55:17 UTC |
ad0daf5 | Charles Pigott | 26 April 2019, 15:38:12 UTC | bpo-31525: Increase minimum sqlite version number check (GH-12923) | 26 April 2019, 15:38:12 UTC |
06d04e7 | Victor Stinner | 26 April 2019, 11:09:47 UTC | bpo-36733: Fix PYTHONPATH for make regen-add (GH-12969) Add PYTHONPATH=$(srcdir) to run $(PYTHON_FOR_REGEN) -m Parser.pgen, so it's possible to build Python from a different directory. | 26 April 2019, 11:09:47 UTC |
4cb525a | Victor Stinner | 26 April 2019, 11:05:47 UTC | bpo-36356: pymain_exit_error() only call pymain_free() for exit (GH-12968) Add _Py_INIT_HAS_EXITCODE() macro. | 26 April 2019, 11:05:47 UTC |
00db7c7 | Victor Stinner | 26 April 2019, 09:12:26 UTC | bpo-36719: regrtest closes explicitly WindowsLoadTracker (GH-12965) Regrtest.finalize() now closes explicitly the WindowsLoadTracker instance. | 26 April 2019, 09:12:26 UTC |
837acc1 | Victor Stinner | 26 April 2019, 07:56:37 UTC | bpo-36719: Fix regrtest re-run (GH-12964) Properly handle a test which fail but then pass. Add test_rerun_success() unit test. | 26 April 2019, 07:56:37 UTC |
75120d2 | Victor Stinner | 26 April 2019, 07:28:53 UTC | bpo-36719: regrtest always detect uncollectable objects (GH-12951) regrtest now always detects uncollectable objects. Previously, the check was only enabled by --findleaks. The check now also works with -jN/--multiprocess N. --findleaks becomes a deprecated alias to --fail-env-changed. | 26 April 2019, 07:28:53 UTC |
7abb6c0 | Mark Dickinson | 26 April 2019, 06:56:15 UTC | bpo-36669: add matmul support to weakref.proxy (GH-12932) | 26 April 2019, 06:56:15 UTC |
3cde440 | Victor Stinner | 26 April 2019, 06:40:25 UTC | bpo-36725: Refactor regrtest multiprocessing code (GH-12961) Rewrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: * Worker processes are now killed immediately if tests are interrupted or if a test does crash (CHILD_ERROR): worker processes are killed. * Rewrite how errors in a worker thread are reported to the main thread. No longer ignore BaseException or parsing errors silently. * Remove 'finished' variable: use worker.is_alive() instead * Always compute omitted tests. Add Regrtest.get_executed() method. | 26 April 2019, 06:40:25 UTC |
87d23a0 | Victor Stinner | 26 April 2019, 03:49:26 UTC | bpo-36724: Add _PyWarnings_Fini() (#12963) Py_FinalizeEx() now clears _PyRuntime.warnings variables and _PyRuntime.exitfuncs. Changes: * Add _PyWarnings_Fini(): called by Py_FinalizeEx() * call_ll_exitfuncs() now clears _PyRuntime.exitfuncs while iterating on it (on backward order). | 26 April 2019, 03:49:26 UTC |
99e69d4 | Victor Stinner | 26 April 2019, 03:48:51 UTC | bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962) _PyThreadState_Delete() has no return value. | 26 April 2019, 03:48:51 UTC |
4d29983 | Victor Stinner | 26 April 2019, 02:08:53 UTC | bpo-36725: regrtest: add TestResult type (GH-12960) * Add TestResult and MultiprocessResult types to ensure that results always have the same fields. * runtest() now handles KeyboardInterrupt * accumulate_result() and format_test_result() now takes a TestResult * cleanup_test_droppings() is now called by runtest() and mark the test as ENV_CHANGED if the test leaks support.TESTFN file. * runtest() now includes code "around" the test in the test timing * Add print_warning() in test.libregrtest.utils to standardize how libregrtest logs warnings to ease parsing the test output. * support.unload() is now called with abstest rather than test_name * Rename 'test' variable/parameter to 'test_name' * dash_R(): remove unused the_module parameter * Remove unused imports | 26 April 2019, 02:08:53 UTC |
9db0324 | Victor Stinner | 26 April 2019, 00:32:01 UTC | bpo-36710: Add runtime parameter in gcmodule.c (GH-12958) Add 'state' or 'runtime' parameter to functions in gcmodule.c to avoid to rely directly on the global variable _PyRuntime. | 26 April 2019, 00:32:01 UTC |
10c8e6a | Victor Stinner | 25 April 2019, 23:53:18 UTC | bpo-36710: Add runtime variable in pystate.c (GH-12956) Add 'gilstate', 'runtime' or 'xidregistry' parameter to many functions on pystate.c to avoid lying on _PyRuntime global. | 25 April 2019, 23:53:18 UTC |
5422e3c | Victor Stinner | 25 April 2019, 23:40:00 UTC | bpo-36722: Debug build loads libraries built in release mode (GH-12952) In debug build, import now also looks for C extensions compiled in release mode and for C extensions compiled in the stable ABI. | 25 April 2019, 23:40:00 UTC |
62dfd7d | Paul Monson | 25 April 2019, 18:36:45 UTC | bpo-35920: Windows 10 ARM32 platform support (GH-11774) | 25 April 2019, 18:36:45 UTC |
8c3ecc6 | Victor Stinner | 25 April 2019, 18:13:10 UTC | bpo-21536: C extensions are no longer linked to libpython (GH-12946) On Unix, C extensions are no longer linked to libpython. It is now possible to load a C extension built using a shared library Python with a statically linked Python. When Python is embedded, libpython must not be loaded with RTLD_LOCAL, but RTLD_GLOBAL instead. Previously, using RTLD_LOCAL, it was already not possible to load C extensions which were not linked to libpython, like C extensions of the standard library built by the "*shared*" section of Modules/Setup. distutils, python-config and python-config.py have been modified. | 25 April 2019, 18:13:10 UTC |
d7befad | Victor Stinner | 25 April 2019, 12:30:16 UTC | bpo-35537: Document posix_spawn() change in subprocess (GH-11668) Document that subprocess.Popen no longer raise an exception on error like missing program on very specific platforms when using os.posix_spawn() is used. | 25 April 2019, 12:30:16 UTC |
0ef8c15 | Victor Stinner | 25 April 2019, 09:59:34 UTC | bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) bpo-28552, bpo-7774: Fix distutils.sysconfig if sys.executable is None or an empty string: use os.getcwd() to initialize project_base. Fix also the distutils build command: don't use sys.executable if it's evaluated as false (None or empty string). | 25 April 2019, 09:59:34 UTC |
235e7b2 | Victor Stinner | 24 April 2019, 23:46:31 UTC | bpo-36465: Fix test_regrtest on Windows (GH-12945) Fix Py_DEBUG constant: check for sys.gettotalrefcount attribute rather than sys.getobjects. Update also SpecialBuilds.txt documentation. | 24 April 2019, 23:46:31 UTC |
f4e4703 | Victor Stinner | 24 April 2019, 22:56:28 UTC | bpo-36465: Make release and debug ABI compatible (GH-12615) 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 | 24 April 2019, 22:56:28 UTC |
888f37b | Pablo Galindo | 24 April 2019, 20:25:23 UTC | Add @pablogsal to code owners file for Parser/pgen (GH-12944) Add myself to the codeowners file as I would like to be automatically added as a reviewer for PRs that touch that component. | 24 April 2019, 20:25:23 UTC |
004b93e | Thomas Moreau | 24 April 2019, 19:45:52 UTC | bpo-36668: FIX reuse semaphore tracker for child processes (#5172) Fix the multiprocessing.semaphore_tracker so it is reused by child processes. | 24 April 2019, 19:45:52 UTC |
09d434c | Guido van Rossum | 24 April 2019, 18:30:17 UTC | Issue 35224: Add PEP 572 (assignment expressions) to What's New (#12941) This is meant as a stub, during the PyCon sprints we can iterate. | 24 April 2019, 18:30:17 UTC |
4312522 | Victor Stinner | 24 April 2019, 16:23:53 UTC | bpo-36710: Add runtime variable to Py_InitializeEx() (GH-12939) 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. | 24 April 2019, 16:23:53 UTC |
8e91c24 | Victor Stinner | 24 April 2019, 15:24:01 UTC | bpo-36710: Add runtime variable to Py_FinalizeEx() (GH-12937) * 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() | 24 April 2019, 15:24:01 UTC |
70bf713 | Joannah Nanjekye | 24 April 2019, 15:14:44 UTC | bpo-30840: Document relative imports (#12831) * 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 | 24 April 2019, 15:14:44 UTC |
b930a2d | Victor Stinner | 24 April 2019, 15:14:33 UTC | bpo-36710: PyOS_AfterFork_Child() pass runtime parameter (GH-12936) 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. | 24 April 2019, 15:14:33 UTC |
8bb3230 | Victor Stinner | 24 April 2019, 14:47:40 UTC | bpo-36710: Add runtime parameter to _PyThreadState_Init() (GH-12935) * Add 'runtime' parameter to _PyThreadState_Init() * Add 'gilstate' parameter to _PyGILState_NoteThreadState() * Move _PyThreadState_Init() and _PyThreadState_DeleteExcept() to the internal C API. | 24 April 2019, 14:47:40 UTC |
6c44fde | Victor Stinner | 24 April 2019, 14:10:09 UTC | bpo-36707: Remove the "m" flag (pymalloc) from SOABI (GH-12931) "./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. | 24 April 2019, 14:10:09 UTC |
4f5a349 | Maximilian Nöthe | 24 April 2019, 09:21:02 UTC | fix typo in gzip.py (GH-12928) | 24 April 2019, 09:21:02 UTC |
d246a67 | Victor Stinner | 23 April 2019, 22:15:12 UTC | bpo-36454: Fix test_time.test_monotonic() (GH-12929) 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. | 23 April 2019, 22:15:12 UTC |
29d018a | Mathieu Dupuy | 23 April 2019, 13:01:09 UTC | replace 'sequencial argument' by 'positional' in doc (GH-12925) | 23 April 2019, 13:01:09 UTC |
359bd4f | Zackery Spytz | 23 April 2019, 11:56:08 UTC | bpo-18372: Add missing PyObject_GC_Track() calls in the pickle module (GH-8505) | 23 April 2019, 11:56:08 UTC |
09415ff | Inada Naoki | 23 April 2019, 11:39:37 UTC | fix warnings by adding more const (GH-12924) | 23 April 2019, 11:39:37 UTC |
5749134 | Victor Stinner | 23 April 2019, 10:26:33 UTC | bpo-36635, bpo-36696: Fix setup.py on AIX (GH-12922) xlc compiler doesn't support "-D define" flag only "-Ddefine". | 23 April 2019, 10:26:33 UTC |
84b4784 | tyomitch | 23 April 2019, 09:29:57 UTC | use `const` in graminit.c (GH-12713) | 23 April 2019, 09:29:57 UTC |
fb8c7d5 | Raymond Hettinger | 23 April 2019, 08:46:18 UTC | bpo-36018: Make "seed" into a keyword only argument (GH-12921) | 23 April 2019, 08:46:18 UTC |
7280048 | Raymond Hettinger | 23 April 2019, 08:35:16 UTC | bpo-35904: Add missing fmean() entry to the summary table (GH-12919) | 23 April 2019, 08:35:16 UTC |
39baace | jkleint | 23 April 2019, 08:34:29 UTC | Document that TestCase.assertCountEqual() can take iterables (GH-686) | 23 April 2019, 08:34:29 UTC |
b4c7f39 | Jakub Molinski | 23 April 2019, 08:30:30 UTC | Add module specification: itemgetter -> operator.itemgetter (GH-12823) | 23 April 2019, 08:30:30 UTC |
9013ccf | Raymond Hettinger | 23 April 2019, 07:06:35 UTC | bpo-36546: Add statistics.quantiles() (#12710) | 23 April 2019, 07:06:35 UTC |
d437012 | Windson yang | 22 April 2019, 18:51:06 UTC | bpo-36679: Rename duplicate test_class_getitem function (GH-12892) | 22 April 2019, 18:51:06 UTC |
c442b1c | Windson yang | 22 April 2019, 18:50:24 UTC | bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893) | 22 April 2019, 18:50:24 UTC |
3d6f61e | Windson yang | 22 April 2019, 18:49:11 UTC | bpo-36681: Remove duplicate test_regression_29220 function (GH-12894) | 22 April 2019, 18:49:11 UTC |
007d0b0 | Windson yang | 22 April 2019, 18:48:12 UTC | bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) | 22 April 2019, 18:48:12 UTC |
f51dd4f | Windson yang | 22 April 2019, 18:46:27 UTC | bpo-36683: Rename duplicate test_io_encoding to test_pyio_encoding (GH-12896) | 22 April 2019, 18:46:27 UTC |
be372d7 | Windson yang | 22 April 2019, 18:45:34 UTC | bpo-36678: Rename duplicate tests in test_dataclasses (GH-12899) | 22 April 2019, 18:45:34 UTC |
d307d05 | Steve Dower | 22 April 2019, 18:40:12 UTC | Fixes platform.win32_ver on non-Windows platforms (GH-12912) | 22 April 2019, 18:40:12 UTC |
2644907 | Steve Dower | 22 April 2019, 18:13:11 UTC | bpo-33608: Normalize atomic macros so that they all expect an atomic struct (GH-12877) | 22 April 2019, 18:13:11 UTC |
34366b7 | Zackery Spytz | 22 April 2019, 17:08:05 UTC | bpo-36672: Fix a compiler warning in winreg.SetValue() (GH-12882) | 22 April 2019, 17:08:05 UTC |
56ed864 | Zackery Spytz | 22 April 2019, 17:01:32 UTC | bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687) | 22 April 2019, 17:01:32 UTC |
6ef726a | Berker Peksag | 22 April 2019, 15:46:28 UTC | bpo-29734: Cleanup test_getfinalpathname_handles test (GH-12908) | 22 April 2019, 15:46:28 UTC |
d59b662 | 周家未 | 22 April 2019, 13:28:57 UTC | bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903) | 22 April 2019, 13:28:57 UTC |
ab86521 | Marcin Niemira | 22 April 2019, 11:13:51 UTC | bpo-36523: Add docstring to io.IOBase.writelines (GH-12683) | 22 April 2019, 11:13:51 UTC |
662ebd2 | Wu Wei | 22 April 2019, 11:08:20 UTC | Doc: add the missing ".tp_flags" in type definition (GH-12902) | 22 April 2019, 11:08:20 UTC |
9b21856 | Xtreak | 22 April 2019, 02:30:23 UTC | bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613) Co-authored-by: Felipe <felipe.nospam.ochoa@gmail.com> | 22 April 2019, 02:30:23 UTC |
9541bd3 | Joannah Nanjekye | 22 April 2019, 01:47:06 UTC | bpo-24011: Use PyModule_Add{Object,IntMacro} in PyInit__signal() (GH-12765) | 22 April 2019, 01:47:06 UTC |
5ebfa84 | mollison | 21 April 2019, 22:14:45 UTC | bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) | 21 April 2019, 22:14:45 UTC |
3e986de | Fredrik Averpil | 20 April 2019, 23:06:38 UTC | Fix typo (GH-12878) "sychronization" -> "synchronization" | 20 April 2019, 23:06:38 UTC |
14adbd4 | Raymond Hettinger | 20 April 2019, 17:20:44 UTC | bpo-36650: Fix handling of empty keyword args in C version of lru_cache. (GH-12881) | 20 April 2019, 17:20:44 UTC |
9d062d6 | Inada Naoki | 19 April 2019, 07:07:19 UTC | ctypes: remove use of legacy unicode API (GH-12340) PyUnicode_AsUnicodeAndSize() -> PyUnicode_AsWideChar() | 19 April 2019, 07:07:19 UTC |
e8113f5 | Stefan Behnel | 18 April 2019, 17:05:03 UTC | bpo-30485: Change the prefix for defining the default namespace in 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) | 18 April 2019, 17:05:03 UTC |
7e954e7 | Enrico Alarico Carbognani | 18 April 2019, 12:43:14 UTC | bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866) # [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 | 18 April 2019, 12:43:14 UTC |
23bace2 | Victor Stinner | 18 April 2019, 09:37:26 UTC | bpo-36635: Add _testinternalcapi module (GH-12841) 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. | 18 April 2019, 09:37:26 UTC |
11efd79 | Paul Monson | 18 April 2019, 01:09:16 UTC | bpo-36071 Add support for Windows ARM32 in ctypes/libffi (GH-12059) | 18 April 2019, 01:09:16 UTC |
264a0b4 | Paul Monson | 18 April 2019, 01:06:06 UTC | bpo-36638: Fix WindowsLoadTracker exception on some Windows versions (GH-12849) | 18 April 2019, 01:06:06 UTC |
9941f96 | cocoatomo | 18 April 2019, 00:54:51 UTC | Fix wrong indentation of a paragraph in documentation (GH-12868) This paragraph doesn't seem to be a part of code, but merged into previous code block. | 18 April 2019, 00:54:51 UTC |
a6de52c | josh | 17 April 2019, 22:43:30 UTC | bpo-32913: Added re.Match.groupdict example to regex HOWTO (GH-5821) | 17 April 2019, 22:43:30 UTC |
4c3efd9 | Steve Dower | 17 April 2019, 21:31:32 UTC | bpo-36649: Remove trailing spaces for registry keys when installed via the Store (GH-12865) | 17 April 2019, 21:31:32 UTC |
5c75f37 | Victor Stinner | 17 April 2019, 21:02:26 UTC | bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853) 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. | 17 April 2019, 21:02:26 UTC |
3092d6b | Victor Stinner | 17 April 2019, 16:09:12 UTC | bpo-32849: Fix is_valid_fd() on FreeBSD (GH-12852) 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. | 17 April 2019, 16:09:12 UTC |
197f044 | Victor Stinner | 17 April 2019, 15:44:06 UTC | bpo-35755: Don't say "to mimick Unix which command behavior" (GH-12861) | 17 April 2019, 15:44:06 UTC |
693c104 | Lihua Zhao | 17 April 2019, 15:41:33 UTC | bpo-31904: Port test_resource to VxWorks (GH-12719) Skip tests cases setting RLIMIT_FSIZE and RLIMIT_CPU on VxWorks. | 17 April 2019, 15:41:33 UTC |
2954550 | Lihua Zhao | 17 April 2019, 15:33:25 UTC | bpo-31904: Port test_cmd_line to VxWorks (#12648) subprocess.Popen doesn't support preexec on VxWorks. | 17 April 2019, 15:33:25 UTC |
2c4c02f | Victor Stinner | 17 April 2019, 15:05:30 UTC | bpo-35755: Remove current directory from posixpath.defpath (GH-11586) Document the change in a NEWS entry of the Security category. | 17 April 2019, 15:05:30 UTC |
228a3c9 | Victor Stinner | 17 April 2019, 14:26:36 UTC | bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12858) 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. | 17 April 2019, 14:26:36 UTC |
71ce03d | Colin Watson | 17 April 2019, 12:18:37 UTC | Clarify file-closing example in tutorial (GH-11652) | 17 April 2019, 12:18:37 UTC |
36c41bc | Lihua Zhao | 17 April 2019, 09:46:50 UTC | bpo-31904: Fix test_tabnanny on VxWorks (GH-12646) Fix test_tabnanny on VxWorks: adjust ENOENT error message, use os.strerror(). | 17 April 2019, 09:46:50 UTC |
6fec905 | Inada Naoki | 16 April 2019, 23:40:34 UTC | bpo-36642: make unicodedata const (GH-12855) | 16 April 2019, 23:40:34 UTC |
926b0cb | Inada Naoki | 16 April 2019, 23:39:46 UTC | bpo-36641: Add "const" to PyDoc_VAR macro (GH-12854) It reduces "data" segment in python about 200KB. | 16 April 2019, 23:39:46 UTC |
31e8d69 | Matthias Bussonnier | 16 April 2019, 16:47:11 UTC | bpo-33783: Use proper class markup for random.Random docs (GHè7817) Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com> | 16 April 2019, 16:47:11 UTC |
2f5b448 | Berker Peksag | 16 April 2019, 13:54:56 UTC | Add myself to CODEOWNERS for sqlite3 and urllib.robotparser (GH-12856) | 16 April 2019, 13:54:56 UTC |
2b7f93b | Stéphane Wirtel | 16 April 2019, 12:52:54 UTC | bpo-36345: Update wsgiref example (GH-12562) Use literalinclude markup to include Tools/scripts/serve.py code. Tools/scripts/serve.py first argument on the command line is now optional. | 16 April 2019, 12:52:54 UTC |
6fa84bd | Inada Naoki | 15 April 2019, 23:32:28 UTC | bpo-27860: ipaddress: fix Interface missed some attributes (GH-12836) IPv4Interface and IPv6Interface did not has netmask and hostmask attributes when its argument is bytes or int. This commit extracts method for constructors of Network and Interface, and ensure Interface class always provides them. | 15 April 2019, 23:32:28 UTC |
74125a6 | Victor Stinner | 15 April 2019, 16:23:20 UTC | bpo-36348: IMAP4.logout() doesn't ignore exc (GH-12411) The imap.IMAP4.logout() method no longer ignores silently arbitrary exceptions. Changes: * The IMAP4.logout() method now expects a "BYE" untagged response, rather than relying on _check_bye() which raises a self.abort() exception. * IMAP4.__exit__() now does nothing if the client already logged out. * Add more debug info if test_logout() tests fail. | 15 April 2019, 16:23:20 UTC |
0810fa7 | Victor Stinner | 15 April 2019, 15:54:09 UTC | bpo-36389: Cleanup gc.set_threshold() (GH-12844) Don't assign generations[2].threshold to generations[2].threshold: useless operation. | 15 April 2019, 15:54:09 UTC |
aba7d66 | Victor Stinner | 15 April 2019, 15:29:31 UTC | bpo-35134: Add cpython/pymem.h to build system (GH-12842) | 15 April 2019, 15:29:31 UTC |
9820c07 | Victor Stinner | 15 April 2019, 15:00:19 UTC | bpo-35134: Add Include/cpython/pymem.h (GH-12840) Move unstable CPython API from Include/pymem.h into a new Include/cpython/pymem.h header file. | 15 April 2019, 15:00:19 UTC |
a3283ef | Inada Naoki | 15 April 2019, 12:40:23 UTC | Doc: update PendingDeprecationWarning explanation (GH-12837) Keep the nudge towards DeprecationWarning, but remove the "Note" markup and generally shorten the description. Ref: https://github.com/python/cpython/pull/12505/files#r273978757 | 15 April 2019, 12:40:23 UTC |