https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
75a402a 3.7.2rc1 11 December 2018, 21:46:13 UTC
9383969 Minor edits to NEWS entries 11 December 2018, 21:28:00 UTC
7353de8 Update macOS installer Welcome for 3.7.2 11 December 2018, 21:02:53 UTC
8aa057a macOS installer build: mitigate hdiutil resource busy bug 11 December 2018, 20:47:04 UTC
d55a896 bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) Forkserver and fork are not available on Windows and therefore these test must be skipped. (cherry picked from commit a932d0b496767b5aac14191cbc17093e502b6cb4) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 11 December 2018, 12:14:23 UTC
f7404a5 bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087) The test only except SIGUSR1Exception inside wait_signal(), but the signal can be sent during subprocess_send_signal() call. (cherry picked from commit 2ab2afd387084ba38a37f5944fcb0675113b64dc) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 11 December 2018, 11:50:34 UTC
45a31a1 [3.7] bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520) (GH-11031) (cherry picked from commit 3cf74384b53b998fa846dc2590cedf9ad2a0d5fd) Co-authored-by: Anirudha Bose <ani07nov@gmail.com> https://bugs.python.org/issue33747 11 December 2018, 10:17:29 UTC
3cae16d bpo-35444: Fix error handling when fail to look up builtin "getattr". (GH-11047) (GH-11107) (cherry picked from commit bb86bf4c4eaa30b1f5192dab9f389ce0bb61114d) 11 December 2018, 08:51:27 UTC
62674f3 bpo-35454: Fix miscellaneous minor issues in error handling. (GH-11077) * bpo-35454: Fix miscellaneous minor issues in error handling. * Fix a null pointer dereference. (cherry picked from commit 8905fcc85a6fc3ac394bc89b0bbf40897e9497a6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 December 2018, 07:05:13 UTC
3b9a018 bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101) (cherry picked from commit 7cf3d8e25174c8871883e42f3240fd7f01efd3a8) Co-authored-by: Ned Deily <nad@python.org> 11 December 2018, 06:28:49 UTC
c37923e bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094) https://bugs.python.org/issue35401 (cherry picked from commit 3ec982640f89f6ce56dd2699a81e0bd834ae0c95) Co-authored-by: Ned Deily <nad@python.org> 11 December 2018, 05:43:17 UTC
9bb306d bpo-34977: Remove unused preprocessor definition (GH-11092) (cherry picked from commit d5a6a389d492c5e3d7933bafbd5252fd86ac4d49) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 11 December 2018, 05:14:57 UTC
d1fb212 bpo-35401: Update Windows build to OpenSSL 1.1.0j (GH-11088) (cherry picked from commit 4824385fec0a1de99b4183f995a3e4923771bf64) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 11 December 2018, 04:16:46 UTC
0e4ad88 bpo-34977: Add Windows App Store package (GH-11027) Also adds the PC/layout script for generating layouts on Windows. 11 December 2018, 03:58:52 UTC
b3ffe47 Fix numbered lists in stdtypes.rst. (GH-10989) (cherry picked from commit de9e9b476ec4abfb0b9161cff0e86bb7085ca8c6) Co-authored-by: Andre Delfino <adelfino@gmail.com> 10 December 2018, 20:51:32 UTC
b264c60 [3.7] bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029) 10 December 2018, 16:11:34 UTC
ef1fc0d bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079) (cherry picked from commit b6ef6f69a9afc979640a5f9883f799de1364bff7) Co-authored-by: Victor Stinner <vstinner@redhat.com> 10 December 2018, 15:25:31 UTC
ea773eb bpo-35452: Make PySys_HasWarnOptions() never raising an exception. (GH-11075) (cherry picked from commit dffccc6b594951fc798973e521da205785823f0f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 December 2018, 12:37:09 UTC
1467a3a bpo-31374: Include pyconfig.h earlier in expat (GH-11064) Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L, whereas <features.h> (included indirectly by <string.h>) defines _POSIX_C_SOURCE as 199506L. (cherry picked from commit cf247359d5b7082044eea1fa94b5211a172b1ff6) Co-authored-by: Victor Stinner <vstinner@redhat.com> 10 December 2018, 11:28:13 UTC
1a7b62d bpo-35050: AF_ALG length check off-by-one error (GH-10058) (GH-11069) The length check for AF_ALG salg_name and salg_type had a off-by-one error. The code assumed that both values are not necessarily NULL terminated. However the Kernel code for alg_bind() ensures that the last byte of both strings are NULL terminated. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 2eb6ad8578fa9d764c21a92acd8e054e3202ad19) 10 December 2018, 11:13:01 UTC
c3cc751 bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) (GH-11066) Fix xml.dom.minidom cloneNode() on a document with an entity: pass the correct arguments to the user data handler of an entity (fix an old copy/paste mistake). Bug spotted and fix proposed by Charalampos Stratakis, initial reproducer written by Petr Viktorin. Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com> Co-Authored-By: Petr Viktorin <encukou@gmail.com> (cherry picked from commit 8e0418688906206fe59bd26344320c0fc026849e) 10 December 2018, 10:56:48 UTC
fc79175 bpo-35451: Fix reference counting for sys.warnoptions and sys._xoptions. (GH-11063) (cherry picked from commit 72ff7b4c000f7b8199231a0eb1ca4b119fab40a5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 December 2018, 10:26:36 UTC
c83ec05 bpo-35433: Properly detect installed SDK versions (GH-11009) (cherry picked from commit f46eccd0ffe65333035c3820886295b71c41ab6e) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com> 10 December 2018, 04:20:41 UTC
331bfa4 bpo-22005: Document the reality of pickle compatibility. (GH-11054) (cherry picked from commit e328753d91379274b699b93decff45de07854617) Co-authored-by: Gregory P. Smith <greg@krypto.org> 09 December 2018, 19:48:35 UTC
d4bcf13 bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043) (cherry picked from commit ac218bc5dbfabbd61c76ce8a17de088611e21981) Co-authored-by: Ned Deily <nad@python.org> 09 December 2018, 07:06:53 UTC
b6b7795 [3.7] Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423) (GH-10344) (cherry picked from commit c03bf0ae794c3bec9b56f38164535fd1f5bfc04a) 09 December 2018, 05:56:59 UTC
2db96ae [3.7] Doc: Bump sphinx. (GH-10676) (GH-10803) 09 December 2018, 05:21:54 UTC
8b7d8ac bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist(). (cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 08 December 2018, 14:34:49 UTC
ee2c5a8 bpo-35330: Don't call the wrapped object if `side_effect` is set (GH11035) * tests: Further validate `wraps` functionality in `unittest.mock.Mock` Add more tests to validate how `wraps` interacts with other features of mocks. * Don't call the wrapped object if `side_effect` is set When a object is wrapped using `Mock(wraps=...)`, if an user sets a `side_effect` in one of their methods, return the value of `side_effect` and don't call the original object. * Refactor what to be called on `mock_call` When a `Mock` is called, it should return looking up in the following order: `side_effect`, `return_value`, `wraps`. If any of the first two return `mock.DEFAULT`, lookup in the next option. It makes no sense to check for `wraps` returning default, as it is supposed to be the original implementation and there is nothing to fallback to. (cherry picked from commit f05df0a4b679d0acfd0b1fe6187ba2d553b37afa) Co-authored-by: Mario Corchero <mariocj89@gmail.com> 08 December 2018, 11:47:01 UTC
783b794 Revert "[3.7] bpo-34977: Add Windows App Store package (GH-10245)" (GH-11021) This reverts commit 253209149389e6793a052034e1f2d97691086f18. 07 December 2018, 13:31:40 UTC
0d5730e [3.7] bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022) encoding='latin1' should be used for successful decoding. (cherry picked from commit 8452ca15f41061c8a6297d7956df22ab476d4df4) 07 December 2018, 12:56:02 UTC
602d307 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) (GH-11020) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9) 07 December 2018, 12:17:43 UTC
2db190b bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" (GH-10464) * bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" * add NEWS entry * address code review comments * address second code review comments * Add entry for idlelib/NEWS.txt. (cherry picked from commit 9ebe8794f003dadfff578a066ea503a3e37ffe1d) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 07 December 2018, 06:51:10 UTC
2532091 [3.7] bpo-34977: Add Windows App Store package (GH-10245) 07 December 2018, 05:09:53 UTC
72c7195 Add missing period in distutils.dep_util.newer_group doc (GH-11003) (cherry picked from commit c9566b8c454120e3d0ddb5ab970f262a6cd80077) Co-authored-by: Andre Delfino <adelfino@gmail.com> 06 December 2018, 21:30:13 UTC
f913d44 Clarify expectedFailure in the unittest docs. (GH-10953) (cherry picked from commit 91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f) Co-authored-by: Gregory P. Smith <greg@krypto.org> 06 December 2018, 21:16:03 UTC
6485aa6 bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934) (cherry picked from commit 42b1d6127bd8595522a78a75166ebb9fba74a6a2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 06 December 2018, 20:52:43 UTC
560fa4d bpo-35363: test_eintr uses print(flush=True) (GH-10990) (cherry picked from commit 0644b33821b70efbf0ac1ec1fb8729b05796564a) Co-authored-by: Victor Stinner <vstinner@redhat.com> 06 December 2018, 13:34:59 UTC
b7c67c4 bpo-35424: test_multiprocessing: join 3 pools (GH-10986) Join 3 pools in these tests: * test.test_multiprocessing_spawn.WithProcessesTestPool.test_context * test.test_multiprocessing_spawn.WithProcessesTestPool.test_traceback (cherry picked from commit 388c8c208d9d09bd28289c1e4776b947d4d0f0f0) Co-authored-by: Victor Stinner <vstinner@redhat.com> 06 December 2018, 11:20:50 UTC
f740818 bpo-35384: The repr of ctypes.CArgObject no longer fails for non-ascii character. (GH-10863) (cherry picked from commit 3ffa8b9ba190101f674a0e524e482a83ed09cccd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 06 December 2018, 09:58:24 UTC
de8037d [3.7] bpo-34162: Update idlelib NEWS to 2018-12-05 (GH-10964) (GH-10980) Cherry-picked from 6ea9d54. 06 December 2018, 08:25:40 UTC
b1438c0 bpo-33709: test_ntpath and test_posixpath fail in Windows with ACP!=1252. (GH-7278) (cherry picked from commit 8752dfbd1f0c96ca09cdacabaf0d0f8c3895b6ce) Co-authored-by: native-api <ivan_pozdeev@mail.ru> 06 December 2018, 07:22:17 UTC
3c6b0d9 [3.7] Revert "bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH-9676)" (#10968) This reverts commit 97f998a4dfd6db6d867f446daa62445d0782bf39. 06 December 2018, 00:49:05 UTC
c28317e [3.7] Fix typo in xml.dom.minidom documentation (GH-10956) (GH-10961) Escape the \t and \n. Follow up from https://github.com/python/cpython/pull/10814.. (cherry picked from commit 2d8f976cde4794d174b44ff7d5fd970aa89c65e8) Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com> 06 December 2018, 00:24:44 UTC
0fc3b2f bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965) Moreover, "python3 -m test test_eintr -v" now avoids redirecting stdout/stderr to a pipe, the child process inherits stdout/stderr from the parent. (cherry picked from commit aa8ae904ad2f576f8e7b38a9a6542d3e9a569be9) Co-authored-by: Victor Stinner <vstinner@redhat.com> 05 December 2018, 23:35:43 UTC
022d7bc Fix typos in concurrent.Futures documentation (GH-10920) Add a missing word `as` in `as well as an`. Linkify `threading.Thread`. (cherry picked from commit 40a61da40d252626f8b9ff524d76c1f0ccb3a4f7) Co-authored-by: Matt Wheeler <m@funkyhat.org> 05 December 2018, 22:17:28 UTC
3451078 bpo-35310: Clear select() lists before returning upon EINTR (GH-10877) select() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, rlist, wlist and xlist should be cleared since select(2) left them unmodified. (cherry picked from commit 7f52415a6d4841d77d3b7853e83b25a22e0048dc) Co-authored-by: Oran Avraham <252748+oranav@users.noreply.github.com> 05 December 2018, 21:31:07 UTC
ac8b47c bpo-34604: Use %R because of invisible characters or trailing whitespaces. (GH-9165). (GH-10947) (cherry picked from commit 34c7f0c04e2b4e715b2c3df1875af8939fbe7d0b) Co-authored-by: William Grzybowski <wg@FreeBSD.org> 05 December 2018, 21:23:06 UTC
1de91a0 bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113). (GH-10946) (cherry picked from commit 5b25f1d03100e2283c1b129d461ba68ac0169a14) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 05 December 2018, 21:09:56 UTC
53bed18 bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419) (cherry picked from commit 67a93b3a0b3814e97ef9d077b21325fc8ce351b2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 December 2018, 20:29:31 UTC
349d991 Correct a couple of unbalanced parenthesis. (GH-10779) (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8) Co-authored-by: Andre Delfino <adelfino@gmail.com> 05 December 2018, 20:15:54 UTC
d2c7c1f Move __missing__ after __delitem__ in Data model. (GH-10923) (cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com> 05 December 2018, 20:11:16 UTC
c7c4e93 bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537) When running test_bdb.py as a script, `import test_module` would be importing the existing Lib/test/test_modules.py instead of the tempcwd/test_module.py module which was dynamically created by test_bdb.py itself. (cherry picked from commit 54fd45505b3a365e6d53441e6dd7e0d1ec13b46f) Co-authored-by: Alex H <1884912+lajarre@users.noreply.github.com> 05 December 2018, 19:54:42 UTC
e2f376f bpo-34987: Fix a possible null pointer dereference in _pickle.c's save_reduce(). (GH-9886) (cherry picked from commit 25d389789c59a52a31770f7c50ce9e02a8909190) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 05 December 2018, 19:35:41 UTC
983d1ab bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) * posixpath.expanduser() now returns the input path unchanged if the HOME environment variable is not set and pwd.getpwuid() raises KeyError (the current user identifier doesn't exist in the password database). * Add test_no_home_directory() to test_site. (cherry picked from commit f2f4555d8287ad217a1dba7bbd93103ad4daf3a8) Co-authored-by: Victor Stinner <vstinner@redhat.com> 05 December 2018, 16:07:57 UTC
2d594f8 bpo-35414: Add a missing Py_INCREF(Py_None) in PyState_RemoveModule(). (GH-10914) (cherry picked from commit 2a893430c9c8378cbdfac95895a64fa07aaff9ed) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 05 December 2018, 07:51:08 UTC
c93e3b0 bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) (GH-10911) (cherry picked from commit 4752e65250bce60b97d5af702d586092d02fbf58) 05 December 2018, 02:03:28 UTC
74a80e1 bpo-35411: Skip test_urllib2net FTP tests on Travis CI (GH-10907) On Travis CI, FTP tests of test_urllib2net randomly fail with "425 Security: Bad IP connecting". test.pythoninfo now also logs TRAVIS environment variable. (cherry picked from commit c11b3b19a5b022c6c229043d37f9a9fd06f22500) Co-authored-by: Victor Stinner <vstinner@redhat.com> 05 December 2018, 01:16:39 UTC
b02774f bpo-35296: make install now installs the internal API (GH-10665) (GH-10897) * bpo-35296: make install now installs the internal API (GH-10665) make install now also installs the internal API: Include/internal/*.h header files. (cherry picked from commit f653fd4d950ac092719b6152e38d77c62b443125) * Windows installer now also install Include/internal/ The Windows installer (MSI) now also install header files of the Include/internal/ subdirectory. 04 December 2018, 20:28:28 UTC
0091f34 bpo-29564: warnings suggests to enable tracemalloc (GH-10486) (GH-10509) The warnings module now suggests to enable tracemalloc if the source is specified, tracemalloc module is available, but tracemalloc is not tracing memory allocations. (cherry picked from commit 2c07c493d2eb45101312e3eb3a77f94d0c9cad1f) Co-authored-by: Victor Stinner <vstinner@redhat.com> 04 December 2018, 20:25:57 UTC
1751423 bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797) When using link time optimizations, the -flto flag is passed to BASECFLAGS, which makes it propagate to distutils. Those flags should be reserved for the interpreter and the stdlib extension modules only, thus moving those flags to CFLAGS_NODIST. (cherry picked from commit f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c) Co-authored-by: stratakis <cstratak@redhat.com> 04 December 2018, 15:06:16 UTC
12735c1 bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (GH-10873) (#10887) Fix minor typo in test function name. (cherry picked from commit e63e617ebbe481c498bdf037a62e09f4f9f3963f) Co-authored-by: Andrew Dunai <andunai@gmail.com> 04 December 2018, 09:34:34 UTC
6627d3a bpo-35395: fix typos in asyncio eventloop documentation (GH-10880) Fixes `loop.add_writer` and `loop.add_signal_handler` method documentation to correctly reference the callback parameter from method signature. https://bugs.python.org/issue35395 (cherry picked from commit 17473347942353946fe455f797a2197cb89c1090) Co-authored-by: Naglis <naglis@users.noreply.github.com> 04 December 2018, 07:36:31 UTC
5eb78c7 [3.7] bpo-35373: Fix PyInit_timezone() error handling (GH-10864) * bpo-35373: Fix PyInit_timezone() error handling PyInit_timezone() now returns -1 at exit if an exception is raised. Check also explicitly PyUnicode_DecodeLocale() and Py_BuildValue() errors. * bpo-35373: Fix PyInit_time() error handling (GH-10865) * PyInit_time() now returns NULL if an exception is raised. * Rename PyInit_timezone() to init_timezone(). "PyInit_" prefix is a special prefix for function initializing a module. init_timezone() doesn't initialize a module and the function is not exported. (cherry picked from commit 3bb150d8148e3cc08418077a58f43e064b9fde61) 03 December 2018, 23:09:02 UTC
e8f9e47 bpo-35226: Fix equality for nested unittest.mock.call objects. (GH-10555) Also refactor the call recording imolementation and add some notes about its limitations. (cherry picked from commit 8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68) Co-authored-by: Chris Withers <chris@withers.org> 03 December 2018, 21:54:44 UTC
fe91e9b [3.7] bpo-35380: Enable TCP_NODELAY for proactor event loop (GH-10867) (GH-10872) * bpo-35380: Enable TCP_NODELAY for proactor event loop (GH-10867) (cherry picked from commit 3bc0ebab17bf5a2c29d2214743c82034f82e6573) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 03 December 2018, 21:11:41 UTC
a9f435e bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) Use "ll" instead of the nonstandard "q". (cherry picked from commit 062cbb67726f26794b1b461853e40696b4a0b220) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 03 December 2018, 09:11:30 UTC
bdeb56c bpo-35372: Fix the code page decoder for input > 2 GiB. (GH-10848) (cherry picked from commit 4013c179117754b039957db4730880bf3285919d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 December 2018, 09:09:11 UTC
1ef06c6 bpo-32153: Add unit test for create_autospec with partial function returned in getattr (GH-10398) (#10855) * Add create_autospec with partial function returned in getattr * Use self.assertFalse instead of assert * Use different names and remove object (cherry picked from commit c667b094ae37799a7e42ba5cd2ad501cc7920888) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> 03 December 2018, 08:26:06 UTC
6cb0486 bpo-35341: Add generic version of OrderedDict to typing (GH-10850) (cherry picked from commit 68b56d02ef20479b87c65e523cf3dec1b7b77d40) Co-authored-by: Ismo Toijala <ismo.toijala@gmail.com> 02 December 2018, 16:14:44 UTC
265b419 bpo-35371: Fix possible crash in os.utime() on Windows. (GH-10844) (cherry picked from commit 32bc11c33cf5ccea165b5f4ac3799f02fdf9c76a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 01 December 2018, 12:52:04 UTC
7da9755 [3.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10824) (cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f) 01 December 2018, 12:19:39 UTC
422c165 bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302) (cherry picked from commit edeca92c84a3b08902ecdfe987cde00c7e617887) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> 01 December 2018, 10:24:47 UTC
38c06d9 get_gmtoff() now returns time_t (GH-10838) (GH-10839) get_gmtoff() now returns time_t instead of int to fix the following Visual Studio warning: Modules\timemodule.c(1183): warning C4244: 'return': conversion from 'time_t' to 'int', possible loss of data (cherry picked from commit 503ce5c482cb267b0770bc46c315d5cf822bdca9) 01 December 2018, 00:24:21 UTC
38bed78 [3.7] bpo-35352: test_asyncio uses the certificate set from the test directory (GH-10826) (GH-10834) * bpo-35352: test_asyncio uses the certificate set from the test directory (GH-10826) Modify asyncio tests to utilize the certificates from the test directory instead of its own set, as they are the same and with each update they had to be updated as well. (cherry picked from commit b062ba77b617b0f89b7ea25d14cc77c991462ad4) * bpo-35352: Cleanup test_asyncio/utils.py (GH-10831) 'here' variable is no longer needed. (cherry picked from commit 7212148c95947b0fdfcb0c8e37d4357287bdb4bd) 30 November 2018, 19:44:27 UTC
b135535 bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) Fix an undefined behaviour in the pthread implementation of PyThread_start_new_thread(): add a function wrapper to always return NULL. Add pythread_callback struct and pythread_wrapper() to thread_pthread.h. (cherry picked from commit 9eea6eaf23067880f4af3a130e3f67c9812e2f30) Co-authored-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 30 November 2018, 15:32:12 UTC
365f21c bpo-35347: Fix test_socket.NonBlockingTCPTests (GH-10791) testAccept() and testRecv() of test_socket.NonBlockingTCPTests have a race condition: time.sleep() is used as a weak synchronization primitive and the tests fail randomly on slow buildbots. Use a reliable threading.Event to fix these tests. Other changes: * Replace send() with sendall() * Expect specific BlockingIOError rather than generic OSError * Add a timeout to select() in testAccept() and testRecv() * Use addCleanup() to close sockets * Use assertRaises() (cherry picked from commit ebd5d6d6e6e4e751ba9c7534004aadfc27ba9265) Co-authored-by: Victor Stinner <vstinner@redhat.com> 30 November 2018, 11:48:17 UTC
df738d5 bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) (GH-10813) Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce the C locale if the LC_CTYPE locale is "C". (cherry picked from commit 55e498058faf8c97840556f6d791c2c392732dc3) 30 November 2018, 11:19:48 UTC
0df1f45 Fix typo in Memory Management doc. (GH-10798) (cherry picked from commit a40700439195a119878150f4f0d425c42ca957ef) Co-authored-by: Kevin Adler <kadler@us.ibm.com> 30 November 2018, 08:05:51 UTC
e604b6c bpo-35356: Fix a possible reference leak in nis.maps(). (GH-10808) (cherry picked from commit a2e3585e79c93b2372dbad46a744e28fcc6dad6d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 30 November 2018, 08:00:07 UTC
8a73cac [3.7] bpo-34279: Synchronize regrtest with master (GH-10800) * bpo-34605, libregrtest: Rename --slaveargs to --worker-args (GH-9099) Rename also run_tests_slave() to run_tests_worker(). (cherry picked from commit 012f5b968a738b15ae9b40c499a1c0778b0615a9) * bpo-34279, regrtest: Issue a warning if no tests have been executed (GH-10150) (cherry picked from commit 9724348b43a9005a449ba532ccd3c6726f031097) * test_regrtest: remove unused threading import 29 November 2018, 20:14:59 UTC
1659c08 bpo-33012: Fix more invalid function cast warnings with gcc 8. (GH-10751) Fix warnings with gcc 8 for wrapperfunc <-> wrapperfunc_kwds casts. (cherry picked from commit 1c607155c9e363489036ae6258b165a3fae75134) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 November 2018, 14:27:49 UTC
7eeab87 bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792) Fix ResourceWarning in platform.dist() and platform.linux_distribution() on SuSE and Caldera OpenLinux. Patch by Ville Skyttä. 29 November 2018, 11:31:08 UTC
e754159 bpo-16086: Fix PyType_GetFlags() documentation (GH-10758) (GH-10789) PyType_GetFlags() return type is unsigned long, not long. (cherry picked from commit 9fbcfc08e5814d7aa9287740187e461425a99f67) Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com> 29 November 2018, 11:07:33 UTC
2fa5b2a bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782) test_eintr no longer fails if the signal handler has not been called. (cherry picked from commit 2956bffbc00127af65f69e04d7979021a21d1288) Co-authored-by: Victor Stinner <vstinner@redhat.com> 29 November 2018, 00:52:11 UTC
d46d753 bpo-33723: Remove busy loop from test_time (GH-10773) The "busy loops" of test_process_time() and test_thread_time() are not reliable and fail randomly on Windows: remove them. (cherry picked from commit 48498dd57f79ab1d061c754ad6a2ebe1a7172b0e) Co-authored-by: Victor Stinner <vstinner@redhat.com> 28 November 2018, 17:58:31 UTC
24b51b1 bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) Unconditional forcing of ``CHECKED_HASH`` invalidation was introduced in 3.7.0 in bpo-29708. The change is bad, as it unconditionally overrides *invalidation_mode*, even if it was passed as an explicit argument to ``py_compile.compile()`` or ``compileall``. An environment variable should *never* override an explicit argument to a library function. That change leads to multiple test failures if the ``SOURCE_DATE_EPOCH`` environment variable is set. This changes ``py_compile.compile()`` to only look at ``SOURCE_DATE_EPOCH`` if no explicit *invalidation_mode* was specified. I also made various relevant tests run with explicit control over the value of ``SOURCE_DATE_EPOCH``. While looking at this, I noticed that ``zipimport`` does not work with hash-based .pycs _at all_, though I left the fixes for subsequent commits. (cherry picked from commit a6b3ec5b6d4f6387820fccc570eea08b9615620d) Co-authored-by: Elvis Pranskevichus <elvis@magic.io> 28 November 2018, 17:45:36 UTC
f71a592 bpo-34921: Allow escaped NoReturn in get_type_hints (GH-9750) (GH-10772) 28 November 2018, 17:22:09 UTC
c901045 pythoninfo: log more environment variable (GH-10719) (GH-10769) Log TZ to debug a timezone issue... and a few more :-) (cherry picked from commit 282c03d45d2d766c55904a4eb766923a2c459124) 28 November 2018, 17:04:30 UTC
9c16bc2 [3.7] Doc: Delete "how do I emulate os.kill" section in Windows FAQ (GH-10487) (GH-10767) 28 November 2018, 15:53:23 UTC
85ab974 bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759) (GH-10761) Fix memory leak in PyUnicode_EncodeLocale() and PyUnicode_EncodeFSDefault() on error handling. Fix unicode_encode_locale() error handling. (cherry picked from commit bde9d6bbb46ca59bcee5d5060adaa33c3ffee3a6) 28 November 2018, 11:42:40 UTC
80db40c bpo-33676: Fix dangling thread in _test_multiprocessing (GH-10755) Fix WithThreadsTestPool.test_wrapped_exception() of test_multiprocessing_fork: join the pool. WithThreadsTestPool.test_del_pool() is now also decorated with @support.reap_threads. (cherry picked from commit b7278736b3ae158a7738057e3045bc767ced019e) Co-authored-by: Victor Stinner <vstinner@redhat.com> 28 November 2018, 00:30:34 UTC
ad8ac54 bpo-33012: Fix signatures of METH_NOARGS functions. (GH-10736) (GH-10748) (cherry picked from commit 81524022d0c0df7a41f9b2b2df41e2ebe140e610) 27 November 2018, 18:27:47 UTC
5ceb701 bpo-33029: Fix signatures of getter and setter functions. (GH-10746) Fix also return type for few other functions (clear, releasebuffer). (cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 November 2018, 17:58:07 UTC
d669154 bpo-35317: Fix mktime() error in test_email (GH-10721) Fix mktime() overflow error in test_email: run test_localtime_daylight_true_dst_true() and test_localtime_daylight_false_dst_true() with a specific timezone. (cherry picked from commit cfaafda8e3e19764682abb4bd4c574accb784c42) Co-authored-by: Victor Stinner <vstinner@redhat.com> 27 November 2018, 11:57:56 UTC
7f9fb0f bpo-33954: Rewrite FILL() macro of unicodeobject.c (GH-10738) Copy code from master: add assertions on start and value, replace 'i' iterator with 'end' pointer for the loop stop condition. _PyUnicode_FastFill(): fix type of 'data', it must not be constant, since data is modified by FILL(). 27 November 2018, 11:42:04 UTC
716a808 closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712) (cherry picked from commit da324d53d420347344236ff64cf5eb9b675d6f86) Co-authored-by: E. M. Bray <erik.m.bray@gmail.com> 27 November 2018, 02:32:57 UTC
2a37f01 bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) Regression introduced in e3ce695 and 25b804a, where the old parameter update_tryorder to _synthesize was first ignored, then given the opposite value in the attempt to fix bpo-31014. (cherry picked from commit 8c281ed403fd915284d5bba2405d7c47f8195066) Co-authored-by: Zhiming Wang <i@zhimingwang.org> 26 November 2018, 21:49:28 UTC
5350dd1 bpo-33723: Fix test_time.test_thread_time() (GH-10724) Tolerate up to 30 ms, instead of 15 min, in other threads. (cherry picked from commit 65c216e74f7957006ef7653b7e2afe83007c45ce) Co-authored-by: Victor Stinner <vstinner@redhat.com> 26 November 2018, 20:36:54 UTC
6f8cab0 [3.7] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) (GH-10722) (cherry picked from commit 5719f275b7153a00a800f5481271a6fc26659c65) Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com> https://bugs.python.org/issue35255 26 November 2018, 17:05:48 UTC
back to top