summaryrefslogtreecommitdiff
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34790: add version of removal of explicit passing of coros to ↵jack11422020-05-131-1/+1
| | | | `asyncio.wait`'s documentation (#20008)
* Fix Wikipedia link (GH-20031)Allen Guo2020-05-121-5/+5
|
* bpo-40571: Make lru_cache(maxsize=None) more discoverable (GH-20019)Raymond Hettinger2020-05-111-0/+26
|
* bpo-36346: array: Don't use deprecated APIs (GH-19653)Inada Naoki2020-05-111-6/+7
| | | | | | | | * Py_UNICODE -> wchar_t * Py_UNICODE -> unicode in Argument Clinic * PyUnicode_AsUnicode -> PyUnicode_AsWideCharString * Don't use "u#" format. Co-authored-by: Victor Stinner <vstinner@python.org>
* Add link to Enum class (GH-19884)Andre Delfino2020-05-101-1/+1
|
* bpo-39791: Add files() to importlib.resources (GH-19722)Jason R. Coombs2020-05-081-0/+37
| | | | | | | | | * bpo-39791: Update importlib.resources to support files() API (importlib_resources 1.5). * 📜🤖 Added by blurb_it. * Add some documentation about the new objects added. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970)Raymond Hettinger2020-05-081-7/+14
|
* Make the first dataclass example more useful (GH-19994)Ned Batchelder2020-05-081-0/+2
|
* bpo-40273: Reversible mappingproxy (FH-19513)Zackery Spytz2020-05-071-0/+6
|
* bpo-40517: Implement syntax highlighting support for ASDL (GH-19967)Batuhan Taskaya2020-05-071-1/+1
|
* Fix typo in sqlite3 documentation (GH-19965)Naglis2020-05-061-1/+1
| | | *first* is repeated twice.
* Revert "bpo-40517: Implement syntax highlighting support for ASDL (#19928)" ↵Raymond Hettinger2020-05-051-1/+1
| | | | | (#19950) This reverts commit d60040ba226bd2e3b6f58d074015aa2499dc1cb8.
* bpo-40517: Implement syntax highlighting support for ASDL (#19928)Batuhan Taskaya2020-05-051-1/+1
|
* bpo-40286: Put methods in correct sections. Add security notice to use ↵Raymond Hettinger2020-05-041-10/+15
| | | | secrets for session tokens. (GH-19870)
* bpo-40499: Mention that asyncio.wait() needs a non-empty aws set (GH-19900)Joel Rosdahl2020-05-041-0/+2
| | | | | A similar formulation was added in bpo-21596 (db74d982d43d98040e38665d843cbc8de4a082b1) but was lost in bpo-33649 (3faaa8857a42a36383bb18425444e597fc876797).
* bpo-39470: Indicate that ``os.makedirs`` is equivalent to ``Path.mkdir`` ↵Joannah Nanjekye2020-05-041-0/+1
| | | | | | | | | | | | (GH-18216) * Indicate os.makedirs is equivalent to Path.mkdir * 📜🤖 Added by blurb_it. * ignore news feed Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Remove outdated and confusing advice about setting maxsize (GH-19889)Raymond Hettinger2020-05-031-2/+1
|
* Fix missing space in docs(GH-19866)Mathieu Dupuy2020-05-021-1/+1
|
* bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867)Raymond Hettinger2020-05-021-0/+3
|
* bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers ↵Sander2020-05-021-1/+2
| | | | of 10 (GH-19752)
* bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846)Serhiy Storchaka2020-05-021-1/+1
| | | | It was positional-only de facto: documentation and two implementations used three different name.
* bpo-39435: Fix docs for pickle.loads (GH-18160)Shantanu2020-05-011-2/+2
|
* bpo-39691: Clarify io.open_code behavior (GH-19824)Shantanu2020-05-011-4/+5
|
* bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742)lrjball2020-04-291-1/+4
| | | | | * bpo-40394 - difflib.SequenceMatched.find_longest_match default args Added default args to find_longest_match, as well as related tests.
* bpo-40291: Add support for CAN_J1939 sockets (GH-19538)karl ding2020-04-291-1/+18
| | | | Add support for CAN_J1939 sockets that wrap SAE J1939 protocol functionality provided by Linux 5.4+ kernels.
* bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711)Serhiy Storchaka2020-04-291-7/+8
|
* bpo-40025: Require _generate_next_value_ to be defined before members (GH-19098)Ethan Onstott2020-04-281-0/+4
| | | require `_generate_next_value_` to be defined before members
* bpo-30966: Add multiprocessing.SimpleQueue.close() (GH-19735)Victor Stinner2020-04-271-0/+10
| | | | | | Add a new close() method to multiprocessing.SimpleQueue to explicitly close the queue. Automerge-Triggered-By: @pitrou
* bpo-40375: Implement imaplib.IMAP4.unselect (GH-19712)Dong-hee Na2020-04-271-0/+9
|
* bpo-40387: Improve queue join() example. (GH-19724)Raymond Hettinger2020-04-261-16/+12
|
* bpo-40275: Avoid importing logging in test.support (GH-19601)Serhiy Storchaka2020-04-251-5/+0
| | | | | Import logging lazily in assertLogs() in unittest. Move TestHandler from test.support to logging_helper.
* bpo-40275: Avoid importing socket in test.support (GH-19603)Serhiy Storchaka2020-04-251-59/+71
| | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess.
* bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663)Carl Meyer2020-04-241-4/+10
| | | | | Deprecate lib2to3 module in light of PEP 617. We anticipate removal in the 3.12 timeframe.
* bpo-39983: Add test.support.print_warning() (GH-19683)Victor Stinner2020-04-231-0/+9
| | | | | | | Log "Warning -- ..." test warnings into sys.__stderr__ rather than sys.stderr, to ensure to display them even if sys.stderr is captured. test.libregrtest.utils.print_warning() now calls test.support.print_warning().
* bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939)sweeneyde2020-04-221-2/+102
| | | | | Added str.removeprefix and str.removesuffix methods and corresponding bytes, bytearray, and collections.UserString methods to remove affixes from a string if present. See PEP 616 for a full description.
* Small improvements to the recipes and examples. (GH-19635)Raymond Hettinger2020-04-211-30/+26
| | | | | * Add underscores to long numbers to improve readability * Use bigger dataset in the bootstrapping example * Convert single-server queue example to more useful multi-server queue
* bpo-40148: Add PurePath.with_stem() (GH-19295)Tim Hoffmann2020-04-191-0/+24
| | | | Add PurePath.with_stem()
* bpo-39285: Clarify example for PurePath.match (GH-19458)Tim Lo2020-04-191-1/+3
| | | | | | | | | | | Fixes Issue39285 The example incorrectly returned True for match. Furthermore the example is ambiguous in its usage of PureWindowsPath. Windows is case-insensitve, however the underlying match functionality utilizes fnmatch.fnmatchcase. Automerge-Triggered-By: @pitrou
* bpo-40325: Deprecate set object support in random.sample() (GH-19591)Raymond Hettinger2020-04-191-0/+7
|
* bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269)Furkan Önder2020-04-181-3/+3
| | | Automerge-Triggered-By: @pitrou
* bpo-40178: Convert the remaining os functions to Argument Clinic. (GH-19360)Serhiy Storchaka2020-04-181-1/+1
| | | | | Convert os.getgrouplist(), os.initgroups(), os.sendfile() and os.get_terminal_size().
* bpo-40282: Allow random.getrandbits(0) (GH-19539)Antoine Pitrou2020-04-171-0/+3
|
* bpo-40286: Add randbytes() method to random.Random (GH-19527)Victor Stinner2020-04-171-0/+7
| | | | | | | | | | | | Add random.randbytes() function and random.Random.randbytes() method to generate random bytes. Modify secrets.token_bytes() to use SystemRandom.randbytes() rather than calling directly os.urandom(). Rename also genrand_int32() to genrand_uint32(), since it returns an unsigned 32-bit integer, not a signed integer. The _random module is now built with Py_BUILD_CORE_MODULE defined.
* bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551)Mariusz Felisiak2020-04-171-0/+3
|
* Minor modernization and readability improvement to the tokenizer example ↵Raymond Hettinger2020-04-161-2/+6
| | | | (GH-19558)
* Fix parameter names in assertIn() docs (GH-18829)Christoph Zwerschke2020-04-161-3/+3
| | | The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second".
* bpo-40290: Add zscore() to statistics.NormalDist. (GH-19547)Raymond Hettinger2020-04-161-0/+10
|
* bpo-40257: Output object's own docstring in pydoc (GH-19479)Serhiy Storchaka2020-04-151-1/+4
|
* bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396)Batuhan Taşkaya2020-04-141-4/+0
|
* bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048)Sebastian Pedersen2020-04-141-13/+20
| | | | | Add the encoding in ftplib.FTP and ftplib.FTP_TLS to the constructor as keyword-only and change the default from "latin-1" to "utf-8" to follow RFC 2640.