f7b494c | Andre Delfino | 06 May 2019, 16:01:17 UTC | Update wsgiref.rst (#10488) | 06 May 2019, 16:01:17 UTC |
cec0184 | Daniel Hahler | 06 May 2019, 15:39:06 UTC | Doc/c-api/exceptions.rst: fix grammar (#12091) * Doc/c-api/exceptions.rst: fix grammar skip issue skip news * Use ", in that case" Co-Authored-By: blueyed <github@thequod.de> | 06 May 2019, 15:39:05 UTC |
6b95149 | Stefan Behnel | 06 May 2019, 15:36:35 UTC | bpo-36811: Fix a C compiler warning in _elementtree.c. (GH-13109) | 06 May 2019, 15:36:35 UTC |
8b1271b | Eddie Elizondo | 06 May 2019, 15:28:50 UTC | Only count number of members once (#12691) | 06 May 2019, 15:28:50 UTC |
e152169 | Cheryl Sabella | 06 May 2019, 12:39:13 UTC | bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505) | 06 May 2019, 12:39:13 UTC |
2950073 | Serhiy Storchaka | 05 May 2019, 11:26:23 UTC | bpo-36791: Safer detection of integer overflow in sum(). (GH-13080) | 05 May 2019, 11:26:23 UTC |
88f07a8 | twisteroid ambassador | 05 May 2019, 11:14:35 UTC | bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237) Added two keyword arguments, `delay` and `interleave`, to `BaseEventLoop.create_connection`. Happy eyeballs is activated if `delay` is specified. We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package. https://bugs.python.org/issue33530 | 05 May 2019, 11:14:35 UTC |
c4d92c8 | Inada Naoki | 05 May 2019, 09:06:30 UTC | simplify StartupImportTests (GH-13096) _osx_support and copyreg are not imported from site on macOS for now. | 05 May 2019, 09:06:30 UTC |
98a1e06 | Jonatan | 04 May 2019, 21:55:29 UTC | bpo-36189: Fixing typo in tutorial introduction (GH-13090) | 04 May 2019, 21:55:29 UTC |
5e98f05 | Catherine Alvarado | 04 May 2019, 21:54:35 UTC | bpo-36166: Change to rst datamodel file. (GH-13089) | 04 May 2019, 21:54:35 UTC |
c664b34 | Victor Stinner | 04 May 2019, 15:48:05 UTC | bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068) | 04 May 2019, 15:48:05 UTC |
6b5b013 | Joannah Nanjekye | 04 May 2019, 15:27:10 UTC | bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990) | 04 May 2019, 15:27:10 UTC |
f090019 | Rémi Lapeyre | 03 May 2019, 23:30:53 UTC | Suppress clang warning (GH-12384) | 03 May 2019, 23:30:53 UTC |
4754168 | Stefan Behnel | 03 May 2019, 18:58:16 UTC | bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ElementPath, and extend the surrounding tests and docs. (GH-12997) | 03 May 2019, 18:58:16 UTC |
cf48e55 | Andre Delfino | 03 May 2019, 16:53:22 UTC | bpo-33882: mention breakpoint() in debugger-related FAQ (GH-7759) | 03 May 2019, 16:53:21 UTC |
4737b92 | Zackery Spytz | 03 May 2019, 15:35:26 UTC | bpo-24638: Improve the error message in asyncio.ensure_future() (#12848) | 03 May 2019, 15:35:25 UTC |
ceb842e | Alexander Vasin | 03 May 2019, 15:25:36 UTC | Fixed typo (GH-11522) Given example does not run, loop variable is missing. Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.` Perhaps it would be better to cancel all tasks instead of closing loop directly? Did not create issue, because question is quite simple. | 03 May 2019, 15:25:36 UTC |
c1964e9 | gescheit | 03 May 2019, 15:18:02 UTC | bpo-36613: call remove_done_callback if exception (GH-12800) Call remove_done_callback() in finally block. https://bugs.python.org/issue36613 | 03 May 2019, 15:18:02 UTC |
4461d70 | xdegaye | 03 May 2019, 15:09:17 UTC | bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399) Those tests may fail with PermissionError. https://bugs.python.org/issue36341 | 03 May 2019, 15:09:17 UTC |
a8a79ca | Andre Delfino | 03 May 2019, 15:08:10 UTC | Improve grammar on async context managers and shorten text (GH-12379) | 03 May 2019, 15:08:10 UTC |
5861cdd | Andre Delfino | 03 May 2019, 14:59:05 UTC | Don't use the LHS/RHS acronym in Simple statements (GH-12996) Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms. Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common. | 03 May 2019, 14:59:05 UTC |
22c5263 | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 03 May 2019, 12:22:12 UTC | bpo:34848 : Correct an incorrect docstring for range().index method (GH-9877) | 03 May 2019, 12:22:11 UTC |
45e92fc | Stefan Behnel | 02 May 2019, 20:11:04 UTC | Add correct license for C14N test suite to license docs. (GH-13055) | 02 May 2019, 20:11:04 UTC |
4631da1 | Victor Stinner | 02 May 2019, 19:30:21 UTC | bpo-36763: Remove _PyCoreConfig._init_main (GH-13066) | 02 May 2019, 19:30:21 UTC |
70005ac | Victor Stinner | 02 May 2019, 19:25:34 UTC | bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python (GH-13037) _PyCoreConfig_SetPyArgv() and _PyCoreConfig_SetWideString() now pre-initialize Python if needed to ensure that the locale encoding is properly configured. * Add _Py_PreInitializeFromPyArgv() internal function. * Add 'args' parameter to _Py_PreInitializeFromCoreConfig() | 02 May 2019, 19:25:34 UTC |
709d23d | Victor Stinner | 02 May 2019, 18:56:30 UTC | bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062) _PyCoreConfig: Change filesystem_encoding, filesystem_errors, stdio_encoding and stdio_errors fields type from char* to wchar_t*. Changes: * PyInterpreterState: replace fscodec_initialized (int) with fs_codec structure. * Add get_error_handler_wide() and unicode_encode_utf8() helper functions. * Add error_handler parameter to unicode_encode_locale() and unicode_decode_locale(). * Remove _PyCoreConfig_SetString(). * Rename _PyCoreConfig_SetWideString() to _PyCoreConfig_SetString(). * Rename _PyCoreConfig_SetWideStringFromString() to _PyCoreConfig_DecodeLocale(). | 02 May 2019, 18:56:30 UTC |
6ae2bbb | Zackery Spytz | 02 May 2019, 18:55:00 UTC | bpo-36776: Add @support.skip_unless_symlink to test_lll.py (GH-13058) | 02 May 2019, 18:54:59 UTC |
373893c | Victor Stinner | 02 May 2019, 18:46:29 UTC | bpo-36763: Add _PyCoreConfig._config_version (GH-13065) Add private _config_version field to _PyPreConfig and _PyCoreConfig to prepare future ABI compatibility. | 02 May 2019, 18:46:29 UTC |
874ad1b | Xtreak | 02 May 2019, 18:20:59 UTC | Fix typo: quaatile to quantile (GH=13001) | 02 May 2019, 18:20:58 UTC |
43fc3bb | Victor Stinner | 02 May 2019, 15:54:20 UTC | bpo-36775: Add _PyUnicode_InitEncodings() (GH-13057) Move get_codec_name() and initfsencoding() from pylifecycle.c to unicodeobject.c. Rename also "init" functions in pylifecycle.c. | 02 May 2019, 15:54:20 UTC |
e251095 | Victor Stinner | 02 May 2019, 15:28:57 UTC | bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro (GH-13056) Add _Py_FORCE_UTF8_LOCALE and _Py_FORCE_UTF8_FS_ENCODING macros to avoid factorize "#if defined(__ANDROID__) || defined(__VXWORKS__)" and "#if defined(__APPLE__)". Cleanup also config_init_fs_encoding(). | 02 May 2019, 15:28:57 UTC |
c4e78b1 | Zackery Spytz | 02 May 2019, 15:03:43 UTC | bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026) | 02 May 2019, 15:03:43 UTC |
0d5864f | Stefan Behnel | 02 May 2019, 08:35:02 UTC | bpo-13611: Include C14N 2.0 test data in installation (GH-13053) * Include C14N 2.0 test data in installation. * Add README file to the C14N test data directory to reference the original source and licensing conditions. | 02 May 2019, 08:35:02 UTC |
0522291 | Daniel Porteous | 02 May 2019, 08:20:59 UTC | Fix tiny tiny typo in 3.8 what's new (GH-13049) I feel silly even making such a tiny typo fix, but I couldn't help but notice it. | 02 May 2019, 08:20:58 UTC |
5f2b3b0 | Hossein Pourbozorg | 02 May 2019, 08:17:55 UTC | regarding to grammar and spell check (#13020) | 02 May 2019, 08:17:55 UTC |
cb9fbd3 | Victor Stinner | 02 May 2019, 03:51:56 UTC | bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052) _PyCoreConfig: Rename _check_hash_pycs_mode field to check_hash_pycs_mode (make it public) and change its type from "const char*" to "wchar_t*". | 02 May 2019, 03:51:56 UTC |
11e4a94 | Xtreak | 02 May 2019, 02:49:50 UTC | Change bisect to bisect_cmd in docstring (#13040) | 02 May 2019, 02:49:49 UTC |
671d782 | Raymond Hettinger | 02 May 2019, 00:49:12 UTC | bpo-36018: Update example to show mean and stdev (GH-13047) | 02 May 2019, 00:49:12 UTC |
482b6b5 | Raymond Hettinger | 02 May 2019, 00:48:13 UTC | Move dangling bullet points into named subsections (GH-13046) | 02 May 2019, 00:48:13 UTC |
adbf178 | Chris Withers | 01 May 2019, 22:04:04 UTC | Mock 100% coverage (GH-13045) This was achieved by: * moving many pass statements in tests onto their own lines, so they pass line coverage and can match an easy ignore pattern if branch coverage is added later. * removing code that cannot be reached. * removing long-disabled tests. * removing unused code. * adding tests for uncovered code It turned out that removing `if __name__ == '__main__'` blocks that run unittest.main() at the bottom of test files was surprisingly contentious, so they remain and can be filtered out with an appropriate .coveragerc. | 01 May 2019, 22:04:04 UTC |
b7378d7 | Gregory P. Smith | 01 May 2019, 20:39:21 UTC | bpo-30458: Use InvalidURL instead of ValueError. (GH-13044) Use http.client.InvalidURL instead of ValueError as the new error case's exception. | 01 May 2019, 20:39:21 UTC |
e1d5dd6 | Stefan Behnel | 01 May 2019, 20:34:13 UTC | bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966) * Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations | 01 May 2019, 20:34:13 UTC |
ee88af3 | Géry Ogam | 01 May 2019, 20:08:17 UTC | Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer None (#10376) Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer `None` _after_ calling the importlib._bootstrap._init_module_attrs function. See: * https://stackoverflow.com/questions/52869541/namespace-package-spec-loader-and-loader-attributes-not-set-to-none * https://bugs.python.org/issue35181 | 01 May 2019, 20:08:17 UTC |
dde3eeb | Stefan Behnel | 01 May 2019, 19:49:58 UTC | bpo-36676: Namespace prefix aware parsing support for the ET.XMLParser target (GH-12885) * bpo-36676: Implement namespace prefix aware parsing support for the XMLParser target in ElementTree. | 01 May 2019, 19:49:58 UTC |
43851a2 | Stefan Behnel | 01 May 2019, 19:20:38 UTC | bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. (#12883) * bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. * bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default). | 01 May 2019, 19:20:38 UTC |
3d37ea2 | Petter Strandmark | 01 May 2019, 17:32:15 UTC | bpo-27682: Handle client connection terminations in wsgiref (GH-9713) | 01 May 2019, 17:32:15 UTC |
18029d8 | Thomas A Caswell | 01 May 2019, 15:12:35 UTC | MNT: set stacklevel in the getfullargspec deprecation warning to 2 (GH-13029) This is consistent with the rest of the `warnings.warn` usage in the inspect.py module and aids identifying code that needs to be fixed. This warning came in via d5d2b4546939b98244708e5bb0cfccd55b99d244 | 01 May 2019, 15:12:34 UTC |
1a9f0d8 | Victor Stinner | 01 May 2019, 13:22:52 UTC | bpo-36763: Add _PyCoreConfig_SetString() (GH-13035) Add 3 new config methods: * _PyCoreConfig_SetString() * _PyCoreConfig_SetWideString() * _PyCoreConfig_SetWideStringFromString() Changes: * _PyCoreConfig_Copy() returns _PyInitError. * Add CONFIG_GET_ENV_DUP(). | 01 May 2019, 13:22:52 UTC |
2fc936e | Xtreak | 01 May 2019, 11:59:49 UTC | bpo-30458: Disable https related urllib tests on a build without ssl (GH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. https://bugs.python.org/issue30458 | 01 May 2019, 11:59:48 UTC |
49e27f0 | Chris Withers | 01 May 2019, 07:48:44 UTC | remove jython support from unittest.mock (GH#13033) | 01 May 2019, 07:48:44 UTC |
db71975 | Victor Stinner | 01 May 2019, 03:35:33 UTC | bpo-36763: Rework _PyInitError API (GH-13031) * Remove _PyInitError.user_err field and _Py_INIT_USER_ERR() macro: use _Py_INIT_ERR() instead. _Py_ExitInitError() now longer calls abort() on error: exit with exit code 1 instead. * Add _PyInitError._type private field. * exitcode field type is now unsigned int on Windows. * Rename prefix field to _func. * Rename msg field to err_msg. | 01 May 2019, 03:35:33 UTC |
c4e671e | Gregory P. Smith | 01 May 2019, 02:12:21 UTC | bpo-30458: Disallow control chars in http URLs. (GH-12755) Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. | 01 May 2019, 02:12:21 UTC |
5f38b84 | Victor Stinner | 01 May 2019, 00:30:12 UTC | bpo-36763: Add _PyCoreConfig_SetArgv() (GH-13030) * Add 2 new config methods: * _PyCoreConfig_SetArgv() * _PyCoreConfig_SetWideArgv() * Add also an internal _PyCoreConfig_SetPyArgv() method. * Remove 'args' parameter from _PyCoreConfig_Read(). | 01 May 2019, 00:30:12 UTC |
463b82a | Victor Stinner | 30 April 2019, 23:36:13 UTC | bpo-36763: Fix Py_SetStandardStreamEncoding() (GH-13028) Fix memory leak in Py_SetStandardStreamEncoding(): release memory if the function is called twice. | 30 April 2019, 23:36:13 UTC |
0df635c | Mario Corchero | 30 April 2019, 18:56:36 UTC | Don't report deleted attributes in __dir__ (GH#10148) When an attribute is deleted from a Mock, a sentinel is added rather than just deleting the attribute. This commit checks for such sentinels when returning the child mocks in the __dir__ method as users won't expect deleted attributes to appear when performing dir(mock). | 30 April 2019, 18:56:36 UTC |
d537ab0 | Steve Dower | 30 April 2019, 12:03:02 UTC | bpo-36742: Fixes handling of pre-normalization characters in urlsplit() (GH-13017) | 30 April 2019, 12:03:02 UTC |
b84cb70 | Victor Stinner | 30 April 2019, 10:19:34 UTC | bpo-36734: Fix compilation of faulthandler.c on HP-UX (GH-12970) Initialize "stack_t current_stack" to zero using memset(). | 30 April 2019, 10:19:34 UTC |
3bbcc92 | gescheit | 30 April 2019, 07:54:30 UTC | bpo-25430: improve performance of IPNetwork.__contains__ (GH-1785) make a compare in bit-operation manner. | 30 April 2019, 07:54:30 UTC |
b0a2c0f | Raymond Hettinger | 30 April 2019, 06:47:33 UTC | bpo-36018: Test idempotence. Test two methods against one-another. (GH-13021) | 30 April 2019, 06:47:33 UTC |
ee0309f | Utkarsh Gupta | 30 April 2019, 02:20:06 UTC | closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008) | 30 April 2019, 02:20:06 UTC |
d5d2b45 | Pablo Galindo | 30 April 2019, 01:01:14 UTC | bpo-36751: Deprecate getfullargspec and report positional-only args as regular args (GH-13016) * bpo-36751: Deprecate getfullargspec and report positional-only args as regular args * Use inspect.signature in testhelpers | 30 April 2019, 01:01:14 UTC |
81c5a90 | Marco Rougeth | 29 April 2019, 23:23:28 UTC | bpo-36232: Improve error message on dbm.open() when the db doesn't exist (GH-12060) | 29 April 2019, 23:23:28 UTC |
9bdd6d1 | Ned Deily | 29 April 2019, 19:11:53 UTC | Prevent macOS installer build failure if ABIFLAGS is empty. (GH-13012) | 29 April 2019, 19:11:53 UTC |
883dfc6 | Ned Deily | 29 April 2019, 19:07:39 UTC | bpo-34602: Avoid failures setting macOS stack resource limit (GH-13011) Under some conditions the earlier fix for bpo-18075, "Infinite recursion tests triggering a segfault on Mac OS X", now causes failures on macOS when attempting to change stack limit with resource.setrlimit resource.RLIMIT_STACK, like regrtest does when running the test suite. The reverted change had specified a non-default stack size when linking the python executable on macOS. As of macOS 10.14.4, the previous code causes a hard failure when running tests, although similar failures had been seen under some conditions under some earlier systems. For now, revert the original change and resume using the default stack size when linking the interpreter. | 29 April 2019, 19:07:39 UTC |
be6dbfb | Berker Peksag | 29 April 2019, 14:55:39 UTC | bpo-1613500: Don't hardcode output file mode in fileinput.FileInput (GH-12986) | 29 April 2019, 14:55:39 UTC |
88c0937 | Paul Ganssle | 29 April 2019, 13:22:03 UTC | bpo-36004: Add date.fromisocalendar (GH-11888) This commit implements the first version of date.fromisocalendar, the inverse function for date.isocalendar. | 29 April 2019, 13:22:03 UTC |
a86e064 | xdegaye | 29 April 2019, 12:53:30 UTC | bpo-35952: Fix test.pythoninfo when the compiler is missing (GH-13007) | 29 April 2019, 12:53:30 UTC |
843bf42 | Guido van Rossum | 29 April 2019, 12:49:30 UTC | Add initial 'whatsnew' section for PEP 570 (GH-12942) | 29 April 2019, 12:49:29 UTC |
8c77b8c | Pablo Galindo | 29 April 2019, 12:36:57 UTC | bpo-36540: PEP 570 -- Implementation (GH-12701) This commit contains the implementation of PEP570: Python positional-only parameters. * Update Grammar/Grammar with new typedarglist and varargslist * Regenerate grammar files * Update and regenerate AST related files * Update code object * Update marshal.c * Update compiler and symtable * Regenerate importlib files * Update callable objects * Implement positional-only args logic in ceval.c * Regenerate frozen data * Update standard library to account for positional-only args * Add test file for positional-only args * Update other test files to account for positional-only args * Add News entry * Update inspect module and related tests | 29 April 2019, 12:36:57 UTC |
99fcc61 | Victor Stinner | 29 April 2019, 11:04:07 UTC | Revert "bpo-36356: Destroy the GIL at exit (GH-12453)" (GH613006) This reverts commit b36e5d627d4232a01850707eb78a5067f3fd77f4. | 29 April 2019, 11:04:07 UTC |
b36e5d6 | Victor Stinner | 29 April 2019, 09:15:56 UTC | bpo-36356: Destroy the GIL at exit (GH-12453) * Add _PyEval_FiniThreads2(). _PyEval_FiniThreads() now only clears the pending lock, whereas _PyEval_FiniThreads2() destroys the GIL. * pymain_free() now calls _PyEval_FiniThreads2(). * Py_FinalizeEx() now calls _PyEval_FiniThreads(). | 29 April 2019, 09:15:56 UTC |
7a5a1cf | xdegaye | 29 April 2019, 09:01:42 UTC | bpo-36747: Remove the stale scriptsinstall Makefile target (GH-13003) | 29 April 2019, 09:01:42 UTC |
f781d20 | Joannah Nanjekye | 29 April 2019, 08:38:45 UTC | bpo-36475: Finalize PyEval_AcquireLock() and PyEval_AcquireThread() properly (GH-12667) PyEval_AcquireLock() and PyEval_AcquireThread() now terminate the current thread if called while the interpreter is finalizing, making them consistent with PyEval_RestoreThread(), Py_END_ALLOW_THREADS, and PyGILState_Ensure(). | 29 April 2019, 08:38:45 UTC |
254b309 | xdegaye | 29 April 2019, 07:27:40 UTC | bpo-21536: On Android, C extensions are linked to libpython (GH-12989) | 29 April 2019, 07:27:40 UTC |
b021ba5 | Andrey | 29 April 2019, 04:33:26 UTC | Fix typo in 'tandem' word (GH-12998) (GH-12998) | 29 April 2019, 04:33:26 UTC |
db81ba1 | Raymond Hettinger | 29 April 2019, 04:31:55 UTC | bpo-36546: More tests: type preservation and equal inputs (#13000) | 29 April 2019, 04:31:55 UTC |
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 |