summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #26417: Prevent spurious errors and incorrect defaults whenNed Deily2016-02-234-175/+26
| | | | | installing IDLE 2.7 on OS X: default configuration settings are no longer installed from OS X specific copies.
* Issue #26268: Update Windows builds to use OpenSSL 1.0.2fZachary Ware2016-02-229-14/+16
|
* Issue #26261: Clarify NamedTemporaryFile name attribute vs file.nameMartin Panter2016-02-222-3/+4
|
* Fix errors in XML-RPC client example codeMartin Panter2016-02-221-3/+3
| | | | | * httplib.HTTP (deprecated and does not work) → HTTPConnection * Server (deprecated) → ServerProxy
* Added simple threading example to logging cookbook.Vinay Sajip2016-02-201-0/+55
|
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-192-13/+23
| | | | | | | * 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()
* Closes #20169: fix inner links random doc.Georg Brandl2016-02-191-5/+6
|
* Issue #15608: Improve socketserver module documentationMartin Panter2016-02-191-145/+195
| | | | | | | | | | * Add headings for each concrete and mix-in class and list methods and attributes under them * Fix class and method cross references * Changed RequestHandler to BaseRequestHandler and added class heading * Pull out Stream/DatagramRequestHandler definitions * Reordered the request handler setup(), handle(), finish() methods * Document constructor parameters for the server classes
* 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-183-0/+29
| | | | Based on patch by Aviv Palivoda.
* fix typo (closes #26378)Benjamin Peterson2016-02-181-1/+1
|
* open the cert store readonlyBenjamin Peterson2016-02-182-2/+8
| | | | Patch from Chi Hsuan Yen.
* Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS XNed Deily2016-02-152-2/+21
| | | | 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-153-23/+9
|
* Issue #24303: Fix random EEXIST upon multiprocessing semaphores creation withCharles-François Natali2016-02-122-4/+15
| | | | Linux PID namespaces enabled.
* Closes #26320: fix stylesheet after Sphinx update.Georg Brandl2016-02-101-4/+4
|
* Issue #25698: Importing module if the stack is too deep no longer replacesSerhiy Storchaka2016-02-104-7/+59
| | | | imported module with the empty one.
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-1012-39/+39
| | | | | 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-106-7/+7
|
* Issue #25983: Added tests for multi-argument type().Serhiy Storchaka2016-02-081-1/+129
|
* Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-082-2/+3
| | | | not have a math vocabulary.
* Updates build to use SHA256 hash when signing filesSteve Dower2016-02-081-0/+1
|
* Issue #26198: Fixed error messages for some argument parsing errors.Serhiy Storchaka2016-02-072-13/+23
| | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units.
* fix hash member name (closes #22847)Benjamin Peterson2016-02-071-1/+1
|
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-085-19/+21
| | | | | | | | | * There was a link pointing to the section on the string.Formatter class (and multiple links in Python 3), when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested in Python 3; see Issue #19729 for instance
* Fix userinfo example presented in urllib2 howto.Senthil Kumaran2016-02-061-1/+1
|
* fix debug assertionBenjamin Peterson2016-02-051-1/+1
|
* Issue #22847: Improve method cache efficiency.Antoine Pitrou2014-11-142-5/+40
|
* Issue #12923: Reset FancyURLopener's redirect counter even on exceptionMartin Panter2016-02-044-12/+34
| | | | Based on patches by Brian Brazil and Daniel Rocco.
* Python for .NET has moved to Github.Zachary Ware2016-02-041-1/+1
| | | | Reported by Denis Akhiyarov on docs@
* Issue #25945: Fixed bugs in functools.partial.Serhiy Storchaka2016-02-023-30/+142
| | | | | | | 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-033-3/+6
| | | | Based on patch by Aviv Palivoda.
* 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 #25934: Default to /fp:strict for ICC buildsZachary Ware2016-01-302-0/+5
|
* 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-294-10/+70
| | | | Also add some more tests. Based on patch by Sye van der Veen.
* Fixed a crash in new tests in test_getargs2 added in 60a2d67dacb3 (issue ↵Serhiy Storchaka2016-01-281-8/+8
| | | | #26198).
* Fixed an infinite loop in zipimport caused by cebcd2fd3e1f (issue #19883).Serhiy Storchaka2016-01-281-4/+3
|
* Issue #19883: Fixed possible integer overflows in zipimport.Serhiy Storchaka2016-01-282-131/+216
|
* Issue #26198: Added tests for string-related format units of PyArg_Parse*()Serhiy Storchaka2016-01-282-4/+579
| | | | | 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.
* Fix typo in test.rstBerker Peksag2016-01-251-1/+1
| | | | Reported by Mike Scalora on docs@p.o.
* doc: i18n HTML templatesVictor Stinner2016-01-234-92/+133
| | | | | | | Issue #25907: Use {% trans %} tags in HTML templates to ease the translation of the documentation. The tag comes from Jinja templating system, used by Sphinx. Patch written by Julien Palard.
* Per issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.Gregory P. Smith2016-01-221-0/+31
| | | | | This was already done in the 3.5 branch; this just does the same in the 2.7 branch.
* code_richcompare() now uses the constants typesVictor Stinner2016-01-225-49/+224
| | | | | | | | | 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.
* reject negative data_sizeBenjamin Peterson2016-01-221-0/+4
|
* Upgrade pip to 8.0.2Donald Stufft2016-01-222-1/+1
|
* Issue #18620: Improve Pool examples in multiprocessing documentationBerker Peksag2016-01-211-7/+32
| | | | | | | | | | A single call to Pool.apply_async() will create only one process. To use all of the pool's processes, it should be invoked multiple times: with Pool(processes=4) as pool: results = [pool.apply_async(func, ()) for i in range(4)] Patch by Davin Potts.
* Issue #26106: doc: Move text of licenses to parsed literal blockVictor Stinner2016-01-212-177/+184
| | | | | | | 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.
* prevent buffer overflow in get_data (closes #26171)Benjamin Peterson2016-01-212-0/+8
|