- 01 Jul, 2019 16 commits
-
-
Steve Dower authored
-
Vinay Sajip authored
-
Victor Stinner authored
Stop using "static PyConfig", PyConfig must now always use dynamically allocated strings: use PyConfig_SetString(), PyConfig_SetArgv() and PyConfig_Clear().
-
Vinay Sajip authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Fix sys.excepthook() and PyErr_Display() if a filename is a bytes string. For example, for a SyntaxError exception where the filename attribute is a bytes string. Cleanup also test_sys: * Sort imports. * Rename numruns global var to INTERN_NUMRUNS. * Add DisplayHookTest and ExceptHookTest test case classes. * Don't save/restore sys.stdout and sys.displayhook using setUp()/tearDown(): do it in each test method. * Test error case (call hook with no argument) after the success case.
-
Pierre Glaser authored
-
Miro Hrončok authored
bdist_wininst depends on MBCS codec, unavailable on non-Windows, and bdist_wininst have not worked since at least Python 3.2, possibly never on Python 3. Here we document that bdist_wininst is only supported on Windows, and we mark it unsupported otherwise to skip tests. Distributors of Python 3 can now safely drop the bdist_wininst .exe files without the need to skip bdist_wininst related tests.
-
Vinay Sajip authored
-
Pablo Galindo authored
bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959) Add PyCode_NewEx to be used internally and set PyCode_New as a compatibility wrapper
-
Ned Deily authored
-
Christian Heimes authored
Post-handshake authentication is required for conditional client cert authentication with TLS 1.3. https://bugs.python.org/issue37440
-
Christian Heimes authored
SSLContext.post_handshake_auth = True no longer sets SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the option is documented as ignored for clients, OpenSSL implicitly enables cert chain validation when the flag is set. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue37428
-
Krishna Oza authored
Subsequent -> subsequent https://bugs.python.org/issue36168
-
- 30 Jun, 2019 4 commits
-
-
Zackery Spytz authored
-
Andrew Svetlov authored
bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread (GH-14344)
-
Ammar Askar authored
Add more fuzz testing for re.compile, re.load and csv.reader
-
tmblweed authored
* Added documentation for textwrap.dedent behavior. * Remove an obsolete note about pre-2.5 behavior from the docstring.
-
- 29 Jun, 2019 5 commits
-
-
Benjamin Peterson authored
-
Andre Delfino authored
-
Andre Delfino authored
-
Steve Dower authored
-
Steve Dower authored
sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
-
- 28 Jun, 2019 11 commits
-
-
Kyle Stanley authored
Also renamed the file to "test_pkg_import.py" to better follow the naming convention. Component of issue 19696. https://bugs.python.org/issue19696
-
Brett Cannon authored
Add a versionadded for PS Core and note that `.venv` is a common virtual environment name.
-
Brian Quinlan authored
* bpo-31783: Fix a race condition while creating workers during interpreter shutdown *
📜 🤖 Added by blurb_it. -
Victor Stinner authored
-
Ruslan Kuprieiev authored
As noted by @eryksun in [1] and [2], using _cleanup and _active(in __del__) is not necessary on Windows, since: > Unlike Unix, a process in Windows doesn't have to be waited on by > its parent to avoid a zombie. Keeping the handle open will actually > create a zombie until the next _cleanup() call, which may be never > if Popen() isn't called again. This patch simply defines `subprocess._active` as `None`, for which we already have the proper logic in place in `subprocess.Popen.__del__`, that prevents it from trying to append the process to the `_active`. This patch also defines `subprocess._cleanup` as a noop for Windows. [1] https://bugs.python.org/issue37380#msg346333 [2] https://bugs.python.org/issue36067#msg336262Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai>
-
Victor Stinner authored
On Windows, test.pythoninfo now checks if support for long paths is enabled using ntdll.RtlAreLongPathsEnabled() function. Co-Authored-By: Eryk Sun <eryksun@gmail.com>
-
Victor Stinner authored
* Fix test for integer overflow. * Add an unit test.
-
Victor Stinner authored
Don't call _Py_isabs() with a bytes string (char*), the function expects as wide string.
-
Jeroen Demeyer authored
-
Hai Shi authored
-
Benjamin Peterson authored
-
- 27 Jun, 2019 4 commits
-
-
Steve Dower authored
Also updates some (unreleased) event names to be consistent with the others.
-
Inada Naoki authored
-
Brandt Bucher authored
-
Andrew Svetlov authored
-