summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* Fix reST markup in unittest documentation (GH-8665)Berker Peksag2018-08-031-1/+1
|
* bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655)Stefan Otte2018-08-031-1/+5
|
* Improve the grammar in `range` documentation. (GH-8628)Andrés Delfino2018-08-031-1/+1
| | | Remove unnecessary "that" in the sentence.
* bpo-27910: Update documentation of traceback module (GH-6116)torsava2018-08-021-17/+19
| | | | | | | | | | In the documentation for the traceback module, the definitions of functions extract_tb(), format_list() and classmethod StackSummary.from_list() mention the old style 4-tuples that these functions used to return or accept. Since Python 3.5, however, they return or accept a FrameSummary object instead of a 4-tuple, or a StackSummary object instead of a list of 4-tuples. Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
* bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)Marcel Plch2018-08-021-2/+20
| | | | | ZipFile can zip files older than 1980-01-01 and newer than 2107-12-31 using a new strict_timestamps parameter at the cost of setting the timestamp to the limit.
* bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532)MartinAltmayer2018-07-311-4/+0
|
* bpo-33089: Add math.dist() for computing the Euclidean distance between two ↵Raymond Hettinger2018-07-311-0/+12
| | | | points (GH-8561)
* bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346)Serhiy Storchaka2018-07-311-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | * help(hashlib) didn't work because of incorrect module name in blake2b and blake2s classes. * Constructors blake2*(), sha3_*(), shake_*() and keccak_*() incorrectly accepted keyword argument "string" for binary data, but documented as accepting the "data" keyword argument. Now this parameter is positional-only. * Keyword-only parameters in blake2b() and blake2s() were not documented as keyword-only. * Default value for some parameters of blake2b() and blake2s() was None, which is not acceptable value. * The length argument for shake_*.digest() was wrapped out to 32 bits. * The argument for shake_128.digest() and shake_128.hexdigest() was not positional-only as intended. * TypeError messages for incorrect arguments in all constructors sha3_*(), shake_*() and keccak_*() incorrectly referred to sha3_224. Also made the following enhancements: * More accurately specified input and result types for strings, bytes and bytes-like objects. * Unified positional parameter names for update() and constructors. * Improved formatting.
* bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor() ↵Elvis Pranskevichus2018-07-301-1/+8
| | | | | | | (GH-8533) Various asyncio internals expect that the default executor is a `ThreadPoolExecutor`, so deprecate passing anything else to `loop.set_default_executor()`.
* bpo-8145: Improve isolation_level documentation (GH-8499)Berker Peksag2018-07-291-14/+22
| | | Initial patch by R. David Murray.
* bpo-33089: Multidimensional math.hypot() (GH-8474)Raymond Hettinger2018-07-281-3/+12
|
* bpo-24356: Specify which Python binary will be used with venv (GH-6589)Elena Oat2018-07-281-3/+8
|
* bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877)johnthagen2018-07-281-6/+7
| | | Clarify how to bind to all interfaces using socket
* bpo-5978: Document that profiling needs cmd/function to return (GH-7938)Andrés Delfino2018-07-281-0/+5
| | | | | | <!-- issue-number: bpo-5978 --> https://bugs.python.org/issue5978 <!-- /issue-number -->
* bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691)Sanyam Khurana2018-07-281-7/+13
| | | | | Mathematically, bitwise operations on integers behave as if there were an infinite number of sign bits. Pragmatically, that gives the same answer as using one extra sign bit for the bitwise logical operations.
* Fix site module documentation. (GH-8441)Mariatta2018-07-241-1/+1
| | | The script will exit with the number 0 (zero), instead of the letter O.
* bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769)Serhiy Storchaka2018-07-241-16/+9
| | | | | Also make getchildren() and getiterator() emitting a DeprecationWarning instead of PendingDeprecationWarning.
* bpo-34149: Behavior of the min/max with key=None (GH-8328)Alexander Marshalov2018-07-241-0/+6
| | | Improve consistency with the signature for sorted(), heapq.nsmallest(), heapq.nlargest(), and itertools.groupby().
* bpo-33468: Add try-finally contextlib.contextmanager example (GH-7816)Matthias Bussonnier2018-07-231-11/+17
|
* bpo-21446: Update reload fixer to use importlib (GH-8391)Berker Peksag2018-07-231-1/+1
|
* Fix versionchanged indentation in popitem documentation (GH-8387)Andrés Delfino2018-07-211-3/+2
|
* Clarify ValueError's broad applicability (GH-8313)Raymond Hettinger2018-07-171-1/+1
|
* bpo-34123: Fix missed documentation update for dict.popitem(). (GH-8292)Raymond Hettinger2018-07-171-1/+7
|
* bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297)Jon Ribbens2018-07-161-1/+1
|
* bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924)Andrés Delfino2018-07-131-1/+19
|
* Doc: Point to Simple statements section instead of PEP (GH-8238)Andrés Delfino2018-07-111-2/+2
|
* Dataclasses: Fix example on 30.6.8, add method should receive a list rather ↵Tom Faulkner2018-07-111-1/+1
| | | | | | than an integer. (GH-8038) Change example function to append rather than add lists.
* bpo-34067: Include a more easily understood example for nullcontext (GH-8158)Daniel Porteous2018-07-091-1/+13
| | | Include a more easily understood example for nullcontext
* bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684)Serhiy Storchaka2018-07-091-1/+1
|
* Fix margin in sentinel and mock_open (GH-8188)Andrés Delfino2018-07-091-21/+21
|
* bpo-34061: Document sqlite3.NotSupportedError (GH-8172)Marcin Niemira2018-07-081-1/+8
|
* bpo-34041: Allow creating deterministic functions in ↵Sergey Fedoseev2018-07-081-2/+9
| | | | Connection.create_function() (GH-8086)
* closes bpo-34050: Fix link in SSL docs (GH-8173)Marcin Niemira2018-07-071-1/+1
|
* bpo-33804: Document that the argument for io.TextIOBase.read() is optional ↵Andrés Delfino2018-07-071-1/+1
| | | | (GH-7510)
* Fix moduleauthor/sectionauthor directives in Enum (GH-8117)Andrés Delfino2018-07-071-4/+4
|
* Add missing closing parentheses (GH-8144)Andrés Delfino2018-07-071-1/+1
|
* bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153)Dong-hee Na2018-07-071-8/+7
|
* Doc: Remove superfluous markup. (GH-8112)Julien Palard2018-07-061-1/+1
| | | The line is speaking of a list of commands, not the list command.
* versionadded -> versionchanged for all 'X parameter was added' for ↵Sergey Fedoseev2018-07-063-7/+7
| | | | | | uniformity. (GH8114) Per the recommendation in our Developer's Guide: https://devguide.python.org/documenting/#paragraph-level-markup
* classify abs() argument type (GH-8103)Windson yang2018-07-051-1/+2
|
* DOC: In `reduce`, refer to `accumulate` (GH-7930)Gerrit Holl2018-07-041-0/+2
|
* bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348)Farhaan Bukhsh2018-07-041-5/+6
| | | | | This commit fixes the -timedelta overfllow issue not documented properly. Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
* bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. ↵Sergey Fedoseev2018-07-031-2/+2
| | | | (GH-8042)
* bpo-30660: Doc: Optimize PNG files by optipng (GH-8032)INADA Naoki2018-07-014-0/+0
| | | | Using OptiPNG 0.7.7. Used command is: `find . -name '*.png' | xargs optipng -o7`
* bpo-31938: Convert selectmodule.c to Argument Clinic (GH-4265)Tal Einat2018-06-301-1/+1
|
* Doc: Remove unused image file (GH-8027)INADA Naoki2018-06-301-0/+0
|
* bpo-32568: make select.epoll() and its docs consistent (#7840)Tal Einat2018-06-301-1/+10
| | | | | | | | | | | | | * `flags` is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. * The docs say that `sizehint` is deprecated and ignored, but it is still used when `epoll_create1()` is unavailable. This adds mention of this in the docs. * `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`. This is needed to have a default value available at the Python level, since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938) * Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`. The relevant tests have also been updated.
* Fix the indentation in the documentation of bin() and hash() (GH-7998)Andrés Delfino2018-06-291-5/+5
|
* bpo-33985: Implement ContextVar.name attribute. (GH-7980)Yury Selivanov2018-06-281-0/+2
|
* bpo-25007: Add copy protocol support to zlib compressors and decompressors ↵Zackery Spytz2018-06-271-0/+10
| | | | (GH-7940)