summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* mergeRaymond Hettinger2015-05-131-3/+3
|\
| * Issue #19934: Document *None* as an acceptable input to ↵Raymond Hettinger2015-05-131-3/+3
| | | | | | | | Counter.most_common([n])
* | Issue #23695: Explain the zip() example for clustering a data series into ↵Raymond Hettinger2015-05-131-1/+3
| | | | | | | | n-length groups.
* | Issue #1322: platform.dist() and platform.linux_distribution() functions are ↵Berker Peksag2015-05-131-0/+4
| | | | | | | | | | | | now deprecated. Initial patch by Vajrasky Kok.
* | Issue #24064: Add __doc__ to the example in collections.rst.Berker Peksag2015-05-131-3/+3
| |
* | Issue #24064: Property() docstrings are now writeable.Raymond Hettinger2015-05-131-0/+9
| | | | | | | | (Patch by Berker Peksag.)
* | merge 3.4Benjamin Peterson2015-05-121-2/+2
|\ \ | |/
| * use imperativeBenjamin Peterson2015-05-121-2/+2
| |
* | versionaddedBenjamin Peterson2015-05-121-0/+2
| |
* | Issue #22486: Added the math.gcd() function. The fractions.gcd() function ↵Serhiy Storchaka2015-05-122-0/+11
| | | | | | | | | | | | now is deprecated. Based on patch by Mark Dickinson.
* | Issue #22681: Added support for the koi8_t encoding.Serhiy Storchaka2015-05-121-0/+4
| |
* | Issue #22682: Added support for the kz1048 encoding.Serhiy Storchaka2015-05-121-0/+4
| |
* | Issue #23983: Update the pty module example.Berker Peksag2015-05-121-37/+29
|\ \ | |/ | | | | | | | | | | Changes: * Fixed a ResourceWarning warning * Used argparse instead of getopt
| * Issue #23983: Update the pty module example.Berker Peksag2015-05-121-37/+29
| | | | | | | | | | | | | | Changes: * Fixed a ResourceWarning warning * Used argparse instead of getopt
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-2/+40
| |
* | Merge 3.4 (asyncio docs)Yury Selivanov2015-05-114-20/+48
|\ \ | |/
| * docs/asyncio: Document new ensure_future() and deprecated async()Yury Selivanov2015-05-113-20/+28
| |
| * docs/asyncio: Document set_task_factory/get_task_factoryYury Selivanov2015-05-111-0/+20
| |
* | #21795: advertise 8BITMIME if decode_data is False.R David Murray2015-05-111-23/+35
| | | | | | | | | | | | Patch by Milan Oberkirch, with a few updates. This changeset also tweaks the smtpd and whatsnew docs for smtpd into what should be the final form for the 3.5 release.
* | #21800: Add RFC 6855 support to imaplib.R David Murray2015-05-101-2/+28
| | | | | | | | | | Original patch by Milan Oberkirch, updated by myself and Maciej Szulik.
* | PEP 479: Change StopIteration handling inside generators.Yury Selivanov2015-05-092-0/+11
| | | | | | | | Closes issue #22906.
* | Issue #24018: Add a collections.Generator abstract base class.Raymond Hettinger2015-05-091-0/+10
| |
* | Merge 3.4Andrew Svetlov2015-05-081-2/+1
|\ \ | |/
| * Fix doc: asyncio.Semaphore.release() actually is a regular function, not ↵Andrew Svetlov2015-05-081-2/+1
| | | | | | | | coroutine
* | merge 3.4Benjamin Peterson2015-05-072-5/+5
|\ \ | |/
| * remove word we don't needBenjamin Peterson2015-05-071-1/+1
| |
| * Fix copy/paste errors.Zachary Ware2015-05-071-4/+4
| | | | | | | | Basically, s/thread/coroutine/.
* | merge 3.4 (#24118)Benjamin Peterson2015-05-031-6/+6
|\ \ | |/
| * update example, since python.org is HTTPS-only now (closes #24118)Benjamin Peterson2015-05-031-6/+6
| |
* | Issue #22619: Added negative limit support in the traceback module.Serhiy Storchaka2015-05-031-19/+33
| | | | | | | | Based on patch by Dmitry Kazakov.
* | Merge: #24108: Update fnmatch.translate example to show correct output.R David Murray2015-05-021-1/+1
|\ \ | |/
| * #24108: Update fnmatch.translate example to show correct output.R David Murray2015-05-021-1/+1
| | | | | | | | Patch by Merlijn van Deen.
* | Merge: #24081: Remove obsolete caveat from import docs.R David Murray2015-05-022-12/+0
|\ \ | |/
| * #24081: Remove obsolete caveat from import docs.R David Murray2015-05-022-12/+0
| | | | | | | | | | | | | | Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce, but these docs were not updated. Patch by Peter Viktorin.
* | Closes #24060: Merged documentation update from 3.4.Vinay Sajip2015-05-021-1/+3
|\ \ | |/
| * Issue #24060: Made logging.Formatter documentation a little clearer.Vinay Sajip2015-05-021-1/+3
| |
* | remove deleted methodBenjamin Peterson2015-04-281-4/+0
| |
* | Issue #24062: Fix os.stat links. Patch by July Tikhonov.Berker Peksag2015-04-271-2/+2
|\ \ | |/
| * Issue #24062: Fix os.stat links. Patch by July Tikhonov.Berker Peksag2015-04-271-2/+2
| |
* | Issue #23356: Simplify convert_arg_line_to_args example.Berker Peksag2015-04-261-4/+1
|\ \ | |/ | | | | Patch by py.user.
| * Issue #23356: Simplify convert_arg_line_to_args example.Berker Peksag2015-04-261-4/+1
| | | | | | | | Patch by py.user.
* | Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.Gregory P. Smith2015-04-251-0/+37
| | | | | | | | | | | | | | Also updates a few internal implementations of the same thing to use the new built-in code. Contributed by Arnon Yaari.
* | merge 3.4 (#24057)Benjamin Peterson2015-04-251-2/+2
|\ \ | |/
| * fix relative link (closes #24057)Benjamin Peterson2015-04-251-2/+2
| |
* | Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor ↵Berker Peksag2015-04-221-2/+2
| | | | | | | | | | | | doesn't exist. Patch by Claudiu Popa.
* | Merge from 3.4Andrew Kuchling2015-04-211-0/+2
|\ \ | |/
| * #15183: clarify timeit documentation to say that setup statement isn't timedAndrew Kuchling2015-04-211-0/+2
| |
* | #17445: difflib: add diff_bytes(), to compare bytes rather than strGreg Ward2015-04-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some applications (e.g. traditional Unix diff, version control systems) neither know nor care about the encodings of the files they are comparing. They are textual, but to the diff utility they are just bytes. This worked fine under Python 2, because all of the hardcoded strings in difflib.py are ASCII, so could safely be combined with old-style u'' strings. But it stopped working in 3.x. The solution is to use surrogate escapes for a lossless bytes->str->bytes roundtrip. That means {unified,context}_diff() can continue to just handle strings without worrying about bytes. Callers who have to deal with bytes will need to change to using diff_bytes(). Use case: Mercurial's test runner uses difflib to compare current hg output with known good output. But Mercurial's output is just bytes, since it can contain: * file contents (arbitrary unknown encoding) * filenames (arbitrary unknown encoding) * usernames and commit messages (usually UTF-8, but not guaranteed because old versions of Mercurial did not enforce it) * user messages (locale encoding) Since the output of any given hg command can include text in multiple encodings, it is hopeless to try to treat it as decodable Unicode text. It's just bytes, all the way down. This is an elaboration of a patch by Terry Reedy.
* | merge 3.4 (#23989)Benjamin Peterson2015-04-202-0/+10
|\ \ | |/
| * recommend requests library (closes #23989)Benjamin Peterson2015-04-202-0/+10
| | | | | | | | Patch from Van Lindberg