summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564)Brice Gros2018-02-071-0/+3
| | | Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
* Add What's new entry for datetime.fromisoformat (#5559)Paul Ganssle2018-02-061-0/+8
| | | Documents bpo-15873
* bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. ↵Serhiy Storchaka2018-02-052-6/+26
| | | | (#5497)
* Fix typo in whatsnew/3.7.rst (GH-5551)Dag Heyman2018-02-051-1/+1
| | | now longer -> no longer
* bpo-32720: Fixed the replacement field grammar documentation. (GH-5544)Mariatta2018-02-051-2/+2
| | | | `arg_name` and `element_index` are defined as `digit`+ instead of `integer`.
* bpo-8722: Document __getattr__ behavior with AttributeError in property ↵Cheryl Sabella2018-02-051-4/+6
| | | | | | | (GH-4754) When `__getattr__` is implemented, attribute lookup will always fall back to that, even if the initial failure comes from `__getattribute__` or a descriptor's `__get__` method (including property methods).
* Fix typo -- missing "not" (GH-5528)Raymond Hettinger2018-02-041-1/+1
|
* bpo-10544: Disallow "yield" in comprehensions and generator expressions. ↵Serhiy Storchaka2018-02-042-14/+18
| | | | (GH-4564)
* bpo-32720: Fixed the definition for width and precision in format ↵nathankerr962018-02-041-2/+2
| | | | | mini-language doc (GH-5482) Changed the definition of width and precision from "integer" to "digit+" in format mini-language doc.
* bpo-32746: Fix multiple typos (GH-5144)Leo Arias2018-02-042-3/+2
| | | Fix typos found by codespell in docs, docstrings, and comments.
* bpo-32739: Show default value for rotate() (GH-5485)Raymond Hettinger2018-02-031-4/+7
|
* bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265)Cheryl Sabella2018-02-023-6/+21
| | | | Modify RE examples in documentation to use raw strings to prevent DeprecationWarning. Add text to REGEX HOWTO to highlight the deprecation. Approved by Serhiy Storchaka.
* bpo-32303 - Consistency fixes for namespace loaders (#5481)Barry Warsaw2018-02-021-1/+1
| | | | | | | * Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages. * Make sure ``__spec__.origin` matches ``__file__`` for namespace packages. https://bugs.python.org/issue32303 https://bugs.python.org/issue32305
* Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495Yury Selivanov2018-02-021-28/+0
| | | | | | | This reverts commit 72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c. The reverted commit had a few issues so it was unanimously decided to undo it. See the bpo issue for details.
* Implement TimerHandle.when() (#5473)Andrew Svetlov2018-02-011-4/+19
|
* [3.8] bpo-31508: Remove support of arguments in ↵Serhiy Storchaka2018-02-012-6/+13
| | | | | | tkinter.ttk.Treeview.selection. (GH-3651) It was deprecated in 3.6.
* bpo-32565: Add missed versionadded directives for all new opcodes. (#5199)Serhiy Storchaka2018-02-011-0/+31
|
* bpo-32722: Remove useless example in the Classes tutorial (#5446)Stéphane Wirtel2018-02-011-4/+1
| | | | | In the tutorial about the Generator expression, there is an example with a dict comprehension and not with a generator expression, just removed the code.
* Update Doc build to 3.8Ned Deily2018-01-314-1/+119
|
* Start of 3.8.0a0Ned Deily2018-01-313-6/+6
|
* bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464)Cheryl Sabella2018-01-311-1/+1
| | | | The f-string example for using datetime format specifier does not match the given output. Changed the format from %b to %B so it matches the output of "January".
* Make site documentation more clear (#5461)Xiang Zhang2018-01-311-6/+8
| | | | Mention only ImportError caused by importing sitecustomize.py/usercustomize.py themselves will be silently ignored.
* bpo-30693: zip+tarfile: sort directory listing (#2263)Bernhard M. Wiedemann2018-01-312-2/+9
| | | | | | tarfile and zipfile now sort directory listing to generate tar and zip archives in a more reproducible way. See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
* bpo-32724: Fix references to commands in Doc/pdb.rst (GH-5444)Stéphane Wirtel2018-01-301-5/+8
| | | | | Some commands are specified in the documentation, but there is no direct references.
* bpo-22908: Add seek and tell functionality to ZipExtFile (GH-4966)John Jolly2018-01-301-3/+3
| | | | | This allows for nested zip files, tar files within zip files, zip files within tar files, etc. Contributed by: John Jolly
* bpo-31961: subprocess now accepts path-like args (GH-4329)Anders Lorentsen2018-01-301-6/+10
| | | Allow os.PathLike args in subprocess APIs.
* bpo-32102 Add "capture_output=True" to subprocess.run (GH-5149)Bo Bayles2018-01-301-8/+11
| | | | Add "capture_output=True" option to subprocess.run, this is equivalent to setting stdout=PIPE, stderr=PIPE but is much more readable.
* bpo-21417: Add compresslevel= to the zipfile module (GH-5385)Bo Bayles2018-01-301-12/+32
| | | | | | This allows the compression level to be specified when writing zipfiles (for the entire file *and* overridden on a per-file basis). Contributed by Bo Bayles
* bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401)Julien Palard2018-01-301-3/+4
|
* bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181)Mark Shannon2018-01-302-7/+2
|
* bpo-28134: Auto-detect socket values from file descriptor (#1349)Christian Heimes2018-01-291-4/+9
| | | | | | | | | | | | | | | Fix socket(fileno=fd) by auto-detecting the socket's family, type, and proto from the file descriptor. The auto-detection can be overruled by passing in family, type, and proto explicitly. Without the fix, all socket except for TCP/IP over IPv4 are basically broken: >>> s = socket.create_connection(('www.python.org', 443)) >>> s <socket.socket fd=3, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=6, laddr=('2003:58:bc4a:3b00:56ee:75ff:fe47:ca7b', 59730, 0, 0), raddr=('2a04:4e42:1b::223', 443, 0, 0)> >>> socket.socket(fileno=s.fileno()) <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('2003:58:bc4a:3b00::%2550471192', 59730, 0, 2550471192), raddr=('2a04:4e42:1b:0:700c:e70b:ff7f:0%2550471192', 443, 0, 2550471192)> Signed-off-by: Christian Heimes <christian@python.org>
* bpo-31356: Add context manager to temporarily disable GC (GH-4224)Pablo Galindo2018-01-291-0/+28
|
* bpo-25988: Deprecate exposing collections.abc in collections GH-5414Raymond Hettinger2018-01-292-2/+7
|
* bpo-31429: Define TLS cipher suite on build time (#3532)Christian Heimes2018-01-291-0/+6
| | | | | | | | | | | | | Until now Python used a hard coded white list of default TLS cipher suites. The old approach has multiple downsides. OpenSSL's default selection was completely overruled. Python did neither benefit from new cipher suites (ChaCha20, TLS 1.3 suites) nor blacklisted cipher suites. For example we used to re-enable 3DES. Python now defaults to OpenSSL DEFAULT cipher suite selection and black lists all unwanted ciphers. Downstream vendors can override the default cipher list with --with-ssl-default-suites. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-31233, bpo-31151: Document socketserver changes (#5417)Victor Stinner2018-01-292-0/+23
| | | | | socketserver.ForkingMixIn.server_close() and socketserver.ThreadingMixIn.server_close() now waits until all child processes and non-daemonic threads complete.
* bpo-20891: Py_Initialize() now creates the GIL (#4700)Victor Stinner2018-01-291-40/+23
| | | | The GIL is no longer created "on demand" to fix a race condition when PyGILState_Ensure() is called in a non-Python thread.
* Fix minor markup typo (#5407)cocoatomo2018-01-291-1/+1
|
* bpo-32251: Fix docs (#5408)Yury Selivanov2018-01-291-2/+3
|
* Document the error return of PyLong_As* APIs. (#5396)Gregory P. Smith2018-01-291-0/+34
| | | | | | Document the error return of PyLong_As* APIs. A frequent Python C API usage error is neglecting to check the return value and/or PyErr_Occurred().
* bpo-32699: Improves doc for .pth files in presense of a ._pth file (#5399)Steve Dower2018-01-281-4/+4
|
* bpo-32373: Add socket.getblocking() method. (#4926)Yury Selivanov2018-01-281-0/+10
|
* bpo-32251: Implement asyncio.BufferedProtocol. (#4755)Yury Selivanov2018-01-281-4/+71
|
* Revert "bpo-32221: makeipaddr(): remove interface part + speedup (GH-4724)" ↵Yury Selivanov2018-01-281-15/+0
| | | | | (#5394) This reverts commit 47c0b1f7d4115e6f15e6776c1f91d28e7d96fe0c.
* bpo-32697: Definition order of kwonly params is now guaranteed preserved. ↵larryhastings2018-01-281-2/+13
| | | | | | (#5391) Definition order of kwonly params is now guaranteed preserved.
* bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392)Yury Selivanov2018-01-281-6/+9
| | | | I've run some tests on 3.7 asyncio and it appears that too many things assume that run_in_executor returns a Future.
* Fix PyTrace_RETURN documentation (GH-5384)Xiang Zhang2018-01-281-1/+1
| | | It will be triggered when propagating an exception.
* Add example for PEP 557. (GH-5383)Eric V. Smith2018-01-281-0/+11
|
* bpo-32659: Solaris "stat" should support "st_fstype" (#5307)jcea2018-01-281-0/+10
| | | | | | * bpo-32659: Solaris "stat" should support "st_fstype" * Add 'versionadded'
* bpo-32649: Add C API docs for per-opcode tracing & profiling (GH-5360)Xiang Zhang2018-01-281-9/+20
| | | | Updating the C API docs was missed when the per-opcode tracing & profiling support was initially added.
* bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation ↵Xiang Zhang2018-01-281-2/+2
| | | | | | (#5361)