summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.8.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: Change links to label refs (#98454)Stanley2022-10-261-2/+2
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-93738: Documentation C syntax (Use `c:struct`) (#97772)Adam Turner2022-10-041-1/+1
| | | Use `c:struct`
* gh-96959: Update more HTTP links (GH-97536)Serhiy Storchaka2022-09-271-1/+1
| | | | Use HTTPS for documents which are available by both HTTP and HTTPS links, but there is no redirection from HTTP to HTTPS or vice versa.
* gh-81039: Add small example of f-string's "=}" to tutorial (gh-92291)Stanley2022-09-211-0/+1
|
* gh-83728: Add hmac.new default parameter deprecation (GH-91939)Stanley2022-06-061-0/+2
|
* gh-92240 : Include release dates for "What's New In Python 3.X" (#92937)georgically2022-05-291-0/+1
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Document Py_ssize_t. (GH-92512)Julien Palard2022-05-131-1/+1
| | | | | | It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-84131: Remove the deprecated pathlib.Path.link_to method. (#92505)Gregory P. Smith2022-05-101-0/+3
| | | Co-authored-by: Barney Gale <barney.gale@gmail.com>
* bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824)Łukasz Langa2021-08-191-0/+13
|
* bpo-43774: Enhance debug build documentation (GH-25712)Victor Stinner2021-04-291-2/+2
| | | | | * Add also references to --with-trace-refs option. * Move _ob_next and _ob_prev at the end, since they don't exist by default and are related to debug.
* bpo-43908: Document Static Types in the C API (GH-25710)Victor Stinner2021-04-291-2/+3
| | | Update also PyTypeObject structure definition in the doc.
* bpo-43774: Document configure options (GH-25283)Victor Stinner2021-04-081-3/+3
| | | | | | Add Doc/using/configure.rst documentation to document configure, preprocessor, compiler and linker options. Add a new section about the "Python debug build".
* bpo-42967: Fix urllib.parse docs and make logic clearer (GH-24536)Ken Jin2021-02-151-2/+2
|
* bpo-42967: only use '&' as a query string separator (#24297)Adam Goldschmidt2021-02-141-0/+13
| | | | | | | | | | | bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org>
* bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)Victor Stinner2020-12-011-3/+0
|
* bpo-33822: Update IDLE section of What's New 3.8 (GH-22383)Terry Jan Reedy2020-09-231-0/+10
|
* bpo-32528: Document the change in inheritance of asyncio.CancelledError ↵JustAnotherArchivist2020-07-141-2/+4
| | | | | | | | | (GH-21474) #msg373510 [bpo-32528]()/#13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document. Automerge-Triggered-By: @1st1
* Remove duplicated words words (GH-20413)Serhiy Storchaka2020-05-261-1/+1
|
* bpo-32117: Updated Simpsons names in docs (GH-19737)Javier Buzzi2020-05-051-2/+2
| | | | | `sally` is not a Simpsons character Automerge-Triggered-By: @gvanrossum
* bpo-40197: Better describe the benchmark results table (GH-19386)Raymond Hettinger2020-04-061-1/+7
|
* bpo-38237: Use divmod for positional arguments whatsnew example (GH-19171)Ammar Askar2020-03-271-5/+4
|
* bpo-32892: Update the documentation for handling constants in AST. (GH-18514)Serhiy Storchaka2020-02-171-0/+6
|
* Fix MinGW library generation command (GH-17917)Baljak2020-02-051-1/+1
| | | To print the exports to stdout, the gendef command requires the option "-". Without this option, no output is generated.
* Update 3.8.rst (GH-18173)fireattack2020-01-251-1/+1
| | | Fixed the name of the contributor (@selik).
* Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s ↵Kyle Stanley2019-12-161-0/+10
| | | | *reuse_address* parameter (#17595)
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-4/+4
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-36974: expand call protocol documentation (GH-13844)Jeroen Demeyer2019-11-121-5/+5
| | | | | | | | | | | | | | CC @encukou I'm also adding Petr Viktorin as contributor for vectorcall in the "what's new" section. https://bugs.python.org/issue36974 Automerge-Triggered-By: @encukou Automerge-Triggered-By: @encukou
* bpo-37759: Show output from var_access_benchmark (GH-17040)Raymond Hettinger2019-11-041-3/+52
|
* Fix asyncio.wait() 3.8 whatsnew entry (GH-16975)Kyle Stanley2019-10-291-1/+2
|
* bpo-38534: Replace wrong KB number references (GH-16955)benedwards142019-10-281-1/+1
|
* Add missing asyncio changes from 3.8 whatsnew (GH-16911)Kyle Stanley2019-10-241-10/+85
|
* bpo-37759: More updates to Whatsnew 3.8 (GH-16854)Raymond Hettinger2019-10-201-26/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * math.perm() and math.comb() * math.isqrt() * Add singledispatchmethod() * itertools.accumulate() * Optional headers for xmlrpc.client.ServerProxy * IDLE non-BMP characters * import collections.abc directly * @coroutine is deprecated * pprint.pp() * New options for object.__reduce__() * DictReader no longer returns OrderedDicts * "force" option for logging.basicConfig() * Fix spelling * cProfile context manager * Various markup/grammar fixes from Kyle Stanley. Other minor fixes as well. Also, dedup the __reduce__ entry. * Fix markup * Fix grammar nits found by MS Word
* Fix minor typos in What's New in Python 3.8. (GH-16770)Jero Bado2019-10-181-4/+4
| | | Added periods at the end of the sentences.
* Doc: Add missing entry for functools.cached_property (GH-16803)Stéphane Wirtel2019-10-181-0/+16
|
* Remove draft status. Add asyncio REPL example (GH-16785)Raymond Hettinger2019-10-141-8/+29
|
* bpo-37759: Polish What's New in Python 3.8. (#16769)Serhiy Storchaka2019-10-141-88/+123
|
* bpo-37759: Add examples for the new typing features (GH-16763)Raymond Hettinger2019-10-141-5/+21
|
* bpo-38461 and bpo-38463: Minor fixes to Whatsnew 3.8 (GH-16761)Raymond Hettinger2019-10-141-9/+10
| | | | | | * bpo-38461: ncurses misspelled as curses * bpo-38463: Fix broken link
* Rebased version of what's new PR (#16745)Andrew Kuchling2019-10-131-83/+67
| | | | | | * Use Unicode character for accent * Various grammar fixes * Sort library modules alphabetically; remove duplicated idlelib/IDLE section
* Fix minor typos in WhatsnewHugo van Kemenade2019-10-121-12/+10
|
* Announce the change in the CancelledError inheritance (GH-16730)Phil Jones2019-10-121-0/+4
| | | | This is a fairly noticeable change that requires adjustments in existing asyncio code. It should therefore be announced.
* bpo-38442: Remove an execution bit from Doc/whatsnew/3.8.rst. (GH-16715)Serhiy Storchaka2019-10-111-0/+0
|
* Fix typo in the "Porting to Python 3.8" section. (GH-16435)bariod2019-09-271-1/+1
|
* bpo-38234: Py_SetPath() uses the program full path (GH-16357)Victor Stinner2019-09-241-0/+5
| | | | | | | Py_SetPath() now sets sys.executable to the program full path (Py_GetProgramFullPath()), rather than to the program name (Py_GetProgramName()). Fix also memory leaks in pathconfig_set_from_config().
* bpo-28724: Add methods send_fds and recv_fds to the socket module (GH-12889)Joannah Nanjekye2019-09-111-0/+0
| | | | | | | The socket module now has the socket.send_fds() and socket.recv.fds() functions. Contributed by Joannah Nanjekye, Shinya Okano (original patch) and Victor Stinner. Co-Authored-By: Victor Stinner <vstinner@redhat.com>
* bpo-35224: Additional documentation for Assignment Expressions (GH-15935)Emily Morehouse2019-09-111-2/+0
| | | | | | | | | | | | | Add or update assignment expression documentation for: - FAQ - Design - Reference - Expressions - Reference - Lexical Analysis https://bugs.python.org/issue35224 Automerge-Triggered-By: @matrixise
* Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)Simon Willison2019-09-111-1/+2
| | | | Since they have been removed from cgi it's useful to remind people where they can be found instead.
* bpo-32972: Document IsolatedAsyncioTestCase of unittest module (GH-15878)Xtreak2019-09-111-0/+26
| | | | | | | | | | | * Document `unittest.IsolatedAsyncioTestCase` API * Add a simple example with respect to order of evaluation of setup and teardown calls. https://bugs.python.org/issue32972 Automerge-Triggered-By: @asvetlov
* Fix typo in math.prod example (GH-15614)Ashwin Vishnu2019-09-091-1/+1
|
* closes bpo-37966: Fully implement the UAX #15 quick-check algorithm. (GH-15558)Greg Price2019-09-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of the `unicodedata.is_normalized` function is to answer the question `str == unicodedata.normalized(form, str)` more efficiently than writing just that, by using the "quick check" optimization described in the Unicode standard in UAX #15. However, it turns out the code doesn't implement the full algorithm from the standard, and as a result we often miss the optimization and end up having to compute the whole normalized string after all. Implement the standard's algorithm. This greatly speeds up `unicodedata.is_normalized` in many cases where our partial variant of quick-check had been returning MAYBE and the standard algorithm returns NO. At a quick test on my desktop, the existing code takes about 4.4 ms/MB (so 4.4 ns per byte) when the partial quick-check returns MAYBE and it has to do the slow normalize-and-compare: $ build.base/python -m timeit -s 'import unicodedata; s = "\uf900"*500000' \ -- 'unicodedata.is_normalized("NFD", s)' 50 loops, best of 5: 4.39 msec per loop With this patch, it gets the answer instantly (58 ns) on the same 1 MB string: $ build.dev/python -m timeit -s 'import unicodedata; s = "\uf900"*500000' \ -- 'unicodedata.is_normalized("NFD", s)' 5000000 loops, best of 5: 58.2 nsec per loop This restores a small optimization that the original version of this code had for the `unicodedata.normalize` use case. With this, that case is actually faster than in master! $ build.base/python -m timeit -s 'import unicodedata; s = "\u0338"*500000' \ -- 'unicodedata.normalize("NFD", s)' 500 loops, best of 5: 561 usec per loop $ build.dev/python -m timeit -s 'import unicodedata; s = "\u0338"*500000' \ -- 'unicodedata.normalize("NFD", s)' 500 loops, best of 5: 512 usec per loop