summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Fix str.translate()Victor Stinner2016-03-011-0/+4
| | | | | | 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.
* Issue #26457: Fixed the subnets() methods in IP network classes for the caseSerhiy Storchaka2016-03-011-0/+4
| | | | | when resulting prefix length is equal to maximal prefix length. Based on patch by Xiang Zhang.
* Issue #26385: Cleanup NamedTemporaryFile if open() fails, by SilentGhostMartin Panter2016-02-281-0/+3
|
* Issue #22836: Keep exception reports sensible despite errorsMartin Panter2016-02-281-0/+5
|
* #26246: merge with 3.4.Ezio Melotti2016-02-271-0/+1
|\
| * #26246: update copybutton.js after JQuery update. Patch by Liang-Bo Wang.Ezio Melotti2016-02-271-0/+1
| |
* | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-1/+1
| | | | | | | | to SilentGhost for the patch.
* | Issue #24421: Compile _math.c separately to avoid race conditionMartin Panter2016-02-031-0/+4
| |
* | Issue #26402: Fix XML-RPC client retrying after server disconnectionMartin Panter2016-02-251-0/+4
| | | | | | | | | | This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte Fennema, test case by me.
* | Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.Ned Deily2016-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #26302: Correctly identify comma as an invalid character for a cookie ↵Anish Shah2016-02-071-0/+3
| | | | | | | | (correcting regression in Python 3.5).
* | Issue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True.Serhiy Storchaka2016-02-241-0/+3
| | | | | | | | Patch by Swati Jaiswal.
* | Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls onNed Deily2016-02-231-0/+3
| | | | | | | | current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
* | Issue #26268: Update Windows builds to use OpenSSL 1.0.2fZachary Ware2016-02-221-1/+2
| |
* | Issue #26268: Update the prepare_ssl.py scriptZachary Ware2016-02-221-0/+4
| | | | | | | | | | | | | | | | | | 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.
* | Fix some typos in the NEWS fileBrett Cannon2016-02-211-1/+1
| |
* | Issue #26186: Remove an invalid type check inBrett Cannon2016-02-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #26367: Have importlib.__init__() raise RuntimeError whenBrett Cannon2016-02-201-0/+4
| | | | | | | | | | | | | | 'level' is specified but no __package__. This brings the function inline with builtins.__import__(). Thanks to Manuel Jacob for the patch.
* | Issue #26309: Shut down socketserver request if verify_request() is falseMartin Panter2016-02-181-0/+4
| | | | | | | | Patch by Aviv Palivoda.
* | merge 3.4 (closes #25939)Benjamin Peterson2016-02-181-0/+2
|\ \ | |/
| * open the cert store readonlyBenjamin Peterson2016-02-181-0/+2
| | | | | | | | Patch from Chi Hsuan Yen.
* | Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS XNed Deily2016-02-151-0/+3
| | | | | | | | versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.
* | Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.Ned Deily2016-02-151-1/+1
| |
* | Issue #26316: Fix variable name typo in Argument ClinicMartin Panter2016-02-141-0/+6
| |
* | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-131-0/+3
| |
* | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.Serhiy Storchaka2016-02-111-0/+2
| |
* | Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-111-0/+3
| | | | | | | | no ResourceWarning is emitted.
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-102-23/+23
| | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* | Issues #26310, #26311: Fix typos in the documentation and code commentsMartin Panter2016-02-101-1/+1
| |
* | Issue #26117: The os.scandir() iterator now closes file descriptor not onlySerhiy Storchaka2016-02-081-0/+3
| | | | | | | | when the iteration is finished, but when it was failed with error.
* | Issue #25911: Restored support of bytes paths in os.walk() on Windows.Serhiy Storchaka2016-02-081-0/+2
| |
* | Issue #26045: Add UTF-8 suggestion to error in http.clientMartin Panter2016-02-091-0/+3
| | | | | | | | Based on patch by Guido van Rossum.
* | Issue #12923: Reset FancyURLopener's redirect counter even on exceptionMartin Panter2016-02-042-0/+4
| | | | | | | | Based on patches by Brian Brazil and Daniel Rocco.
* | Issue #25660: Fix TAB key behaviour in REPL.Yury Selivanov2016-02-041-0/+3
| |
* | Issue #25945: Fixed bugs in functools.partial.Serhiy Storchaka2016-02-021-0/+5
| | | | | | | | | | | | | | 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.
* | Issue #26244: Clarify default zlib compression level in documentationMartin Panter2016-02-031-0/+1
| | | | | | | | Based on patch by Aviv Palivoda.
* | Issue #26194: Inserting into a full deque to raise an IndexErrorRaymond Hettinger2016-02-021-2/+2
| |
* | Issue #23076: Path.glob() now raises a ValueError if it's called with anBerker Peksag2016-01-302-0/+4
| | | | | | | | | | | | invalid pattern. Patch by Thomas Nyberg.
* | Issue #4806: Avoid masking original TypeError in call with * unpackingMartin Panter2016-01-311-0/+4
| | | | | | | | Based on patch by Hagen Fürstenau and Daniel Urban.
* | Issue #26202: copy.deepcopy() now correctly copies range() objects withSerhiy Storchaka2016-01-281-0/+3
| | | | | | | | non-atomic attributes.
* | Issue #19883: Fixed possible integer overflows in zipimport.Serhiy Storchaka2016-01-281-0/+2
| |
* | Windows: Decode hostname from ANSI code pageVictor Stinner2016-01-281-0/+4
| | | | | | | | | | | | 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.
* | Issue #19023: Document ctypes array and pointer classesMartin Panter2016-01-291-0/+1
| | | | | | | | Also add some more tests. Based on patch by Sye van der Veen.
* | Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlenRaymond Hettinger2016-01-271-0/+4
| |
* | code_richcompare() now uses the constants typesVictor Stinner2016-01-221-0/+6
| | | | | | | | | | | | | | | | | | 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.
* | Issue #26106: doc: Move text of licenses to parsed literal blockVictor Stinner2016-01-211-0/+1
| | | | | | | | | | | | | | 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.
* | merge 3.4 (#26171)Benjamin Peterson2016-01-211-0/+3
|\ \ | |/
| * prevent buffer overflow in get_data (closes #26171)Benjamin Peterson2016-01-211-0/+3
| |
* | Add _PyThreadState_UncheckedGet()Victor Stinner2016-01-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Issue #26147: xmlrpc now works with strings not encodable with usedSerhiy Storchaka2016-01-201-0/+3
| | | | | | | | non-UTF-8 encoding.