Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
46aa472 [2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963) (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8) 06 December 2018, 09:19:23 UTC
358fc87 Revert "[2.7] bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-9686)" (GH-10970) This reverts commit 4a7dd30f5810e8861a3834159a222ab32d5c97d0. 06 December 2018, 00:49:41 UTC
40ef5b7 Fix typo in xml.dom.minidom documentation (GH-10956) 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> 05 December 2018, 22:31:11 UTC
fff8fab [2.7] bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113). (GH-10946) (GH-10955) (cherry picked from commit 5b25f1d03100e2283c1b129d461ba68ac0169a14) (cherry picked from commit 1de91a0032fed500ddd3d8c4fb7a38c0b8719f67) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>. 05 December 2018, 22:21:40 UTC
b2742ba [2.7] bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419). (GH-10950) (cherry picked from commit 67a93b3a0b3814e97ef9d077b21325fc8ce351b2) 05 December 2018, 22:02:10 UTC
abe74fe [2.7] bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565). (GH-10943) (cherry picked from commit 4edeaeac4c194ba5d09187640b5cfca5e03be617) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com> 05 December 2018, 21:10:36 UTC
c6639cd [2.7] Move __missing__ after __delitem__ in Data model. (GH-10923). (GH-10944) (cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com> 05 December 2018, 21:09:25 UTC
b50b33b bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) (GH-10930) * 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) 05 December 2018, 20:56:24 UTC
bacc272 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, 20:04:57 UTC
c7976da 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:22:02 UTC
93d7918 [2.7] bpo-16865: Support arrays >=2GB in ctypes. (GH-3006). (GH-7441) (cherry picked from commit 735abadd5bd91db4a9e6f4311969b0afacca0a1a) Co-Authored-By: Segev Finer <segev208@gmail.com> 04 December 2018, 10:38:07 UTC
eab421b [2.7] bpo-25862: Fix several bugs in the _io module. (GH-8026) (GH-8033) They can be exposed when some C API calls fail due to lack of memory. * Failed Py_BuildValue() could cause an assertion error in the following TextIOWrapper.tell(). * initvalue could leak in StringIO.__getstate__() after failed PyDict_Copy(). (cherry picked from commit fdb5a50ef34f7951c3b01eb77b1359725a9ad670) 04 December 2018, 10:02:48 UTC
8687bd8 bpo-26544: Make platform.libc_ver() less slow (GH-10868) Coarse benchmark on Fedora 29: 1.6 sec => 0.1 sec. Co-Authored-By: Antoine Pitrou <solipsis@pitrou.net> (cherry-picked from commit ba7c226095703f63c78b00e56f1db8d99ac3a54a) 03 December 2018, 15:49:24 UTC
c275be5 bpo-35368: Make PyMem_Malloc() thread-safe in debug mode (GH-10828) When Python is compiled in debug mode, PyMem_Malloc() uses debug hooks, but it also uses pymalloc allocator instead of malloc(). Problem: pymalloc is not thread-safe, whereas PyMem_Malloc() is thread-safe in release mode (it's a thin wrapper to malloc() in this case). Modify the debug hook to use malloc() for PyMem_Malloc(). 03 December 2018, 11:29:29 UTC
dfd4a1d [2.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10827) (cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f) 01 December 2018, 12:16:00 UTC
2212ee2 Replace 1/0 with 1//0 in tests to avoid Python 3 warns (GH-10833) Fix DeprecationWarning when tests are run using python -3. 30 November 2018, 19:45:04 UTC
bc9f53f bpo-33015: Use malloc() in PyThread_start_new_thread() (GH-10829) The pthread implementation of PyThread_start_new_thread() now uses malloc/free rather than PyMem_Malloc/PyMem_Free, since the latters are not thread-safe. 30 November 2018, 17:08:02 UTC
8f83c2f bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) (GH-10823) 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) 30 November 2018, 16:04:35 UTC
dab59fa bpo-35347: Fix test_socket.NonBlockingTCPTests (GH-10791) (GH-10817) 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() * Add a timeout to select() in testAccept() and testRecv() * Use addCleanup() to close sockets * Use assertRaises() (cherry picked from commit ebd5d6d6e6e4e751ba9c7534004aadfc27ba9265) 30 November 2018, 12:02:41 UTC
d7a880c Fix DeprecationWarning in test_bytes (GH-10805) Running test_bytes with python -3 -Wd emits two DeprecationWarning on "1/0". Use "1//0" to prevent the warning. 30 November 2018, 10:04:42 UTC
f3fe21a 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:04:43 UTC
f681e93 bpo-34021: Windows skips test_regrtest.test_env_changed() (GH-10804) On Windows, test_env_changed() of test_regrtest is now skipped because it fails randomly for an unknown reason on "x86 Windows XP VS9.0 2.7" buildbot worker. 29 November 2018, 22:38:35 UTC
3600300 bpo-34279, regrtest: Issue a warning if no tests have been executed (GH-10801) Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com> 29 November 2018, 20:14:42 UTC
2e869a8 closes bpo-35340: Add freegrammar to pgenheaders.h. (GH-10788) 29 November 2018, 07:37:15 UTC
22338f3 pythoninfo: log more environment variable (GH-10719) (GH-10774) Log TZ to debug a timezone issue... and a few more :-) (cherry picked from commit 282c03d45d2d766c55904a4eb766923a2c459124) 28 November 2018, 20:12:54 UTC
0ef0398 Linkify SMTP.quit() in smtplib documentation. (GH-9785) (cherry picked from commit ba57963a95a994947b8bec6869e810a74a751278) Co-authored-by: takey <taketakeyyy@gmail.com> 23 November 2018, 17:01:31 UTC
daa34b8 [2.7] bpo-35035: Rename email.utils documentation to email.utils.rst (GH-10023) (GH-10667) https://bugs.python.org/issue35035 22 November 2018, 22:18:05 UTC
fcbceba bpo-31146: Don't fallback switcher to english on not-yet pusblished languages. (GH-10558) (cherry picked from commit 6b73bb523a176123a819e4ebac3727d31d861515) Co-authored-by: Julien Palard <julien@palard.fr> 21 November 2018, 22:47:10 UTC
40fdf47 [2.7] bpo-35021: Fix assertion failures in _datetimemodule.c. (GH-10039) (GH-10617) Fixes assertion failures in _datetimemodule.c introduced in the previous fix (see bpo-31752). Rather of trying to handle an int subclass as exact int, let it to use overridden special methods, but check the result of divmod(). (cherry picked from commit 3ec0f495163da3b7a15deb2805cec48aed432f58) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 20 November 2018, 19:56:34 UTC
4845aa6 Upgrade pip to 18.1 and setuptools to 40.6.2 (GH-10598) (cherry picked from commit 8b9c33ea9ce902f902c9d9900121010801950547) Co-authored-by: Donald Stufft <donald@stufft.io> 19 November 2018, 13:07:58 UTC
e45fa73 Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576) This missed PyErr_NoMemory() could cause a SystemError when calling _symtable.symtable(). (cherry picked from commit ad65f15581173542f1d2a9968a63bee272510ce3) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 16 November 2018, 16:32:07 UTC
2907d93 Fix a possible reference leak in _socket.getaddrinfo(). (GH-10543) "single" needs to be decrefed if PyList_Append() fails. (cherry picked from commit 4c596d54aa6a55e9d2a3db78891e656ebbfb63c8) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 15 November 2018, 09:25:58 UTC
b6f4472 [2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10538) Discovered using clang's MemorySanitizer. A msan build will fail by simply executing: ./python -c 'u"\N"' (cherry picked from commit 746b2d3) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC] 14 November 2018, 19:55:07 UTC
back to top