summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* doc: fix link to time function from time_nsfix-time_ns-linkÉric Araujo2019-08-141-1/+1
|
* 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-131-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
* bpo-37759: Second round of edits to Whatsnew 3.8 (GH-15204)Raymond Hettinger2019-08-121-20/+88
|
* bpo-37804: Remove the deprecated method threading.Thread.isAlive() (GH-15225)Dong-hee Na2019-08-121-0/+4
|
* 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-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195)Gregory P. Smith2019-08-102-10/+3
| | | | | | | | | | | | | | | | | | DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6bac2408f879231c7cd38d67657dd4804e7c to the master branch). (This is https://github.com/python/cpython/pull/15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
* bpo-35892: Add usage note to mode() (GH-15122)Raymond Hettinger2019-08-081-1/+3
|
* Update pickle.rst (GH-14128)Géry Ogam2019-08-061-17/+19
| | | | * Edits for readability and grammar
* bpo-37004: Documented asymmetry of string arguments in ↵sweeneyde2019-08-061-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-061-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-37759: First round of major edits to Whatsnew 3.8 (GH-15127)Raymond Hettinger2019-08-051-37/+168
|
* 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-022-3/+28
| | | | | | | | | | 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-36487: Make C-API docs clear about what the main interpreter is. (gh-12666)Joannah Nanjekye2019-08-021-4/+12
|
* bpo-37726: Prefer argparse over getopt in stdlib tutorial (#15052)mental2019-08-011-4/+15
|
* bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in ↵David H2019-08-011-3/+3
| | | | docs. (GH-15062)
* bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994)Hai Shi2019-07-311-0/+6
|
* bpo-37085: Expose SocketCAN bcm_msg_head flags (#13646)karl ding2019-07-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Expose the CAN_BCM SocketCAN constants used in the bcm_msg_head struct flags (provided by <linux/can/bcm.h>) under the socket library. This adds the following constants with a CAN_BCM prefix: * SETTIMER * STARTTIMER * TX_COUNTEVT * TX_ANNOUNCE * TX_CP_CAN_ID * RX_FILTER_ID * RX_CHECK_DLC * RX_NO_AUTOTIMER * RX_ANNOUNCE_RESUME * TX_RESET_MULTI_IDX * RX_RTR_FRAME * CAN_FD_FRAME The CAN_FD_FRAME flag was introduced in the 4.8 kernel, while the other ones were present since SocketCAN drivers were mainlined in 2.6.25. As such, it is probably unnecessary to guard against these constants being missing.
* Refined Qt GUI example in the logging cookbook. (GH-15045)Vinay Sajip2019-07-311-17/+39
|
* bpo-33821: Update IDLE section of What's New 3.7 (#15036)Terry Jan Reedy2019-07-311-1/+10
| | | | | | * bpo-33821: Update IDLE section of What's New 3.7 * Fix roles.
* bpo-33822: Add IDLE section of What's New 3.8 (#15035)Terry Jan Reedy2019-07-311-0/+27
| | | | | | * bpo-33822: Add IDLE section of What's New 3.8 * Fix role.
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
* bpo-36084: Add threading Native ID information to What's New documentation ↵Jake Tesler2019-07-302-5/+13
| | | | (GH-14845)
* bpo-37268: Add deprecation notice and a DeprecationWarning for the parser ↵Pablo Galindo2019-07-302-4/+8
| | | | | | | | | | | | | | | module (GH-15017) Deprecate the parser module and add a deprecation warning triggered on import and a warning block in the documentation. https://bugs.python.org/issue37268 Automerge-Triggered-By: @pablogsal
* Remove trailing .0 from version changed note (GH-14987)Nick Coghlan2019-07-281-1/+1
|
* bpo-37691: Let math.dist() accept sequences and iterables for coordinates ↵Raymond Hettinger2019-07-271-1/+2
| | | | (GH-14975)
* Add Qt GUI example to the logging cookbook. (GH-14978)Vinay Sajip2019-07-271-0/+213
|
* bpo-32910: Remove implementation detail in venv documentation. (GH-14968)Derek Keeler2019-07-261-4/+2
|
* bpo-35524: Update Windows installer image in docs (GH-14966)Steve Dower2019-07-261-0/+0
|
* Swap 'if' branches so content matches to condition in importlib example ↵Tzu-ping Chung2019-07-251-3/+3
| | | | | | | | | (GH-14947) Prior to this change the guard on an 'elif' used an assignment expression whose value was used in a later 'else' block, causing some confusion for people. (Discussion on Twitter: https://twitter.com/brettsky/status/1153861041068994566.) Automerge-Triggered-By: @brettcannon
* bpo-34160: explain how to deal with attribute order in ElementTree (GH-14867)Stefan Behnel2019-07-241-2/+40
| | | | | | | * Fix the formatting in the documentation of the tostring() functions. * bpo-34160: Document that the tostring() and tostringlist() functions also preserve the attribute order now. * bpo-34160: Add an explanation of how users should deal with the attribute order.
* Touch up venv docs (GH-14922)Brett Cannon2019-07-231-21/+26
|
* bpo-17535: IDLE editor line numbers (GH-14030)Tal Einat2019-07-233-4/+25
|
* Update logging cookbook to show multiple worker processes using the ↵Vinay Sajip2019-07-221-0/+35
| | | | concurrent.futures module. (#14905)
* Add examples to elucidate the formulas (GH-14898)Raymond Hettinger2019-07-211-6/+10
|
* Fix typos in docs, comments and test assert messages (#14872)Min ho Kim2019-07-211-1/+1
|
* Bpo-37644: update suspicious.csv for distutils/examples (GH-14885)Ned Deily2019-07-211-1/+1
|
* bpo-37624: Document weight assumptions for random.choices() (GH-14855)Raymond Hettinger2019-07-191-1/+2
|
* bpo-37610: improve Using Python doc wrt Editors & IDE (GH-14850)aldwinaldwin2019-07-183-11/+15
| | | | | | Move the Editors and IDE section out of the Unix section, to its own section. https://bugs.python.org/issue37610
* Docs: Correct formatting of a multiline code block (GH-13806)Joseph Fox-Rabinovitz2019-07-171-2/+4
|
* bpo-37599: Remove a vague statement in documentation of Integer Objects (#14786)sgal2019-07-161-3/+1
| | | | | | | | | | | | | | | | * Remove a vague statement in documentation * Remove another vague sentence A sentence starting with "So it should be possible..." shouldn't be in the docs either. Co-Authored-By: Kyle Stanley <aeros167@gmail.com> * Include the removal of the previous line Co-Authored-By: Kyle Stanley <aeros167@gmail.com> * Remove an extra space
* bpo-37352: Minor word-smithing for design.rst (GH #14730)Ilya Kamenshchikov2019-07-161-5/+5
|