- 05 Feb, 2015 4 commits
-
-
Donald Stufft authored
-
Donald Stufft authored
-
Gregory P. Smith authored
pass -I or -E to the child process by default when the environment is required for the child process interpreter to function properly.
-
Gregory P. Smith authored
pass -I or -E to the child process by default when the environment is required for the child process interpreter to function properly.
-
- 04 Feb, 2015 10 commits
-
-
Raymond Hettinger authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* _check_resolved_address() is implemented with getaddrinfo() which is slow * If available, use socket.inet_pton() instead of socket.getaddrinfo(), because it is much faster Microbenchmark (timeit) on Fedora 21 (Python 3.4, Linux 3.17, glibc 2.20) to validate the IPV4 address "127.0.0.1" or the IPv6 address "::1": * getaddrinfo() 10.4 usec per loop * inet_pton(): 0.285 usec per loop On glibc older than 2.14, getaddrinfo() always requests the list of all local IP addresses to the kernel (using a NETLINK socket). getaddrinfo() has other known issues, it's better to avoid it when it is possible.
-
Victor Stinner authored
Just try to be consistent: _debug was already used in some places, and always used in BaseProactorEventLoop.
-
Gregory P. Smith authored
to end up in distutils CFLAGS.
-
Gregory P. Smith authored
to end up in distutils CFLAGS.
-
Gregory P. Smith authored
interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a test.script_helper.interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.
-
Gregory P. Smith authored
interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a private test.script_helper._interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.
-
- 03 Feb, 2015 15 commits
-
-
Stefan Krah authored
-
Stefan Krah authored
and array_buffer_getbuf().
-
Serhiy Storchaka authored
It was expected that string_size == PyBytes_GET_SIZE(buf) if the buffer is shared, but truncate() and __setstate__() can set string_size without unsharing the buffer.
-
Raymond Hettinger authored
Issue 23359: Reduce size of code in set_lookkey. Only do linear probes when there is no wrap-around. Nice simplification contributed by Serhiy Storchaka :-)
-
Stefan Krah authored
and bytearray_getbuffer(). Both functions now raise BufferError in that case.
-
Victor Stinner authored
-
Victor Stinner authored
-
Serhiy Storchaka authored
-
Berker Peksag authored
Patch by Demian Brecht.
-
Berker Peksag authored
Patch by Martin Panter.
-
Berker Peksag authored
Patch by Martin Panter.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
raises a warning. Patterns that can only match empty strings are now rejected.
-
Serhiy Storchaka authored
prevent corrupting exported buffer.
-
Serhiy Storchaka authored
prevent corrupting exported buffer.
-
- 02 Feb, 2015 11 commits
-
-
Serhiy Storchaka authored
Used PyMem_New to check overflow.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Used PyMem_New to check overflow.
-
Serhiy Storchaka authored
Used PyMem_New to check overflow.
-
Serhiy Storchaka authored
and PyObject_AsWriteBuffer().
-
Serhiy Storchaka authored
and PyObject_AsWriteBuffer().
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-