summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26390: Fix and test pbkdf2_hmac() parameter namesMartin Panter2016-02-221-6/+7
| | | | Based on patch by Daan Bakker.
* Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.Georg Brandl2016-02-257-15/+16
|
* Issue #22088: Clarify base-64 alphabets and which characters are discardedMartin Panter2016-02-231-13/+16
| | | | | | | | | | * 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 Also update the doc strings to clarify data types, based on revision 92760d2edc9e, correct the exception raised by b16decode(), and correct the parameter name for the base-85 functions.
* Issue #26261: Clarify NamedTemporaryFile name attribute vs file.nameMartin Panter2016-02-221-1/+2
|
* Fix errors in XML-RPC client example codeMartin Panter2016-02-221-4/+4
| | | | | | | * http.client.HTTP (does not exist in Python 3) → HTTPConnection * Server (deprecated) → ServerProxy * Transport.send_request() grew a new “debug” parameter in Python 3 (revision a528f7f8f97a)
* Issue #26401: Fix compile() documentationBerker Peksag2016-02-211-1/+5
| | | | | | | After 25032ec29315, compile() will raise a ValueError if source contains null bytes. Patch by SilentGhost.
* List what classes from importlib.machinery don't work with ↵Brett Cannon2016-02-211-1/+2
| | | | importlib.util.LazyLoader
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-191-10/+17
| | | | | | | | * 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 #16915: Clarify that mode parameter of socket.makefile() does not acceptBerker Peksag2016-02-181-1/+2
| | | | the same values as open().
* Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.Ned Deily2016-02-161-1/+1
|
* Hopefully clarify the difference between Optional[t] and an optional argument.Guido van Rossum2016-02-101-0/+7
|
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-107-26/+26
| | | | | 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-102-3/+3
|
* Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-081-1/+1
| | | | not have a math vocabulary.
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-086-24/+27
| | | | | | | | | * 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 typo.Zachary Ware2016-02-021-1/+1
| | | | Reported by Jon Tetlak on docs@
* Issue #26244: Clarify default zlib compression level in documentationMartin Panter2016-02-031-3/+4
| | | | Based on patch by Aviv Palivoda.
* Issue #26194: Inserting into a full deque to raise an IndexErrorRaymond Hettinger2016-02-021-2/+2
|
* 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 #19023: Document ctypes array and pointer classesMartin Panter2016-01-291-4/+54
| | | | Also add some more tests. Based on patch by Sye van der Veen.
* Issue #26199: Fix broken link in unittest.mock-examples.rstBerker Peksag2016-01-281-1/+1
| | | | Patch by Raphael Das Gupta.
* Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlenRaymond Hettinger2016-01-271-0/+3
|
* Fix a typo in a code exampleBrett Cannon2016-01-221-1/+1
|
* minor clarification on Zipfile 'x' mode - exclusive creation of a file.Senthil Kumaran2016-01-221-2/+2
|
* Issue #18620: Improve Pool examples in multiprocessing documentationBerker Peksag2016-01-211-11/+26
| | | | | | | | | | 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.
* issue25982 - Add a class definition for managers.Namespace in the ↵Senthil Kumaran2016-01-201-15/+17
| | | | multiprocessing docs.
* Issue #5626: Remove misleading comment from socket.gethostname() documentationBerker Peksag2016-01-201-5/+0
| | | | | | A machine can have more than one IP addresses so socket.gethostbyname(socket.gethostname()) probably won't return the correct one.
* Issue #26157: Fix typos in asyncio-eventloop.rstBerker Peksag2016-01-201-4/+4
| | | | Initial patch by Carlo Beccarini.
* issue23962 - Reference the correct TimeoutError in concurrent.futures ↵Senthil Kumaran2016-01-191-16/+27
| | | | | | documentation. Patch contributed by Ryder Lewis.
* Issue26035 - Correct the argument names used in the docs of the traceback ↵Senthil Kumaran2016-01-161-34/+35
| | | | | | module. Make it consistent with module args. Patch contributed by Upendra Kumar.
* Issue #26127: Fix links in tokenize documentation; patch by Silent GhostMartin Panter2016-01-161-7/+7
|
* #19006: fix wording in unittest docs.Ezio Melotti2016-01-121-3/+4
|
* Issue #25486: Drop "removed in 3.6" wording from inspect.getargspec docs.Yury Selivanov2016-01-121-2/+1
|
* #25991: fix readline example to limit history size. Patch by Daniel Dye.Ezio Melotti2016-01-111-0/+4
|
* Fix versionadded to use 3.5.1 only for 3.5 branchAndrew Svetlov2016-01-111-1/+1
|
* merge 3.4Andrew Svetlov2016-01-111-48/+64
|\
| * Document asyncio.timeout()Andrew Svetlov2016-01-111-46/+63
| |
* | merge 3.4 (#26066)Benjamin Peterson2016-01-101-11/+0
|\ \ | |/
| * delete old crypto prose (closes #26066)Benjamin Peterson2016-01-101-11/+0
| |
* | merge 3.4 (#26046)Benjamin Peterson2016-01-081-1/+1
|\ \ | |/
| * fix typo in unittest docs (closes #26046)Benjamin Peterson2016-01-081-1/+1
| | | | | | | | Patch from Upendra Kumar.
* | Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms ↵Berker Peksag2016-01-071-2/+4
| | | | | | | | | | | | has no effect Patch by Davin Potts and Camilla Montonen.
* | merge from 3.4Senthil Kumaran2016-01-071-0/+5
|\ \ | |/ | | | | Issue16544 - Add a link to an external documentation resource in ast module docs.
| * Issue16544 - Add a link to an external documentation resource in ast module ↵Senthil Kumaran2016-01-071-0/+5
| | | | | | | | docs.
* | Cross-reference os.DirEntry and pathlib.Path for issue #22570.Guido van Rossum2016-01-062-0/+10
| |
* | Add versionadded (3.4.5) to docs for issue #22570. (Merge 3.4->3.5)Guido van Rossum2016-01-061-0/+1
|\ \ | |/