summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Replace backquote with command substitution in subprocess doc example (GH-13941)David Jones2019-07-162-7/+5
| | | Replace backquotes with POSIXy command substitution in example.
* bpo-37284: Add note to sys.implementation doc (GH-14328)Giovanni Cappellotto2019-07-151-0/+4
| | | | | | | | | Add a brief note to indicate that any new required attributes must go through the PEP process. https://bugs.python.org/issue37284
* Remove redundant docs of PyEval_EvalFrameEx (GH-14765)Hai Shi2019-07-141-6/+6
|
* bpo-37571: Remove extra space in ctypes docs (GH14764)Steve Dower2019-07-141-1/+1
|
* bpo-37571: Add 'b' to prevent the TypeError exception. (GH-14721)Michele Angrisano2019-07-141-3/+8
| | | | Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* bpo-36261: Improve example of the preamble field in email docs (GH-14751)Carl Bordum Hansen2019-07-141-1/+1
|
* bpo-26967: fix flag grouping with allow_abbrev=False (GH-14316)Zac Hatfield-Dodds2019-07-131-0/+4
| | | | | | | | | | | The `allow_abbrev` option for ArgumentParser is documented and intended to disable support for unique prefixes of --options, which may sometimes be ambiguous due to deferred parsing. However, the initial implementation also broke parsing of grouped short flags, such as `-ab` meaning `-a -b` (or `-a=b`). Checking the argument for a leading `--` before rejecting it fixes this. This was prompted by pytest-dev/pytest#5469, so a backport to at least 3.8 would be great :smile: And this is my first PR to CPython, so please let me know if I've missed anything! https://bugs.python.org/issue26967
* bpo-30088: Document that existing dir structure isn't verified by ↵Sviatoslav Sydorenko2019-07-131-0/+3
| | | | | | | | | | | | | | | | | | | | | mailbox.Maildir (GH-1163) Hi, I've faced an issue w/ `mailbox.Maildir()`. The case is following: 1. I create a folder with `tempfile.TemporaryDirectory()`, so it's empty 2. I pass that folder path as an argument when instantiating `mailbox.Maildir()` 3. Then I receive an exception happening because "there's no such file or directory" (namely `cur`, `tmp` or `new`) during interaction with Maildir **Expected result:** subdirs are created during `Maildir()` instance creation. **Actual result:** subdirs are assumed as existing which leads to exceptions during use. **Workaround:** remove the actual dir before passing the path to `Maildir()`. It will be created automatically with all subdirs needed. **Fix:** This PR. Basically it adds creation of subdirs regardless of whether the base dir existed before. https://bugs.python.org/issue30088
* bpo-37548: Document range of atan, acos and asin (GH-14717)Giovanni Cappellotto2019-07-131-3/+6
|
* bpo-37580: Fix typo in http.cookiejar documentation (GH-14731)Milan Oberkirch2019-07-131-1/+1
| | | | | | | | | [bpo-37580](https://bugs.python.org/issue37580): Markup typo in http.cookiejar doc https://bugs.python.org/issue37580
* Fix typo in re.escape documentation (GH-14722)Robert DiPietro2019-07-131-1/+1
|
* bpo-37521: No longer treat insertion into sys.modules as optional in ↵Brett Cannon2019-07-121-9/+9
| | | | | | | | | | importlib examples (GH-14723) Fix importlib examples to insert any newly created modules via importlib.util.module_from_spec() immediately into sys.modules instead of after calling loader.exec_module(). Thanks to Benjamin Mintz for finding the bug. https://bugs.python.org/issue37521
* closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)Mariatta2019-07-111-1/+1
| | | https://bugs.python.org/issue37554
* bpo-34369: make kqueue.control() docs better reflect that timeout is ↵Tal Einat2019-07-111-3/+4
| | | | positional-only (GH-9499)
* bpo-37547: add _PyObject_CallMethodOneArg (GH-14685)Jeroen Demeyer2019-07-111-0/+12
|
* Document default parameter of .seek() in the signature. (GH-14691)Benjamin Peterson2019-07-101-2/+2
|
* bpo-37526: Add support.catch_threading_exception() (GH-14664)Victor Stinner2019-07-091-0/+33
| | | | Context manager catching threading.Thread exception using threading.excepthook.
* Doc: Fix example title. (GH-14639)Julien Palard2019-07-081-1/+1
|
* Doc: Fix: Proper UpperCamelCase and lowercase. (GH-14644)Julien Palard2019-07-081-1/+1
| | | Initial report by Michael Blankenship on docs@
* bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)Jeroen Demeyer2019-07-081-0/+11
|
* bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)Hai Shi2019-07-071-1/+1
|
* bpo-37478: Add missing 'and'. (GH-14631)Terry Jan Reedy2019-07-061-1/+1
|