Commit Graph

20228 Commits

Author SHA1 Message Date
Brett Cannon 4807fa8386 bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-607)
(cherry picked from commit 4b2a2a425a)
2017-03-10 15:08:52 -08:00
Brett Cannon 68c5e4c592 bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode (GH-605)
(cherry picked from commit 7e52c3e7ae)
2017-03-10 14:44:48 -08:00
Mariatta ff6f371627 bpo-28739: Document that f-strings cannot be used as docstring (GH-592) (GH-600)
(cherry picked from commit d4e89287b3)
2017-03-10 09:52:03 -08:00
Serhiy Storchaka eb65edd102 [3.6] bpo-28231: The zipfile module now accepts path-like objects for external paths. (#561)
(cherry picked from commit 8606e9524a)
2017-03-08 15:45:43 +02:00
Serhiy Storchaka 666165fddf [3.6] bpo-28230: Document the pathlib support in tarfile and add tests. (#559) 2017-03-08 12:29:33 +02:00
Mariatta 130c4ec5fb bpo-29557: Remove ambiguous line in binhex docs (GH-90) (GH-475)
"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.
(cherry picked from commit 6de2b7817f)
2017-03-06 09:31:16 -08:00
Mariatta e9effe6bb6 fix minor bug in pymalloc. (GH-335) (GH-476)
(cherry picked from commit f669ffff60)
2017-03-06 09:15:41 -08:00
INADA Naoki 4e1a065c20 bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)
(cherry picked from commit 2225ddaa9e)
2017-03-06 17:24:28 +09:00
Mariatta 9619ec9947 distutils docs: Fix a typo (GH-470) (GH-471)
(cherry picked from commit 2a7bddaab7)
2017-03-04 16:43:57 -08:00
Mariatta 43571dde7b Correct spelling "instanciate" (GH-465) (GH-467)
(cherry picked from commit 6abaed0dda)
2017-03-04 15:40:48 -08:00
Brett Cannon 226af23e85 bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (GH-440)
(cherry picked from commit 0705f66eb3)
2017-03-03 14:47:06 -08:00
Mariatta 1936ba93c9 bpo-29709: Improve Boolean Operations documentation (#433) (#437)
(cherry picked from commit 8eb531d9db)
2017-03-03 13:24:13 -08:00
Brett Cannon 9d07aceeda bpo-29455: Mention coverage.py in trace module documentation (GH-435)
(cherry picked from commit 5dfccb06dc)
2017-03-03 12:58:17 -08:00
Berker Peksag 21ce65aa67 [3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) (#432)
(cherry picked from commit 85b8d01c91)

Conflicts:

	Lib/test/test_configparser.py
2017-03-03 20:48:37 +03:00
Berker Peksag c7ff163abf Add Python version since deprecation in base64 methods. (#33) (#429)
Allow developers to not have to either test on N Python versions or
looked through multiple versions of the docs to know whether they can
easily update.

(cherry picked from commit c643a967dd)
2017-03-03 18:07:18 +03:00
Mariatta b8f5d07158 bpo-29026: Clarify documentation of time.time (GH-34) (GH-417)
(cherry picked from commit 23557d59b8)
2017-03-02 21:50:10 -08:00
Alex Gaynor 65bd0bdf3d In SSL module version examples, don't use a legacy version. (#381) (#400) 2017-03-02 12:37:50 -05:00
Mariatta b05d48e021 email.compat32-message.rst: Fix typo in the word `message` (GH-379) (GH-380)
(cherry picked from commit da62373b0d)
2017-03-01 07:35:23 -08:00
Mariatta 1b93ed4f3e Fixed a handful of typos (GH-343) (GH-364)
(cherry picked from commit 1cf2a809b1)
2017-02-28 21:08:13 -08:00
Mariatta 8458b2b4ef correct documentation for enum.html (GH-358) (GH-367)
(cherry picked from commit 626584284e)
2017-02-28 21:07:32 -08:00
Mariatta bc10e6bd7b Asyncio documentation: remove `self` from method signatures (GH-334) (GH-337)
(cherry picked from commit 091b84f23a)
2017-02-27 06:02:21 -08:00
Xiang Zhang 8aa1ad892f bpo-29662: fix wrong indentation in timeit.Timer's doc (GH-333) 2017-02-27 13:55:07 +08:00
Mariatta 7e4897a2fb bpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)
(cherry picked from commit 1f5639c77f)
2017-02-26 13:30:44 -08:00
Berker Peksag 6b81003bdb bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects (#157) (#323)
(cherry picked from commit d5c11f7ace)
2017-02-26 20:38:31 +03:00
Mariatta deea29e61e bpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)
(cherry picked from commit 6b4a5f45e2)
2017-02-26 08:55:23 -08:00
Berker Peksag 893e86e9d3 bpo-29121: Remove outdated documentation about transactions (#313) (#319)
Patch by Aviv Palivoda.

(cherry picked from commit fe70d924bb)
2017-02-26 19:04:00 +03:00
Mariatta 1457984c00 bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-316)
(cherry picked from commit ed6795e46f)
2017-02-26 07:44:16 -08:00
Mariatta 7333d1760e bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-314)
(cherry picked from commit 46ce7599af)
2017-02-26 07:33:54 -08:00
Mariatta b00232842c Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-297)
(cherry picked from commit 53c1892dc3)
2017-02-25 22:34:51 -08:00
Mariatta 814213bdf1 [3.6] Backport README.rst changes (GH-294)
(cherry picked from commit b3f1f59cf4)
(cherry picked from commit 1b3d88eb33)
(cherry picked from commit c0866855d5)
(cherry picked from commit e32ec9334b)
(cherry picked from commit 6329aea78e)
2017-02-25 11:56:48 -08:00
Mariatta f28db60179 [3.6] Fix small typos in expressions.rst (GH-276) (GH-281)
(cherry picked from commit 132ac381fe)
2017-02-24 16:39:30 -08:00
Barry Warsaw 0a1b656d8c bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278) 2017-02-24 15:44:34 -05:00
Berker Peksag 2197eac610 bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#243)
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.

(cherry picked from commit 0899b98095)
2017-02-24 01:42:30 +10:00
Arne de Laat 55b82e10dc bpo-28911: Clarify the behaviour of assert_called_once_with. (#252)
(cherry picked from commit 9d56b34af2)
2017-02-23 16:17:11 +01:00
Berker Peksag b067a5eef7 bpo-29554: Improve docs for pstat module and profile. (#88) (#227)
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.

(cherry picked from commit 8fb1f6e039)
2017-02-22 04:55:33 +03:00
Mariatta 9b49133082 bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140) (#208)
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

(cherry picked from commit 32e8f9bdfd)
2017-02-21 10:30:07 -08:00
INADA Naoki 51a477c0d5 doc: fix compile error on "shoddy" example extension (GH-216)
(cherry picked from commit fb8fe72fc5)
2017-02-21 23:56:26 +09:00
Senthil Kumaran a4afdfcf27 Change some mercurial/ hg.python.org references. (#8) (#185)
(cherry picked from commit b2ee40ed9c)
2017-02-19 18:58:33 -08:00
INADA Naoki 7970cd4833 bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-178) 2017-02-20 09:46:46 +09:00
Berker Peksag b121d737fe Tweak PEP 519 documentation in stdlib (#164)
* Drop duplicate word 'object' in lzma docs
* Fix typo in os docs: fpr -> for

(cherry picked from commit d4d48743ac)
2017-02-19 14:40:55 +03:00
Victor Stinner b300c660d3 Backport36 doc fixes: PR#68 and PR#124 (#125)
* Travis CI: run rstlint.py in the docs job (#68)

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.
(cherry picked from commit 2b501866ed)

* Doc/Makefile: set PYTHON to python3 (#124)

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.

(cherry picked from commit 91b0e7d0ca)
2017-02-16 00:56:54 +01:00
Mariatta 7224a049b8 bpo-29481: add versionadded 3.6.1 to typing.Deque docs (#108)
(cherry picked from commit 7e147f1ddb)
2017-02-15 11:38:48 -08:00
Mariatta db3deb98e9 bpo-29521 Fix two minor documentation build warnings (#41) (#83)
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.
(cherry picked from commit 3d707be950)
2017-02-14 08:54:59 -08:00
Mariatta 9268855ba6 Fix some sphinx warnings (#9) (#81)
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99f84)
2017-02-14 06:11:48 -08:00
Mariatta f66c81ff49 [backport to 3.6] bpo-28929: Link the documentation to its source file on GitHub (#37)
* 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.

(cherry picked from commit 23bafa294c)

* remove if statement
2017-02-12 13:08:24 -08:00
Mariatta 308f789d00 bpo-29474: Improve documentation for weakref.WeakValueDictionary (#22)
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
2017-02-12 08:18:07 -08:00
Mariatta c2328ec0f4 [backport to 3.6] Support "bpo-" in Misc/NEWS (#42)
(cherry picked from commit 79ab8be05f)
2017-02-12 15:18:45 +03:00
Benjamin Peterson 35a1f7f62d massage English for -X descriptions a bit 2017-02-09 22:31:17 -08:00
Nick Coghlan e1857579f8 Merge issue #26355 fix from Python 3.5 2017-02-09 16:08:17 +01:00
Nick Coghlan e66244521c Issue #26355: Specify canonical URLs in docs pages
Add canonical header link on each page to corresponding major
version of the documentation.

Patch by Matthias Bussonnier.
2017-02-09 16:03:59 +01:00