- 11 Dec, 2018 4 commits
-
-
Ned Deily authored
-
Miss Islington (bot) authored
(cherry picked from commit 7cf3d8e2) Co-authored-by: Ned Deily <nad@python.org>
-
Miss Islington (bot) authored
https://bugs.python.org/issue35401 (cherry picked from commit 419b5ffc2ca46d7adf0be6216ca3a6e40028e50f) Co-authored-by: Ned Deily <nad@python.org>
-
Steve Dower authored
-
- 10 Dec, 2018 4 commits
-
-
Victor Stinner authored
Include <pyconfig.h> ealier in Modules/expat/xmlparse.c to define properly _POSIX_C_SOURCE and _XOPEN_SOURCE.
-
Victor Stinner authored
Use GCC __attribute__((unused)) to mark the debug variable 'filename' as unused in Python/ceval.c.
-
Miss Islington (bot) authored
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 cf247359) Co-authored-by: Victor Stinner <vstinner@redhat.com>
-
Victor Stinner authored
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 8e041868)
-
- 07 Dec, 2018 1 commit
-
-
Serhiy Storchaka authored
(cherry picked from commit 42b1d612) (cherry picked from commit 7a2cf1e7d3bf300e98c702589d405734f4a8fcf8)
-
- 06 Dec, 2018 5 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit c9566b8c) Co-authored-by: Andre Delfino <adelfino@gmail.com>
-
Victor Stinner authored
Define _CRT_SECURE_NO_WARNINGS in the Visual Studio pythoncore project to make quiet security warnings when building zlib C files (Modules\zlib\ subdirectory).
-
native-api authored
-
Andre Delfino authored
(cherry picked from commit 55f41e45)
-
Victor Stinner authored
Revert "[2.7] bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-9686)" (GH-10970) This reverts commit 4a7dd30f.
-
- 05 Dec, 2018 8 commits
-
-
Miss Islington (bot) authored
Escape the \t and \n. Follow up from https://github.com/python/cpython/pull/10814. (cherry picked from commit 2d8f976c) Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
-
Serhiy Storchaka authored
[2.7] bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113). (GH-10946) (GH-10955) (cherry picked from commit 5b25f1d0) (cherry picked from commit 1de91a0032fed500ddd3d8c4fb7a38c0b8719f67) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>.
-
Serhiy Storchaka authored
(cherry picked from commit 67a93b3a)
-
Serhiy Storchaka authored
(cherry picked from commit 4edeaeac) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
-
Andre Delfino authored
(cherry picked from commit 1ce853f3) Co-authored-by: Andre Delfino <adelfino@gmail.com>
-
Victor Stinner authored
* 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 f2f4555d)
-
Miss Islington (bot) authored
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 54fd4550) Co-authored-by: Alex H <1884912+lajarre@users.noreply.github.com>
-
Miss Islington (bot) authored
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 c11b3b19) Co-authored-by: Victor Stinner <vstinner@redhat.com>
-
- 04 Dec, 2018 2 commits
-
-
Serhiy Storchaka authored
(cherry picked from commit 735abadd) Co-Authored-By: Segev Finer <segev208@gmail.com>
-
Serhiy Storchaka authored
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 fdb5a50e)
-
- 03 Dec, 2018 2 commits
-
-
Victor Stinner authored
Coarse benchmark on Fedora 29: 1.6 sec => 0.1 sec. Co-Authored-By: Antoine Pitrou <solipsis@pitrou.net> (cherry-picked from commit ba7c2260)
-
Victor Stinner authored
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().
-
- 01 Dec, 2018 1 commit
-
-
E Kawashima authored
(cherry picked from commit b7c21826)
-
- 30 Nov, 2018 6 commits
-
-
Victor Stinner authored
Fix DeprecationWarning when tests are run using python -3.
-
Victor Stinner authored
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.
-
Victor Stinner authored
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 9eea6eaf)
-
Victor Stinner authored
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 ebd5d6d6)
-
Victor Stinner authored
Running test_bytes with python -3 -Wd emits two DeprecationWarning on "1/0". Use "1//0" to prevent the warning.
-
Miss Islington (bot) authored
(cherry picked from commit a2e3585e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 29 Nov, 2018 3 commits
-
-
Victor Stinner authored
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.
-
Victor Stinner authored
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
-
Benjamin Peterson authored
-
- 28 Nov, 2018 1 commit
-
-
Victor Stinner authored
Log TZ to debug a timezone issue... and a few more :-) (cherry picked from commit 282c03d4)
-
- 23 Nov, 2018 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit ba57963a) Co-authored-by: takey <taketakeyyy@gmail.com>
-
- 22 Nov, 2018 1 commit
-
-
- 21 Nov, 2018 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit 6b73bb52) Co-authored-by: Julien Palard <julien@palard.fr>
-