summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Issue #29407: Merge from 3.6Berker Peksag2017-02-011-8/+7
|\ \ \ | |/ /
| * | Issue #29407: Merge from 3.5Berker Peksag2017-02-011-8/+7
| |\ \ | | |/
| | * Issue #29407: Remove redundant ensure_future() calls in factorial exampleBerker Peksag2017-02-011-8/+7
| | |
* | | Issue #29377: Add three new wrappers to types.py (Manuel Krebber).Guido van Rossum2017-02-011-0/+23
| | |
* | | Issue #28822: Add susp-ignored entry for NEWS; fix grammarMartin Panter2017-01-291-0/+1
| | |
* | | Issues #11670: Merge configparser doc from 3.6Martin Panter2017-01-291-6/+6
|\ \ \ | |/ /
| * | Issues #11670: Merge configparser doc from 3.5Martin Panter2017-01-291-6/+6
| |\ \ | | |/
| | * Issue #11670: readfp(fp) parameter name is different to read_file(f)Martin Panter2017-01-291-6/+6
| | |
* | | Issues #29349: Merge Py 2.6+ compatibility from 3.6Martin Panter2017-01-291-0/+2
|\ \ \ | |/ /
| * | Issues #29349: Merge Py 2.6+ compatibility from 3.5Martin Panter2017-01-291-0/+2
| |\ \ | | |/
| | * Issue #29349: Use __future__ print_function; Sphinx may use Python 2.6+Martin Panter2017-01-291-0/+2
| | |
* | | Issues #29349: Add NEWS for 3.7; use “with” statementMartin Panter2017-01-291-4/+1
| | |
* | | Issues #29349: Merge Py 2 fix 3.6Martin Panter2017-01-291-2/+2
|\ \ \ | |/ /
| * | Issues #29349: Merge Py 2 fix 3.5Martin Panter2017-01-291-2/+2
| |\ \ | | |/
| | * Issue #29349: Fix Python 2 syntax in documentation build codeMartin Panter2017-01-291-2/+2
| | |