summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)Arne de Laat2017-02-231-5/+6
|
* bpo-29463: Add docstring field to some AST nodes. (#46)INADA Naoki2017-02-222-3/+17
| | | | | | | | | | | * bpo-29463: Add docstring field to some AST nodes. ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring field for now. It was first statement of there body. * fix document. thanks travis! * doc fixes
* bpo-29546: Improve from-import error message with location (#103)Matthias Bussonnier2017-02-221-0/+3
| | | | bpo-29546: Improve from-import error message with location
* bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122)Matthias Bussonnier2017-02-222-13/+10
| | | | | | | | | | | | | | Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation This commit undeprecates these functions and adds a note to ignore previous deprecation notices.
* doc: fix compile error on "shoddy" example extension (GH-215)INADA Naoki2017-02-212-1/+2
|
* bpo-29453: Remove reference to undefined dictionary ordering in Tutorial ↵Jim Fasarakis-Hilliard2017-02-211-6/+5
| | | | | | | | | (GH-140) As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that ordering is undefined and change snippet to remove the unecessary sorted call. * Add sentence mentioning guaranteed output order of kwargs
* bpo-29554: Improve docs for pstat module and profile. (#88)Matthias Bussonnier2017-02-211-3/+4
| | | | | | | Clarify that methods take a string which is interpreted as a regex, not a regex object. Also clarify what the old `-1`, `0`, `1` and `2` options were.
* bpo-29520: doc: add missing dot (GH-182)INADA Naoki2017-02-201-1/+1
| | | 3eea8c6 missed dot at the end of paragraph.
* bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)INADA Naoki2017-02-191-2/+9
|
* Tweak PEP 519 documentation in stdlib (#163)Berker Peksag2017-02-192-3/+3
| | | | * Drop duplicate work 'object' in lzma docs * Fix typo in os docs: fpr -> for
* bpo-22807: Expose platform UUID generation safety information. (#138)Barry Warsaw2017-02-181-1/+30
| | | | bpo-22807: Expose platform UUID generation safety information.
* Change some mercurial/ hg.python.org references. (#8)Senthil Kumaran2017-02-161-3/+3
|
* bpo-29026: Clarify documentation of time.time (#34)Eric Appelt2017-02-161-7/+35
| | | | | | | | | | | | | | | * bpo-29026: Clarity documentation of time.time Clarify the documentation of time.time by more precisely defining what is meant by "seconds since the epoch" on most platforms. Additionally explain how gmtime and localtime may be used to extract calendar components and convert to a more common date format. * bpo-29026: Minor improvements for time.time doc * bpo-29026: Consistency fixes for time.time doc
* bpo-29576: add explicit deprecation for importlib.abc.find_loader() and ↵Matthias Bussonnier2017-02-161-0/+11
| | | | | | find_module() (GH-32)
* Rename Doc/README.txt to Doc/README.rst and add formatting (#104)Roger2017-02-154-13/+14
| | | | | | | | | | | | | | | | * Reformat Doc/README.txt to Doc/README.rst * Update mention of Doc/README.rst * Update mention of README.txt to README.rst * Make line fold * rstlint ignore Doc/README.rst * conf.py ignore Doc/README.rst * Update issue tracker url in Docs/README.rst
* Doc/Makefile: set PYTHON to python3 (#124)Victor Stinner2017-02-151-1/+1
| | | | | | rstlint.py run by "make check" doesn't support Python 2. "make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't provide the venv module: it's a module of Python 3 standard library.
* bpo-29481: add versionadded 3.6.1 to typing.Deque docs (#107)Mariatta2017-02-151-0/+2
|
* bpo-29557: Remove ambiguous line in binhex docs (#90)David Wilemski2017-02-141-2/+0
| | | | | "appears to not work in all cases" does not inspire confidence in this module. I can find no context for what bug this was referencing so it should be removed.
* Travis CI: run rstlint.py in the docs job (#68)Victor Stinner2017-02-131-2/+2
| | | | | | | | | | Currently, http://buildbot.python.org/all/buildslaves/ware-docs buildbot is only run as post-commit. For example, bpo-29521 (PR#41) introduced two warnings, unnotified by the Travis CI docs job. Modify the docs job to run toosl/rstlint.py. Fix also the two minor warnings which causes the buildbot slave to fail.
* bpo-29521 Fix two minor documentation build warnings (#41)Jim DeLaHunt2017-02-132-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | Much of bpo-29521 was fixed in parallel with commit e7ffb99 . This cleans up the rest. Apply parallel change to Doc/make.bat to read "set SPHINXOPTS=-D latex_elements.papersize=" I don't have a Windows system on which to observe the warning, but it should be necessary. The warning: .../workspace/cpython_github/Doc/faq/windows.rst:303: WARNING: unknown option: -t In the Windows FAQ, `How do I keep editors from inserting tabs into my Python source?`, contained a reference to a Python -t option. In Python 2.x, this caused Python to issue warnings about lines with mixed spaces and tabs, but as of Python 3.6 it does nothing. Per discussion at http://bugs.python.org/issue29387, take their wording. Python [3] raises an IndentationError or TabError. Tabnanny is now a module.
* bpo-28929: Link the documentation to its source file on GitHub (#35)Mariatta2017-02-121-2/+5
| | | | | | | | | * bpo-28929: Link the documentation to its source file on GitHub Change the documentation's `Show Source` link on the left menu to GitHub source file. * change version to master
* bpo-29474: Improve documentation for weakref.WeakValueDictionary (#10)Mariatta2017-02-121-5/+5
| | | | There were some grammatical errors in weakref.WeakValueDictionary documentation.
* Fix some sphinx warnings (#9)Ryan Gonzalez2017-02-112-16/+16
| | | | * Fix some deprecation warnings in Doc/conf.py * Fix an rst error in Misc/NEWS
* Support "bpo-" in Misc/NEWS (#1)Brett Cannon2017-02-101-4/+4
|
* merge 3.6Benjamin Peterson2017-02-101-5/+7
|\
| * massage English for -X descriptions a bitBenjamin Peterson2017-02-101-5/+7
| |
* | Merge issue #26355 fix from 3.6Nick Coghlan2017-02-091-0/+1
|\ \ | |/
| * Merge issue #26355 fix from Python 3.5Nick Coghlan2017-02-091-0/+1
| |\
| | * Issue #26355: Specify canonical URLs in docs pagesNick Coghlan2017-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | Add canonical header link on each page to corresponding major version of the documentation. Patch by Matthias Bussonnier.
* | | Issue #29441: Merge from 3.6Berker Peksag2017-02-071-17/+4
|\ \ \ | |/ /
| * | Issue #29441: Merge from 3.5Berker Peksag2017-02-071-17/+4
| |\ \ | | |/
| | * Issue #29441: Update examples to use async and await keywords in ↵Berker Peksag2017-02-071-17/+4
| | | | | | | | | | | | asyncio-task.rst
* | | Issue #29371: merge with 3.6Mariatta Wijaya2017-02-071-11/+13
|\ \ \ | |/ /
| * | Issue #29371: merge with 3.5Mariatta Wijaya2017-02-071-11/+13
| |\ \ | | |/
| | * Issue #29371: Clarify bitwise OR operation in doctest option flags.Mariatta Wijaya2017-02-071-11/+13
| | |
* | | mergeRaymond Hettinger2017-02-061-1/+1
|\ \ \ | |/ /
| * | Substitute a more readable f-stringRaymond Hettinger2017-02-061-1/+1
| | |
* | | Merge from 3.6Berker Peksag2017-02-061-5/+5
|\ \ \ | |/ /
| * | Fix usage of data directiveBerker Peksag2017-02-061-5/+5
| | |
* | | Issue #29198: Merge from 3.6Berker Peksag2017-02-041-2/+2
|\ \ \ | |/ /
| * | Issue #29198: Merge from 3.5Berker Peksag2017-02-041-2/+2
| |\ \ | | |/
| | * Issue #29198: Fix indentation and markup in typing.rstBerker Peksag2017-02-041-2/+2
| | | | | | | | | | | | Patch by Jelle Zijlstra.
* | | Issue #29198: Merge from 3.6Berker Peksag2017-02-041-0/+33
|\ \ \ | |/ /
| * | Issue #29198: Merge from 3.5Berker Peksag2017-02-041-0/+33
| |\ \ | | |/
| | * Issue #29198: Document typing.AsyncGeneratorBerker Peksag2017-02-041-0/+33
| | | | | | | | | | | | Patch by Jelle Zijlstra.
* | | Issue #29300: Convert _struct module to Argument ClinicVictor Stinner2017-02-021-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The struct module now requires contiguous buffers. * Convert most functions and methods of the _struct module to Argument Clinic * Use "Py_buffer" type for the "buffer" argument. Argument Clinic is responsible to create and release the Py_buffer object. * Use "PyStructObject *" type for self to avoid explicit conversions. * Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords. * Rephrase docstrings. * Rename "fmt" argument to "format" in docstrings and the documentation. As a side effect, functions and methods which used METH_VARARGS calling convention like struct.pack() now use the METH_FASTCALL calling convention which avoids the creation of temporary tuple to pass positional arguments and so is faster. For example, struct.pack("i", 1) becomes 1.56x faster (-36%):: $ ./python -m perf timeit \ -s 'import struct; pack=struct.pack' 'pack("i", 1)' \ --compare-to=../default-ref/python Median +- std dev: 119 ns +- 1 ns -> 76.8 ns +- 0.4 ns: 1.56x faster (-36%) Significant (t=295.91) Patch co-written with Serhiy Storchaka.
* | | Issue #29381: merge with 3.6Mariatta Wijaya2017-02-021-11/+10
|\ \ \ | |/ /
| * | Issue #29381: Clarify ordering of UNIX shebang line as source encoding lineMariatta Wijaya2017-02-021-11/+10
| | |
| * | Backed out changeset 3d712292f2faMariatta Wijaya2017-02-021-14/+15
| | |
| * | Issue #29381: Clarify ordering of UNIX shebang line as source encoding lineMariatta Wijaya2017-02-021-15/+14
| | |