- 31 Dec, 2018 11 commits
-
-
Serhiy Storchaka authored
* Replace the docstrings cache with sys.intern(). * Improve tests. * Unify names of tp_descr_get and tp_descr_set functions.
-
Serhiy Storchaka authored
-
sth authored
A minor typo in the output of `python -m test -h`. A space was missing in between two words. howmuch -> how much
-
Sanyam Khurana authored
-
Gregory P. Smith authored
It doesn't know the details of a few less common libc functions.
-
Gregory P. Smith authored
* skip test_constructor under msan. * fix the others as well. * reuse existing related news entry. * typo fix
-
Gregory P. Smith authored
-
Jakub Kulík authored
Python source code uses on several places ifdef sun or defined(sun) without the underscores, which is not standard compliant and shouldn't be used. Defines should check for __sun instead. Reference: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#Solaris https://bugs.python.org/issue35550
-
Gregory P. Smith authored
Also skip the same tests when using the undefined behavior sanitizer as they much with the output. Updates a regex in another test to use multi-line mode so that the ubsan buildbot should pass again rather than also adding a skip to that one.
-
Gregory P. Smith authored
HASH_OBJ_CONSTRUCTOR has always been defined as 0 since I created hashlib in Python 2.5. Delete all code associated with it.
-
Gregory P. Smith authored
Add Clang Memory Sanitizer build instrumentation to work around false positives from the socket and time modules as well as skipping a couple test_faulthandler tests.
-
- 30 Dec, 2018 5 commits
-
-
Gregory P. Smith authored
Use crypt_r() when available instead of crypt() in the crypt module. As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer.
-
sth authored
`set_child_watcher()` *sets* the watcher.
-
Cheryl Sabella authored
-
Pablo Galindo authored
* bpo-32492: 2.5x speed up in namedtuple attribute access using C fast path * Add News entry * fixup! bpo-32492: 2.5x speed up in namedtuple attribute access using C fast path * Check for tuple in the __get__ of the new descriptor and don't cache the descriptor itself * Don't inherit from property. Implement GC methods to handle __doc__ * Add a test for the docstring substitution in descriptors * Update NEWS entry to reflect time against 3.7 branch * Simplify implementation with argument clinic, better error messages, only __new__ * Use positional-only parameters for the __new__ * Use PyTuple_GET_SIZE and PyTuple_GET_ITEM to tighter the implementation of tuplegetterdescr_get * Implement __set__ to make tuplegetter a data descriptor * Use Py_INCREF now that we inline PyTuple_GetItem * Apply the valid_index() function, saving one test * Move Py_None test out of the critical path.
-
Cheryl Sabella authored
-
- 29 Dec, 2018 6 commits
-
-
Sergey Fedoseev authored
-
Pablo Galindo authored
bpo-35602: Make sure the transport is always closed in SelectorEventLoopUnixSockSendfileTests (GH-11338) There is a race condition in SelectorEventLoopUnixSockSendfileTests that causes the prepare() method return a non connected server protocol, making the cleanup() method skips the correct handling of the transport. This commit makes prepare() always return a connected server protocol that can always be cleaned up correctly.
-
Xtreak authored
-
Pablo Galindo authored
The problem affects _testWithTimeoutTriggeredSend in test_socket.py.
-
Pablo Galindo authored
There is a race condition regarding signal delivery in test_signal_handling_args for test_asyncio.test_events.KqueueEventLoopTests. The signal can be received at any moment outside the time window provided in the test. The fix is to wait for the signal to be received instead with a bigger timeout.
-
Terry Jan Reedy authored
The attribute is still used in other modules.
-
- 28 Dec, 2018 7 commits
-
-
Cheryl Sabella authored
-
Cheryl Sabella authored
This will be needed for other menu items. Change outwin to call the function instead of updating the menu item directly.
-
jab authored
-
Michael Felt authored
Command line options for the xlc compiler behave differently from gcc and clang, so skip this test case for now when xlc is the compiler. Patch by aixtools (Michael Felt)
-
Michael Felt authored
* Fix test_mktime on AIX by adding code to get mktime to behave the same way as it does on other *nix systems * Fix test_pthread_getcpuclickid in AIX by adjusting the test case expectations when running on AIX in 32-bit mode Patch by Michael Felt.
-
Terry Jan Reedy authored
-
Cheryl Sabella authored
A few other changes make the code easier to follow.
-
- 27 Dec, 2018 4 commits
-
-
Ned Deily authored
-
Ned Deily authored
This reverts commit 7cf3d8e2. Due to regressions found with using Tk 8.6.9.1, build the python.org macOS installers with Tcl/Tk 8.6.8 as used in previous releases. https://bugs.python.org/issue35402
-
-
Tal Einat authored
-
- 26 Dec, 2018 7 commits
-
-
Andrew Svetlov authored
bpo-35585: Speed up enum by-value lookup
-
Michael Felt authored
Depending on system config, a missing candidate compiler name may be reported as the empty string rather than as None, so adjust the test helper accordingly.
-
Michael Felt authored
AIX allows a trailing slash on local file system paths, which isn't what we want in http.server. Accordingly, check explicitly for this case in the server code, rather than relying on the OS raising an exception. Patch by Michael Felt.
-
Michael Felt authored
This test case needs "signed short" bitfields, but the IBM XLC compiler (on AIX) does not support this. Skip the code and test when AIX and XLC are used. Use __xlc__ as identifier to detect the XLC compiler.
-
Michael Felt authored
* use platform.system() as runtime test, rather than sys.platform() build-time test * IPv6 zone id support on AIX is limited to inet_pton6_zone(), so skip related getaddrinfo() and getnameinfo() tests as not supported
-
Raymond Hettinger authored
-