summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38010 Sync importlib.metadata with importlib_metadata 0.20. (GH-15646)Jason R. Coombs2019-09-021-0/+7
| | | Sync importlib.metadata with importlib_metadata 0.20.
* bpo-36543: Remove old-deprecated ElementTree features. (GH-12707)Serhiy Storchaka2019-09-011-18/+0
| | | | | Remove methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() and the xml.etree.cElementTree module.
* bpo-37977: Warn more strongly and clearly about pickle security (GH-15595)Daniel Pope2019-08-311-4/+18
|
* Fix typos mostly in comments, docs and test names (GH-15209)Min ho Kim2019-08-301-2/+2
|
* bpo-37979: Add alternative to fromisoformat in documentation (GH-15596)Paul Ganssle2019-08-291-1/+3
| | | | | | | | | | | | | | | | Adds a link to `dateutil.parser.isoparse` in the documentation. It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR. CC: @pitrou [bpo-37979](https://bugs.python.org/issue37979) https://bugs.python.org/issue37979 Automerge-Triggered-By: @pitrou
* bpo-10978: Semaphores can release multiple threads at a time (GH-15588)Raymond Hettinger2019-08-291-4/+7
|
* bpo-16468: Clarify which objects can be passed to "choices" in argparse ↵Raymond Hettinger2019-08-291-3/+2
| | | | (GH-15566)
* bpo-23674: Clarify ambiguities in super() docs (#15564)Raymond Hettinger2019-08-291-3/+10
|
* bpo-37950: Fix ast.dump() when call with incompletely initialized node. ↵Serhiy Storchaka2019-08-291-4/+5
| | | | (GH-15510)
* bpo-35946: Improve assert_called_with documentation (GH-11796)Rémi Lapeyre2019-08-291-2/+2
|
* Raise a RuntimeError when tee iterator is consumed from different threads ↵HongWeipeng2019-08-291-1/+2
| | | | (GH-15567)
* closes bpo-37964: add F_GETPATH command to fcntl (GH-15550)Vinay Sharma2019-08-291-0/+4
| | | | | | | https://bugs.python.org/issue37964 Automerge-Triggered-By: @benjaminp
* bpo-37951: Lift subprocess's fork() restriction (GH-15544)Christian Heimes2019-08-271-0/+7
|
* bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). ↵Serhiy Storchaka2019-08-261-0/+7
| | | | | | | (GH-15490) It emits a deprecation warning and calls corresponding method visit_Num(), visit_Str(), etc.
* bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073)Zackery Spytz2019-08-251-0/+8
| | | | Fix assert statement misbehavior if AssertionError is shadowed.
* bpo-37905: Improve docs for NormalDist (GH-15486)Raymond Hettinger2019-08-251-20/+7
|
* bpo-19072: Make @classmethod support chained decorators (GH-8405)Berker Peksag2019-08-241-2/+4
|
* Clarify argument types in datetime docs. (GH-15459)Jürgen Gmach2019-08-241-3/+3
| | | | | | | | | | | | "Arguments may be integers... " could be misunderstand as they also could be strings. New wording makes it clear that arguments have to be integers. modified: Doc/library/datetime.rst Automerge-Triggered-By: @pganssle
* bpo-14112: Allow beginners to explore shallowness in greater depth ;-) ↵Raymond Hettinger2019-08-241-0/+1
| | | | (GH-15465)
* bpo-26589: Add http status code 451 (GH-15413)Raymond Hettinger2019-08-231-0/+4
|
* bpo-14465: Add an indent() function to xml.etree.ElementTree to pretty-print ↵Stefan Behnel2019-08-231-0/+12
| | | | XML trees (GH-15200)
* Correct minor grammar mistake (GH-15404)Andre Delfino2019-08-231-1/+1
|
* bpo-30550: Clarify JSON ordering guarantees (GH-15397)Raymond Hettinger2019-08-221-0/+12
|
* bpo-32554: Deprecate hashing arbitrary types in random.seed() (GH-15382)Raymond Hettinger2019-08-221-0/+10
|
* bpo-27961: Remove leftovers from the times when long long wasn't required ↵Sergey Fedoseev2019-08-223-36/+24
| | | | (GH-15388)
* bpo-37834: Normalise handling of reparse points on Windows (GH-15231)Steve Dower2019-08-213-2/+65
| | | | | | | | | | bpo-37834: Normalise handling of reparse points on Windows * ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed) * nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point) * nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour) * nt.readlink() will read destinations for symlinks and junction points only bpo-1311: os.path.exists('nul') now returns True on Windows * nt.stat('nul').st_mode is now S_IFCHR (previously was an error)
* bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)Steve Dower2019-08-211-1/+9
|
* Update asyncio.ensure_future() documentation (GH-15347)Roger Iyengar2019-08-211-1/+3
| | | | Added back mention that ensure_future actually scheduled obj. This documentation just mentions what ensure_future returns, so I did not realize that ensure_future also schedules obj.
* bpo-37823: Fix open() link in telnetlib doc (GH-15281)Michael Anckaert2019-08-211-1/+1
| | | Fixed wrong link to Telnet.open() method in telnetlib documentation.
* Minor documentation fixes on library/enum (GH-15234)Antoine2019-08-201-5/+4
| | | * Minor documentation fixes on library/enum
* fix link to time function from time_ns doc (GH-15285)Éric Araujo2019-08-171-1/+1
| | | Because mod, func, class, etc all share one namespace, :func:time creates a link to the time module doc page rather than the time.time function.
* bpo-37540: vectorcall: keyword names must be strings (GH-14682)Jeroen Demeyer2019-08-161-2/+4
| | | | | | | | The fact that keyword names are strings is now part of the vectorcall and `METH_FASTCALL` protocols. The biggest concrete change is that `_PyStack_UnpackDict` now checks that and raises `TypeError` if not. CC @markshannon @vstinner https://bugs.python.org/issue37540
* bpo-37775: Update compileall doc for invalidation_mode parameter (GH-15148)Hai Shi2019-08-141-3/+12
|
* bpo-36502: Correct documentation of str.isspace() (GH-15019)Greg Price2019-08-141-3/+7
| | | | | | | | | | | | | | | | | | The documented definition was much broader than the real one: there are tons of characters with general category "Other", and we don't (and shouldn't) treat most of them as whitespace. Rewrite the definition to agree with the comment on _PyUnicode_IsWhitespace, and with the logic in makeunicodedata.py, which is what generates that function and so ultimately governs. Add suitable breadcrumbs so that a reader who wants to pin down exactly what this definition means (what's a "bidirectional class" of "B"?) can do so. The `unicodedata` module documentation is an appropriate central place for our references to Unicode's own copious documentation, so point there. Also add to the isspace() test a thorough check that the implementation agrees with the intended definition.
* bpo-37256: Wording in Request class docs (#14792)Ngalim Siregar2019-08-141-1/+1
| | | | | | | | | | * bpo-37256: Wording in Request class docs * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Documentation/2019-07-16-14-48-12.bpo-37256.qJTrBb.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* bpo-37689: add Path.is_relative_to() method (GH-14982)Hai Shi2019-08-131-1/+14
|
* bpo-37814: Document the empty tuple type annotation syntax (GH-15208)Josh Holland2019-08-131-1/+2
| | | | | | | | https://bugs.python.org/issue37814: > The empty tuple syntax in type annotations, `Tuple[()]`, is not obvious from the examples given in the documentation (I naively expected `Tuple[]` to work); it has been documented in PEP 484 and in mypy, but not in the documentation for the typing module. https://bugs.python.org/issue37814
* Fix docs for assert_called and assert_called_once (#15197)Ismail S2019-08-121-2/+2
|
* bpo-37819: Add Fraction.as_integer_ratio() (GH-15212)Raymond Hettinger2019-08-111-0/+7
|
* bpo-35892: Add usage note to mode() (GH-15122)Raymond Hettinger2019-08-081-1/+3
|
* Update pickle.rst (GH-14128)Géry Ogam2019-08-071-17/+19
| | | | * Edits for readability and grammar
* bpo-37004: Documented asymmetry of string arguments in ↵sweeneyde2019-08-071-0/+10
| | | | | difflib.SequenceMatcher for ratio method (GH-13482) https://bugs.python.org/issue37004
* bpo-37646: Document that eval() cannot access nested scopes (GH-15117)Raymond Hettinger2019-08-071-6/+10
|
* Improve signal documentation (GH-14274)Géry Ogam2019-08-061-20/+22
| | | | * add a missing ``.. availability::`` reST explicit markup; * more consistent "see man page" sentences.
* bpo-37748: Re-order the Run menu. (GH-15115)Terry Jan Reedy2019-08-041-16/+16
| | | Put the most common choice, Run Module, at the top.
* Update itertools docs (GH-15114)Raymond Hettinger2019-08-041-6/+6
| | | | | * Remove suggestion that is less relevant now that global lookups are much faster * Add link for installing the recipes
* bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904)Serhiy Storchaka2019-08-041-0/+6
| | | | | The collection's item is now always at the left and the needle is on the right of ==.
* bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. ↵Serhiy Storchaka2019-08-041-0/+17
| | | | | | | | | (GH-14996) There was a discrepancy between the Python and C implementations. Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support to test mixed type comparison.
* bpo-37444: Update differing exception between builtins and importlib (GH-14869)Ngalim Siregar2019-08-031-3/+8
| | | | | | | | | | Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure. https://bugs.python.org/issue37444 Automerge-Triggered-By: @brettcannon
* bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in ↵David H2019-07-311-3/+3
| | | | docs. (GH-15062)