| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Issue #26464: Fix str.translate() when string is ASCII and first replacements
removes character, but next replacement uses a non-ASCII character or a string
longer than 1 character. Regression introduced in Python 3.5.0.
|
|
|
|
|
| |
when resulting prefix length is equal to maximal prefix length.
Based on patch by Xiang Zhang.
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
to SilentGhost for the patch.
|
| | |
|
| |
| |
| |
| |
| | |
This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte
Fennema, test case by me.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As of Xcode 7, SDKs for Apple platforms now include textual-format stub
libraries whose file names have a .tbd extension rather than the
standard OS X .dylib extension. The Apple compiler tool chain handles
these stub libraries transparently and the installed system shared libraries
are still .dylibs. However, the new stub libraries cause problems for
third-party programs that support building with Apple SDKs and make
build-time decisions based on the presence or paths of system-supplied
shared libraries in the SDK. In particular, building Python itself with
an SDK fails to find system-supplied libraries during setup.py's build of
standard library extension modules. The solution is to have
find_library_file() in Distutils search for .tbd files, along with
the existing types (.a, .so, and .dylib). Patch by Tim Smith.
|
| |
| |
| |
| | |
(correcting regression in Python 3.5).
|
| |
| |
| |
| | |
Patch by Swati Jaiswal.
|
| |
| |
| |
| | |
current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It can now handle OpenSSL versions 1.0.2e and greater, which don't
include include files in include/.
Note that sources prepared by this script no longer support the old
project files for 2.7; you now have to have Perl available to use
the old build_ssl.py script with sources from svn.python.org.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
importlib.util.LazyLoader.
The class was checking its argument as to whether its implementation
of create_module() came directly from importlib.abc.Loader. The
problem is that the classes coming from imoprtlib.machinery do not
directly inherit from the ABC as they come from _frozen_importlib.
Because the documentation has always said that create_module() was
ignored, the check has simply been removed.
|
| |
| |
| |
| |
| |
| |
| | |
'level' is specified but no __package__.
This brings the function inline with builtins.__import__(). Thanks to
Manuel Jacob for the patch.
|
| |
| |
| |
| | |
Patch by Aviv Palivoda.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch from Chi Hsuan Yen.
|
| |
| |
| |
| | |
versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
no ResourceWarning is emitted.
|
| |
| |
| |
| |
| | |
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
|
| | |
|
| |
| |
| |
| | |
when the iteration is finished, but when it was failed with error.
|
| | |
|
| |
| |
| |
| | |
Based on patch by Guido van Rossum.
|
| |
| |
| |
| | |
Based on patches by Brian Brazil and Daniel Rocco.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
|
| |
| |
| |
| | |
Based on patch by Aviv Palivoda.
|
| | |
|
| |
| |
| |
| |
| |
| | |
invalid pattern.
Patch by Thomas Nyberg.
|
| |
| |
| |
| | |
Based on patch by Hagen Fürstenau and Daniel Urban.
|
| |
| |
| |
| | |
non-atomic attributes.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Issue #26227: On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex()
functions of the socket module now decode the hostname from the ANSI code page
rather than UTF-8.
|
| |
| |
| |
| | |
Also add some more tests. Based on patch by Sye van der Veen.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.
Add a new _PyCode_ConstantKey() private function.
|
| |
| |
| |
| |
| |
| |
| | |
This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when
translating the documentation. Patch written by Julien Palard who is
translating Python 3.5 doc to french. Text of other licenses already used
preformatted format.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.
Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.
Changes:
* Replace direct usage of the _PyThreadState_Current variable with a call to
_PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h
|
| |
| |
| |
| | |
non-UTF-8 encoding.
|