summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-192-20/+28
| | | | | | | | * The Windows-specific binary notice was probably a Python 2 thing * Make it more obvious gettarinfo() is based on stat(), and that non-ordinary files may need special care * The file name must be text; 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-6/+6
|
* Issue #15608: Improve socketserver module documentationMartin Panter2016-02-191-154/+202
| | | | | | | | | | | * 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 * Remove version 2.6 not relevant for Python 3 documentation
* Issue #26309: Rewrite test in main thread and avoid race conditionMartin Panter2016-02-191-24/+21
|
* Issue #16915: Clarify that mode parameter of socket.makefile() does not acceptBerker Peksag2016-02-183-4/+19
| | | | the same values as open().
* Issue #26309: Shut down socketserver request if verify_request() is falseMartin Panter2016-02-183-0/+30
| | | | Patch by Aviv Palivoda.
* fix typo (closes #26378)Benjamin Peterson2016-02-181-1/+1
|
* merge 3.4 (closes #25939)Benjamin Peterson2016-02-182-2/+8
|\
| * open the cert store readonlyBenjamin Peterson2016-02-182-2/+8
| | | | | | | | Patch from Chi Hsuan Yen.
* | Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.Ned Deily2016-02-161-1/+1
| |
* | 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-22/+8
| |
* | Issue #26316: Fix variable name typo in Argument ClinicMartin Panter2016-02-142-1/+7
| |
* | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-134-12/+169
| |
* | Fixes #26348: Corrected typos in activate.fish script.Vinay Sajip2016-02-131-2/+2
| |
* | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.Serhiy Storchaka2016-02-112-11/+4
| |
* | Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-115-20/+32
| | | | | | | | no ResourceWarning is emitted.
* | Hopefully clarify the difference between Optional[t] and an optional argument.Guido van Rossum2016-02-101-0/+7
| |
* | Issue #25698: Prevent possible replacing imported module with the empty oneSerhiy Storchaka2016-02-101-2/+6
| | | | | | | | if the stack is too deep.
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-1025-76/+76
| | | | | | | | | | 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-108-9/+9
| |
* | Issue #25983: Added tests for multi-argument type().Serhiy Storchaka2016-02-081-0/+155
| |
* | Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-081-1/+1
| | | | | | | | not have a math vocabulary.
* | Updates build to use SHA256 hash when signing files.Steve Dower2016-02-081-1/+1
| |
* | Issue #26117: The os.scandir() iterator now closes file descriptor not onlySerhiy Storchaka2016-02-082-17/+23
| | | | | | | | 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-083-10/+41
| |
* | Issue #26045: Add UTF-8 suggestion to error in http.clientMartin Panter2016-02-093-2/+20
| | | | | | | | Based on patch by Guido van Rossum.
* | Issue #26198: Make datetime error tests more lenient.Serhiy Storchaka2016-02-081-3/+3
| |
* | Issue #26198: Fixed error messages for some argument parsing errors.Serhiy Storchaka2016-02-073-14/+23
| | | | | | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units.
* | Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-089-29/+31
| | | | | | | | | | | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, 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; see Issue #19729 for instance
* | Fix userinfo example presented in urllib2 howto.Senthil Kumaran2016-02-061-1/+1
| |
* | Issue #12923: Reset FancyURLopener's redirect counter even on exceptionMartin Panter2016-02-044-17/+42
| | | | | | | | Based on patches by Brian Brazil and Daniel Rocco.
* | Issue #25660: Fix a unittest and rlcompleter when readline isn't availableYury Selivanov2016-02-042-4/+10
| |
* | Issue #25660: Fix TAB key behaviour in REPL.Yury Selivanov2016-02-042-1/+6
| |
* | Python for .NET has moved to Github.Zachary Ware2016-02-041-1/+1
| | | | | | | | Reported by Denis Akhiyarov on docs@
* | Fix typo.Zachary Ware2016-02-021-1/+1
| | | | | | | | Reported by Jon Tetlak on docs@
* | Issue #25945: Fixed bugs in functools.partial.Serhiy Storchaka2016-02-023-66/+160
| | | | | | | | | | | | | | 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-034-9/+13
| | | | | | | | Based on patch by Aviv Palivoda.
* | Issue #26194: Inserting into a full deque to raise an IndexErrorRaymond Hettinger2016-02-024-20/+18
| |
* | Fix error message in asyncio.selector_events.Victor Stinner2016-02-011-6/+6
| | | | | | | | Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>.
* | test_asyncio: fix test_timeout_time()Victor Stinner2016-02-011-1/+2
| | | | | | | | | | Accept time delta up to 0.12 second, instead of 0.11, for the "AMD64 FreeBSD 9.x" buildbot slave.
* | Issue #19587: Remove masked and redundant tests in test_bytesMartin Panter2016-02-023-63/+6
| | | | | | | | | | | | | | | | * test_contains() did not override anything * test_expandtabs/upper/lower() in FixedStringTest were masking usable tests in string_tests. These tests now get run for bytearray() and bytes(). * test_expandtabs/upper/lower() in buffer_tests were only run on bytearray() and are redundant with string_tests
* | 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. Also fix a ResourceWarning by closing the wrapped socket.
* | Enhance os.scandir() docVictor Stinner2016-01-311-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26248, patch written by Ben Hoyt: 1) Clarify that the return values of is_dir()/is_file()/etc are cached separately for follow_symlinks True and False. 2) Be more specific about when the functions require a system call, and how it relates to caching and follow_symlinks. 3) DRY up common stuff between is_dir and is_file by saying "Caching, system calls made, and exceptions raised are as per is_dir" in is_file. 4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume the follow_symlinks=True default, then note the follow_symlinks=False non-default case after.
* | Issue #26242: Fix another one in importlib.rstBerker Peksag2016-01-301-1/+1
| |
* | Fix a markup error in socket.rstBerker Peksag2016-01-301-1/+1
| |
* | Issue #23076: Path.glob() now raises a ValueError if it's called with anBerker Peksag2016-01-304-0/+11
| | | | | | | | | | | | invalid pattern. Patch by Thomas Nyberg.
* | Update "Creating Virtual Environments" link in venv documentationBerker Peksag2016-01-301-1/+1
| |
* | Update output of venv -hBerker Peksag2016-01-301-4/+5
| | | | | | | | | | * Update description of the --system-site-packages option * Show --copies option in the usage
* | Issue #4806: Avoid masking original TypeError in call with * unpackingMartin Panter2016-01-313-13/+58
| | | | | | | | Based on patch by Hagen Fürstenau and Daniel Urban.