summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45445: Fail if an invalid X-option is provided in the command line ↵Pablo Galindo Salgado2021-10-131-2/+2
| | | | (GH-28823)
* bpo-45441: Update some moved URLs in documentation (GH-28861)1809092021-10-124-6/+6
|
* Slight correct grammar (GH-28860)nobodyatandnothing2021-10-121-1/+1
|
* bpo-45410: Add test.support.flush_std_streams() (GH-28885)Victor Stinner2021-10-111-0/+9
| | | support.print_warning() now flushs sys.stdout.
* bpo-45351, asyncio: Enhance echo server example, print all addresses (GH-28828)Olaf van der Spek2021-10-111-2/+2
|
* bpo-20028: Empty escapechar/quotechar is not allowed for csv.Dialect (GH-28833)Dong-hee Na2021-10-111-0/+4
|
* bpo-42253: Update xml.dom.minidom.rst (GH-23126)Jens Diemer2021-10-111-0/+8
| | | | Document that the "standalone" parameter was added in Python 3.9. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45353: Remind sys.modules users to copy when iterating. (GH-28842)Gregory P. Smith2021-10-091-1/+5
| | | | | | | | This is true of all dictionaries in Python, but this one tends to catch people off guard as they don't realize when sys.modules might change out from underneath them as a hidden side effect of their code. Copying it first avoids the RuntimeError. An example when this happens in single threaded code are codecs being loaded which are an implicit time of use import that most need not think about.
* Fix the "Finding all Adverbs" example (GH-21420)Rim Chatti2021-10-091-2/+2
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Replace usage of List[...] with list[...] in typing docs (GH-28821)Micael Jarniac2021-10-091-8/+8
| | | The ``List[...]`` form is deprecated since 3.9.
* [doc] Mention __slots__ behavior in weakref.rst (GH-21061)Jakub Stasiak2021-10-061-0/+4
| | | | | | | | | It took me longer than I expected to figure out why a random class I dealt with didn't support weak references. I believe this addition will make the __slots__/weakref interaction more discoverable to people having troubles with this. (Before this patch __slots__ was not mentioned in weakref documentation even once). Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-40321: Add missing test, slightly expand documentation (GH-28760)Łukasz Langa2021-10-061-2/+6
|
* bpo-40321: Support HTTP response status code 308 in urllib.request (#19588)Jochem Schulenklopper2021-10-061-0/+6
| | | | | | | | | | | * Support HTTP response status code 308 in urllib. HTTP response status code 308 is defined in https://tools.ietf.org/html/rfc7538 to be the permanent redirect variant of 307 (temporary redirect). * Update documentation to include http_error_308() * Add blurb for bpo-40321 fix Co-authored-by: Roland Crosby <roland@rolandcrosby.com>
* [doc] Fix typos found using codespell (GH-28744)Christian Clauss2021-10-058-11/+11
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [doc] Fix gethostbyname_ex description (GH-28700)Andre Delfino2021-10-051-2/+2
| | | It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't.
* bpo-28206: Document signals Handlers, Sigmasks and Signals enums (GH-28628)Bibo-Joshi2021-10-041-5/+30
| | | Co-authored-by: desbma <desbma@users.noreply.github.com>
* bpo-45346: Keep docs consistent regarding true and false values (GH-28697)Raymond Hettinger2021-10-021-1/+1
|
* sqlite3: Modernize documentation around unicode and bytes. (GH-28652)Julien Palard2021-10-011-2/+2
|
* bpo-45125: Improves pickling docs and tests for `shared_memory` (GH-28294)Nikita Sobolev2021-10-011-0/+27
|
* Fix doctest doc examples for syntax errors (GH-28486)andrei kulakov2021-09-291-11/+10
| | | | | | | | | * fix doctest doc examples for syntax errors * updated examples to use TypeErrors * fixed first sentence * unneeded comma
* [docs] Use full names for time units (GH-28611)Serhiy Storchaka2021-09-296-9/+9
| | | | Use "second", "millisecond", "microsecond", "nanosecond" instead of "sec", "ms", "msec", "us", "ns", etc.
* [docs] Improve the markup of powers (GH-28598)Serhiy Storchaka2021-09-284-8/+8
|
* [doc] fix minor typo for argparse (GH-28451)Louis Sautier2021-09-281-1/+1
| | | "A JSONDecodeError" instead of "An JSONDecodeError".
* bpo-21302: Add nanosleep() implementation for time.sleep() in Unix (GH-28545)Victor Stinner2021-09-251-7/+9
| | | Co-authored-by: Livius <egyszeregy@freemail.hu>
* bpo-45277: Fix typo in codecs doc (GH-28555)Terry Jan Reedy2021-09-251-1/+1
| | | encoding => encode
* bpo-44019: Add missing comma to operator.call doc (GH-28551)Terry Jan Reedy2021-09-241-1/+1
|
* bpo-44019: Implement operator.call(). (GH-27888)Antony Lee2021-09-241-0/+11
| | | | | | Having `operator.call(obj, arg)` mean `type(obj).__call__(obj, arg)` is consistent with the other dunder operators. The semantics with `*args, **kwargs` then follow naturally from the single-arg semantics.
* [docs] Update documentation for `multiprocessing.get_start_method` (GH-18170)Sam Sneddon2021-09-231-1/+7
|
* Fix legacy logging module URL (GH-28528)Sean Leavey2021-09-231-1/+1
| | | | | The URL listed in the `logging` docs for the original `logging` module leads to a 404. I managed to find the new location for the page and updated the URL. Automerge-Triggered-By: GH:vsajip
* bpo-39549: reprlib.Repr uses a “fillvalue” attribute (GH-18343)Alexander Böhn2021-09-221-0/+8
|
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515)Serhiy Storchaka2021-09-2218-36/+36
| | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com>
* bpo-21302: time.sleep() uses waitable timer on Windows (GH-28483)Victor Stinner2021-09-221-10/+23
| | | | | | | | | | | | On Windows, time.sleep() now uses a waitable timer which has a resolution of 100 ns (10^-7 sec). Previously, it had a solution of 1 ms (10^-3 sec). * On Windows, time.sleep() now calls PyErr_CheckSignals() before resetting the SIGINT event. * Add _PyTime_As100Nanoseconds() function. * Complete and update time.sleep() documentation. Co-authored-by: Livius <egyszeregy@freemail.hu>
* [codemod] Fix non-matching bracket pairs (GH-28473)Mohamad Mansour2021-09-213-3/+3
| | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494)Raymond Hettinger2021-09-211-0/+9
|
* Docs: Clarify the before_and_after() example (GH-28458)Raymond Hettinger2021-09-201-3/+4
|
* bpo-30637: Improve the docs of ast.parse regarding differences with ↵Pablo Galindo Salgado2021-09-191-0/+13
| | | | compile() (GH-28459)
* [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660)Emmanuel Arias2021-09-171-1/+2
| | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-42038: fix description of returned list of lines (GH-27529)andrei kulakov2021-09-171-6/+6
|
* [doc] Add a missing apostrophe in a code example in venv.rst (GH-28391)Arkaprabha Chakraborty2021-09-171-1/+1
|
* bpo-45217: adds note that `allow_no_value` in `configparser` is optional ↵Nikita Sobolev2021-09-171-1/+2
| | | | | (GH-28396) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45162: Remove many old deprecated unittest features (GH-28268)Serhiy Storchaka2021-09-171-48/+7
| | | | | | | * "fail*" and "assert*" aliases of TestCase methods. * Broken from start TestCase method assertDictContainsSubset(). * Ignored TestLoader.loadTestsFromModule() parameter use_load_tests. * Old alias _TextTestResult of TextTestResult.
* Fix typo and add a module prefix (GH-28401)Raymond Hettinger2021-09-171-2/+2
|
* bpo-45155 : Default arguments for int.to_bytes(length=1, ↵Barry Warsaw2021-09-161-17/+27
| | | | | | | byteorder=sys.byteorder) (#28265) Add default arguments for int.to_bytes() and int.from_bytes() Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* bpo-39710: Remove Python 2-specific sentence from calendar documentation ↵Hubert Badocha2021-09-151-4/+1
| | | | (GH-26985)
* bpo-45089: Improve sqlite3 trace callback docs (GH-28238)Erlend Egeberg Aasland2021-09-151-5/+13
| | | | - Add link to str object and sqlite3 transaction control - Mention that exceptions are not propagated
* closes bpo-45190: Update Unicode data to version 14.0.0. (GH-28336)Benjamin Peterson2021-09-142-5/+5
|
* bpo-45168: change dis output to omit missing values rather than replacing ↵Irit Katriel2021-09-141-2/+3
| | | | them by their index (GH-28313)
* bpo-45173 Remove configparser deprecations (GH-28292)Hugo van Kemenade2021-09-131-22/+3
| | | | | | | In the configparser module, these have been deprecated since Python 3.2: * the SafeConfigParser class, * the filename property of the ParsingError class, * the readfp method of the ConfigParser class,
* bpo-21302: Update time.sleep() doc for clock_nanosleep() (GH-28311)Victor Stinner2021-09-131-0/+5
| | | | Clean-up also What's New in Python 3.11 doc: move entries to the correct sections.
* bpo-9811: [doc] strftime handling of unsupported format specifiers is ↵Irit Katriel2021-09-101-1/+2
| | | | platform dependent (GH-28264)