summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23857: Implement PEP 493Nick Coghlan2016-03-202-4/+73
| | | | | | Adds a Python-2-only ssl module API and environment variable to configure the default handling of SSL/TLS certificates for HTTPS connections.
* Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵Steve Dower2016-03-171-1/+2
| | | | is empty. Patch by Baji.
* Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3Donald Stufft2016-03-173-2/+2
|
* Skip test_site if USER_SITE cannot be createdVictor Stinner2016-03-141-2/+7
| | | | | Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and cannot be created.
* Issue #20556: Used specific assert methods in threading tests.Serhiy Storchaka2016-03-143-19/+19
|
* Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-121-1/+1
|
* Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch bySerhiy Storchaka2016-03-122-7/+25
| | | | Tamás Bence Gedai.
* Issue 25959: Explain in docstring that PhotoImage.zoom arguments areTerry Jan Reedy2016-03-111-4/+8
| | | | | multipliers, not final sizes. Explain y default for .zoom and .subsample. Initial patch by Serhiy Storchaka.
* Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-095-137/+179
|
* Issue #15068: Avoid creating a reference loop in fileinput.Serhiy Storchaka2016-03-081-13/+15
|
* Issue #15068: Got rid of excessive buffering in the fileinput module.Serhiy Storchaka2016-03-082-83/+137
| | | | The bufsize parameter is no longer used.
* Issue #26486: Removed pickle test that doesn't work in 2.7 on 64-bit platform.Serhiy Storchaka2016-03-081-11/+0
|
* Issue #26456: Force all child threads to terminate in TestForkInThreadMartin Panter2016-03-081-1/+6
|
* properly use PyObject_CallMethod in dictview binary operations (closes #26478)Benjamin Peterson2016-03-041-0/+4
|
* Document another recipe for itertools: all_equal(). Inspired by David Beazley.Raymond Hettinger2016-03-071-0/+8
|
* Issue #2202: Fix UnboundLocalError in ↵Berker Peksag2016-03-062-1/+14
| | | | | | | | AbstractDigestAuthHandler.get_algorithm_impls Raise ValueError if algorithm is not MD5 or SHA. Initial patch by Mathieu Dupuy.
* Issue #26167: Backported copy tests.Serhiy Storchaka2016-03-061-4/+47
|
* Issue #26475: Fixed debugging output for regular expressions with the (?x) flag.Serhiy Storchaka2016-03-061-3/+3
|
* Issue #26486: Backported some pickle tests from 3.x.Serhiy Storchaka2016-03-061-4/+208
|
* Issue #26385: Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhostMartin Panter2016-02-292-1/+9
|
* Issue #22836: Keep exception reports sensible despite errorsMartin Panter2016-02-281-4/+65
|
* Issue #25801: Fixed resource warnings in test_zipfile64.Serhiy Storchaka2016-02-251-7/+11
| | | | Patch by SilentGhost.
* Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.Ned Deily2016-02-242-2/+25
| | | | | | | | | | | | | | | 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 #5824: Fix DatagramRequestHandler tests by binding the client socketMartin Panter2016-02-242-29/+20
|
* Issue #22088: Clarify base-64 alphabets and which characters are discardedMartin Panter2016-02-232-13/+27
| | | | | | * There are only two base-64 alphabets defined by the RFCs, not three * Due to the internal translation, plus (+) and slash (/) are never discarded * standard_ and urlsafe_b64decode() discard characters as well
* Issue #26261: Clarify NamedTemporaryFile name attribute vs file.nameMartin Panter2016-02-221-2/+2
|
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-191-7/+8
| | | | | | | * Make it more obvious gettarinfo() is based on stat(), and that non-ordinary files may need special care * Filename taken from fileobj.name; suggest dummy arcname as a workaround * Indicate TarInfo may be used directly, not just via gettarinfo()
* Issue #26309: Rewrite test in main thread and avoid race conditionMartin Panter2016-02-191-11/+12
|
* Issue #26309: Shut down SocketServer request if verify_request() is falseMartin Panter2016-02-182-0/+25
| | | | Based on patch by Aviv Palivoda.
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-103-5/+5
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Issues #26310, #26311: Fix typos in the documentationMartin Panter2016-02-103-3/+3
|
* Issue #25983: Added tests for multi-argument type().Serhiy Storchaka2016-02-081-1/+129
|
* Issue #12923: Reset FancyURLopener's redirect counter even on exceptionMartin Panter2016-02-042-12/+30
| | | | Based on patches by Brian Brazil and Daniel Rocco.
* Issue #25945: Fixed bugs in functools.partial.Serhiy Storchaka2016-02-021-5/+96
| | | | | | | 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 #26173: Separate bad cert file tests and client rejection testMartin Panter2016-02-011-40/+54
| | | | | | | | | | Test test_wrong_cert() runs a server that rejects the client's certificate, so ECONNRESET is reasonable in addition to SSLError. On the other hand, the other three tests don't even need to run a server because they are just testing the parsing of invalid certificate files. This should fix intermittent failures on Windows where ECONNRESET was not being caught.
* Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pemMartin Panter2016-01-301-14/+11
| | | | | | Testing for a non-existing certificate file is already done in test_errors(). The wrongcert.pem test was originally testing behaviour with a mismatched certificate.
* Issue #19023: Document ctypes array and pointer classesMartin Panter2016-01-292-6/+15
| | | | Also add some more tests. Based on patch by Sye van der Veen.
* Issue #26198: Added tests for string-related format units of PyArg_Parse*()Serhiy Storchaka2016-01-281-1/+285
| | | | | functions: "s", "s*", "s#", "t#", "z", "z*", "z#", "w", "w*", "w#", "u", "u#", "es", "et", "es#", "et#" and "c".
* Issue #25507: revert incorrect movement of idleConf import in a37ea1d56e98.Terry Jan Reedy2016-01-272-3/+15
| | | | Augment htest to include all major IOBinding functions.
* code_richcompare() now uses the constants typesVictor Stinner2016-01-221-0/+59
| | | | | | | | | 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.
* Upgrade pip to 8.0.2Donald Stufft2016-01-222-1/+1
|
* Issue #26147: xmlrpclib now works with unicode not encodable with usedSerhiy Storchaka2016-01-202-12/+33
| | | | non-UTF-8 encoding.
* Upgrade pip to 8.0.0 and setuptools to 19.4Donald Stufft2016-01-203-2/+2
|
* Issue #16620: Fixed AttributeError in msilib.Directory.glob().Serhiy Storchaka2016-01-191-1/+5
|
* add spaceBenjamin Peterson2016-01-191-0/+1
|
* Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.Serhiy Storchaka2016-01-181-3/+53
|
* Issue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds.Serhiy Storchaka2016-01-182-12/+11
|
* Issue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().Serhiy Storchaka2016-01-182-5/+8
|
* Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.Terry Jan Reedy2016-01-172-4/+7
| | | | Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
* Issue #14771: Redirect GDB's stdin to avoid messing the terminal settingsMartin Panter2016-01-161-0/+2
| | | | | | | Otherwise, GDB seems to affect the terminal's foreground process group, interfering with test_ioctl, which does not expect the foreground process to change during the test. This change also solves the problem of the tests being stopped in the shell if test_gdb is run twice in parallel.