summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2019)Mariatta2017-06-091-0/+5
| | | (cherry picked from commit 824f6879121413e09439fffef54580413e44bf46)
* [3.6] bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366Nick Coghlan2017-06-091-11/+8
| | | | | | * RFC 1750 has been been obsoleted by RFC 4086. * RFC 3280 has been obsoleted by RFC 5280. * RFC 4366 has been obsoleted by RFC 6066. (cherry picked from commit 63c2c8ac17750ba2be2cfc4e339cae1f4edee54f)
* bpo-29596: Improve clinic howto documentation (GH-1710) (GH-1976)gfyoung2017-06-061-3/+3
| | | Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
* bpo-30583: Fix typo in datetime dateutil documentation (GH-1972) (GH-1974)wim glenn2017-06-061-2/+2
| | | | Replace `datetuil` into `dateutil` (cherry picked from commit 53f2af16551eb3a080da313257603c31ef8b93b4)
* bpo-30052: Always regenerate cross-references (GH-1339) (GH-1921)Nick Coghlan2017-06-061-2/+7
| | | | | | | | | | | | The patch for bpo-30052 changed the preferred link target for :func:`bytes` and :func`bytearray` references to be the respective type definitions rather than the corresponding builtin function entries. This patch changes the daily documentation builds to disable the output caching in Sphinx, in order to ensure that cross-reference changes like this one are reliably picked up and applied automatically after merging. (cherry picked from commit 7a82f9c2b94d31c8f4cc8bb8e3151765d8b148d7)
* bpo-30538: Update count() in Functional Programming HOWTO (GH-1919) (GH-1943)csabella2017-06-051-9/+14
| | | | | * bpo-30538: Update count() in Functional HOWTO * bpo-30538: Update enumerate() arguments in Functional HOWTO (cherry picked from commit 9be4ff359daa67cde6246494f643ed7cd2825d46)
* bpo-30530: Update Descriptor How To Documentation (GH-1845) (GH-1953)Mariatta2017-06-051-1/+1
| | | | | Update the code example in Functions and Methods section Remove objtype argument in MethodType (cherry picked from commit 1bced56567335745f91676192fc39c06aab30da9)
* bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271) ↵Mariatta2017-06-023-83/+92
| | | | | | | | | | | | | (GH-1915) Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.. (cherry picked from commit c6db4811f9ea3aeff0e1fafe1c60a22835ef359e)
* bpo-29660: traceback: Document that etype is ignored in some places. ↵Matthias Bussonnier2017-06-021-3/+11
| | | | | (GH-344) (GH-1913) (cherry picked from commit cdb89cd)
* bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1905)Mariatta2017-06-011-3/+1
| | | (cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)
* bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (GH-1897)Mariatta2017-06-011-9/+9
| | | | | | | | The "iterable iterable" phrasing created confusion between the term reference and the parameter name. This simplifies the phrasing to just use the parameter name without linking directly to the term definition. (cherry picked from commit 08e2f355d04d3cbea5751ce1275306ee3f569b32)
* bpo-27618: Clarify that threading.Lock is a factory function (GH-1307) (GH-1894)csabella2017-06-011-2/+3
| | | (cherry picked from commit 56ddfd2eea4d98456a9a99bf2a718f21ee6b2be2)
* [3.6] Fix a trivial typo in global section (GH-1497) (GH-1880)Mariatta2017-05-311-1/+1
| | | (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
* bpo-17188: add missing periods at the end of sentences (GH-1875) (GH-1876)Mariatta2017-05-301-2/+2
| | | (cherry picked from commit 9efad1e5aef32a6d8ca288793e8ee6df8782f615)
* bpo-30354: Update data model documentation for super() (GH-1561) (GH-1868)csabella2017-05-301-6/+6
| | | | | | | | | | | The data model section of the language reference was written well before the zero-argument form of super() was added. To avoid giving the impression that they're doing something unusual, this updates the description of `__new__` and `__init__` to use the zero-argument form. Patch by Cheryl Sabella. (cherry picked from commit 12b1c180986fc744331b8f30d3d2f49a0fdb43dd)
* bpo-17188: DOC: Document 'from None' in raise statement (GH-1671) (GH-1867)csabella2017-05-301-2/+20
| | | | Original patch by Dennis Mårtensson. (cherry picked from commit 763557eac06ba60d7c5133e4f80df8870d8f917e)
* Improve grammar in The Import System documentation (GH-1862) (GH-1863)Mariatta2017-05-301-6/+6
| | | | | Replace `an ModuleNotFoundError` with `a ModuleNotFoundError`. Replace `an path` with `a path`. (cherry picked from commit 9c972b578002cc3bbbf2ebf2856c69de892bc9e2)
* [3.6] bpo-30361: Use better example for mixed-type operands (GH-1701) (#1856)Mariatta2017-05-291-4/+2
| | | (cherry picked from commit e405d4b8dfb8b497e1c3d1f0f8e28030040c165e)
* [3.6] bpo-30470: Deprecate invalid ctypes call protection on Windows. ↵Mariatta2017-05-271-14/+6
| | | | | | (GH-1810) (GH-1833) Calling Ctypes functions is deprecated in 3.6.2 and will be removed in 3.7. (cherry picked from commit f931fd1c2ad969db72460d3ab41e3d1a4a62c371)
* [3.6] bpo-30398: Add a docstring for re.error. (GH-1647) (#1830)Serhiy Storchaka2017-05-271-3/+3
| | | | Also document that some attributes may be None. (cherry picked from commit 12d6b5d)
* [3.6] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1828)Serhiy Storchaka2017-05-271-1/+1
| | | | Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. (cherry picked from commit 5becf38)
* [3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793)Zachary Ware2017-05-241-1/+2
| | | | | | | The library does not enforce compliance with the HTTP protocol, so violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported. (cherry picked from commit a083c8e)
* [3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#1746)Kushal Das2017-05-231-8/+8
| | | (cherry picked from commit 93fc20b73eea3da0b6305aaee951e5dd22d5c408)
* [3.6] bpo-21056: Document return type of next method of csv reader (GH-146) ↵Mariatta2017-05-231-2/+4
| | | | | (#1749) (cherry picked from commit d618c8c6d31b9b288f8a070417683974eb98e3ba)
* [3.6] bpo-30372: Clarify that '__builtins__' is a CPython Implementation ↵Mariatta2017-05-221-9/+9
| | | | | detail (GH-1725) (GH-1727) (cherry picked from commit 43c8a9e39bb2d4f25ed7ae17a55f34e375d1868b)
* [3.6] Fix typos in multiple `.rst` files (GH-1668) (#1702)delirious-lettuce2017-05-2117-30/+30
| | | (cherry picked from commit 3378b2062c7fbb77a9b5e6d315d6b94160fac69a)
* Fix ModuleNotFoundError typo in import reference (#1610)Dominik Miedziński2017-05-171-1/+1
| | | (cherry picked from commit c138d84b8d27d338872587aae69a73d8f9d16641)
* bpo-29898: Fix incorrect env variable name (GH-1576)Berker Peksag2017-05-162-3/+3
| | | | | | It should read PYTHONLEGACYWINDOWSSTDIO as stated in section "Add legacy mode" in PEP 528. (cherry picked from commit 87fa8a780e9045a26c735f085c07bba4b2d0be60)
* [3.6] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1614)Serhiy Storchaka2017-05-166-13/+12
| | | | | | | | | * Use explicit numbering for footnotes referred by explicit number. * Restore missed footnote reference in stdtypes.rst. * Fix literal strings formatting in howto/urllib2.rst. * Update susp-ignored.csv for zipapp.rst. * Fix suspicious mark up in Misc/NEWS.. (cherry picked from commit d97b7dc94b19063f0589d401bdc4aaadc7030762)
* bpo-29651 - Cover edge case of square brackets in urllib docs (#1128) (#1596)Senthil Kumaran2017-05-161-0/+6
| | | (cherry picked from commit f6e863d868a621594df2a8abe072b5d4766e7137)
* bpo-30358: Document sort argument of profile.runctx() (GH-1566)Berker Peksag2017-05-141-2/+2
| | | (cherry picked from commit 99776296230ddd8429ebad2d07854b8c27ea10ab)
* [3.6] bpo-30178: Indent methods and attributes of MimeType class (GH-1306) ↵Mariatta2017-05-131-43/+43
| | | | | (#1570) (cherry picked from commit c71168090df435c1eb8c03005b11df764cd7ebd6)
* [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)Victor Stinner2017-05-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca)
* [3.6] bpo-28315: Improve code examples in docs (GH-1372) (#1445)Mariatta2017-05-0412-30/+30
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* [3.6] Fix typo in selectors.rst (GH-1383) (#1414)Mariatta2017-05-031-1/+1
| | | | decriptor -> descriptor (cherry picked from commit b0d82036549074357717d130a772d1e2ebc8ea01)
* [3.6] Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS ↵Mariatta2017-05-021-3/+3
| | | | | transition (GH-1355) (#1371) (cherry picked from commit d4069de5112f0408801ff2479476827bb3e0e8fc)
* [3.6] Improve the grammar in windows.rst (GH-1330) (GH-1360)Mariatta2017-04-301-3/+3
| | | (cherry picked from commit 80a3da4d4aad0b51893e1e2f696b6252eca80e07)
* [3.6] bpo-30208: DOC: fix small typos in IDLE (#1356)csabella2017-04-301-8/+8
| | | (cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334)
* [3.6] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312) ↵Mariatta2017-04-271-3/+3
| | | | | (GH-1313) (cherry picked from commit 6fde770e4e940c19cd62de0b6aeb77840690843e)
* [3.6] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1303)Dong-hee Na2017-04-261-7/+0
|
* bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)Berker Peksag2017-04-261-2/+7
| | | | | | | | | | * Fix PEP 8 (SomeType instead of some_type) * Add a function parameter annotation * Explain, using wording from PEP 484 and PEP 526, why one annotation is in quotes and another is not. Suggested by Ivan Levkevskyi. (cherry picked from commit 87c07fe9d908d0a2143fcc8369255c6ff3241503)
* bpo-28698: Fix c_wchar_p doc example (GH-1160)Louie Lu2017-04-261-5/+9
| | | (cherry picked from commit 0d637e236d7099f7b724026c8cb7bd83d8e12e6b)
* [3.6] bpo-28851: Improve namedtuple documentation (GH-1274) (GH-1286)Mariatta2017-04-261-3/+3
| | | | Clarify that a sequence of strings is the preferred value for 'field_names'. (cherry picked from commit 97bf722fcd1de1236824377e052369dc7686b644)
* [3.6] bpo-29751: Improve PyLong_FromString documentation (GH-915) (#1266)Mariatta2017-04-241-7/+6
| | | (cherry picked from commit 26896f2832324dde85cdd63d525571ca669f6f0b)
* [3.6] bpo-15718: Document the upper bound constrain on the __len__ return ↵Serhiy Storchaka2017-04-231-0/+9
| | | | | value. (GH-1256) (#1259) (cherry picked from commit 85157cd)
* [3.6] Fix trailing colon and newline in test.rst (GH-1250) (#1254)Louie Lu2017-04-221-1/+2
| | | (cherry picked from commit 7fae81e1672d0b4110d31ea6a765b54f63a2e54b)
* [3.6] Correct the README link in Unix install docs (GH-1245) (GH-1248)Mariatta2017-04-221-1/+1
| | | (cherry picked from commit d1ae24e8880fe00d006eb2996af815c35fbcfb33)
* Remove redundant comma in argparse HOWTO (GH-1141)Berker Peksag2017-04-201-1/+1
| | | | | Reported by Sean Canavan on docs@p.o. (cherry picked from commit 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf)
* bpo-19225: Remove duplicated description for standard warning categories ↵cocoatomo2017-04-201-12/+9
| | | | (GH-1068)
* [3.6] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1149)Michael Seifert2017-04-151-0/+11
|