Mariatta
2ee91c8ad8
[3.6] bpo-30470: Deprecate invalid ctypes call protection on Windows. (GH-1810) (GH-1833)
...
Calling Ctypes functions is deprecated in 3.6.2 and will be removed in 3.7.
(cherry picked from commit f931fd1c2a
)
2017-05-27 07:58:25 -07:00
Serhiy Storchaka
b52c68a5a3
[3.6] bpo-30398: Add a docstring for re.error. (GH-1647) ( #1830 )
...
Also document that some attributes may be None.
(cherry picked from commit 12d6b5d
)
2017-05-27 16:37:40 +03:00
Serhiy Storchaka
584ef2aecf
[3.6] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) ( #1828 )
...
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
(cherry picked from commit 5becf38
)
2017-05-27 16:37:11 +03:00
Zachary Ware
a2a9984a27
[3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793)
...
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
)
2017-05-24 16:11:01 -05:00
Kushal Das
9bcf81da14
[3.6] bpo-30376: Update outdated WindowObject references (GH-1630) ( #1746 )
...
(cherry picked from commit 93fc20b73e
)
2017-05-23 09:57:04 -07:00
Mariatta
6ef0882303
[3.6] bpo-21056: Document return type of next method of csv reader (GH-146) ( #1749 )
...
(cherry picked from commit d618c8c6d3
)
2017-05-22 22:27:02 -07:00
delirious-lettuce
0702cc01fa
[3.6] Fix typos in multiple `.rst` files (GH-1668) ( #1702 )
...
(cherry picked from commit 3378b2062c
)
2017-05-22 00:26:01 +03:00
Serhiy Storchaka
8fc1ff51ad
[3.6] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) ( #1614 )
...
* 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 d97b7dc94b
)
2017-05-17 00:09:23 +03:00
Senthil Kumaran
75b8a54bca
bpo-29651 - Cover edge case of square brackets in urllib docs ( #1128 ) ( #1596 )
...
(cherry picked from commit f6e863d868
)
2017-05-15 22:41:07 -07:00
Berker Peksag
61b6e5cf92
bpo-30358: Document sort argument of profile.runctx() (GH-1566)
...
(cherry picked from commit 9977629623
)
2017-05-14 18:30:48 +03:00
Mariatta
3a66ab8695
[3.6] bpo-30178: Indent methods and attributes of MimeType class (GH-1306) ( #1570 )
...
(cherry picked from commit c71168090d
)
2017-05-13 09:42:39 -07:00
Victor Stinner
9d02f56296
[3.6] bpo-23404: make touch becomes make regen-all ( #1405 ) ( #1461 )
...
* 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 a5c62a8e9f
)
* bpo-30273: Update sysconfig (#1464 )
The AST_H_DIR variable was removed from Makefile.pre.in by the commit
a5c62a8e9f
(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 b109a1d336
)
2017-05-05 00:46:56 +02:00
Mariatta
af71364c3f
[3.6] bpo-28315: Improve code examples in docs (GH-1372) ( #1445 )
...
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>
(cherry picked from commit 8856940cf2
)
2017-05-03 18:41:20 -07:00
Mariatta
5bcf01d4cd
[3.6] Fix typo in selectors.rst (GH-1383) ( #1414 )
...
decriptor -> descriptor
(cherry picked from commit b0d8203654
)
2017-05-02 21:35:43 -07:00
Mariatta
78b23ab682
[3.6] Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS transition (GH-1355) ( #1371 )
...
(cherry picked from commit d4069de511
)
2017-05-01 22:55:53 -07:00
csabella
5a8dcec939
[3.6] bpo-30208: DOC: fix small typos in IDLE ( #1356 )
...
(cherry picked from commit d9af73330f
)
2017-04-29 20:42:03 -04:00
Dong-hee Na
2fc3c543fc
[3.6] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1303)
2017-04-26 09:55:55 -07:00
Berker Peksag
04f389b8b3
bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)
...
* 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 87c07fe9d9
)
2017-04-26 17:25:37 +03:00
Louie Lu
9f6828119d
bpo-28698: Fix c_wchar_p doc example (GH-1160)
...
(cherry picked from commit 0d637e236d
)
2017-04-26 11:45:31 +03:00
Mariatta
16b6f971bd
[3.6] bpo-28851: Improve namedtuple documentation (GH-1274) (GH-1286)
...
Clarify that a sequence of strings is the preferred value for 'field_names'.
(cherry picked from commit 97bf722fcd
)
2017-04-25 18:23:05 -07:00
Louie Lu
9d022f169e
[3.6] Fix trailing colon and newline in test.rst (GH-1250) ( #1254 )
...
(cherry picked from commit 7fae81e167
)
2017-04-22 14:48:53 +03:00
Mariatta
c5c24cfaf9
[3.6] Fix a typo in Doc/library/functions.rst (GH-1117) (GH-1123)
...
Replace `For object's ... ` with `For objects ...`
(cherry picked from commit 873ef20d00
)
2017-04-13 16:37:51 -07:00
Serhiy Storchaka
9366332822
bpo-30021: Add examples for re.escape(). ( #1048 ) ( #1115 )
...
And fix the parameter name.
(cherry picked from commit 8fc7bc2b76
)
2017-04-13 19:41:19 +03:00
Berker Peksag
119d94ad37
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
...
Reported by Lucio Ricardo Montero Valenzuela.
(cherry picked from commit 61b9ac9371
)
2017-04-13 16:17:01 +03:00
Xiang Zhang
14944c6230
bpo-26985: Add missing info of code object in inspect documentation (GH-1090) (GH-1099)
2017-04-13 11:14:17 +08:00
Mariatta
f0c416799b
[3.6] bpo-30047: Fix a typo in Doc/library/select.rst (GH-1086) (GH-1098)
...
(cherry picked from commit 3e0f1fc4e0
)
2017-04-12 20:02:21 -07:00
Mariatta
28ddd3c905
[3.6] Improvements to typing documentation (GH-967) (GH-1053)
...
Documents a few omitted classes and adds NamedTuple methods.
(cherry picked from commit 45d22c256b
)
2017-04-09 15:17:28 -07:00
Mariatta
90eb7a9ff4
[3.6] Correct typo in configparser.rst (GH-1012) (GH-1025)
...
(cherry picked from commit 01fa9ae546
)
2017-04-09 15:15:57 -07:00
Nick Coghlan
a524d63072
bpo-29506: Clarify deep copy note in copy module
...
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.
(cherry picked from commit 19e0494256
)
2017-04-09 20:57:04 +10:00
Barry Warsaw
616d3eb7ef
Fix a minor typo. ( #1032 ) ( #1037 )
...
(cherry picked from commit dd9a0a14c8
)
2017-04-07 16:50:13 -04:00
Senthil Kumaran
cb1e002c07
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor ( #947 ) ( #985 )
...
(cherry picked from commit 02e1213800
)
2017-04-03 22:27:15 -07:00
Mariatta
2609c9ee78
bpo-29677: DOC: clarify documentation for `round` (GH-877) (GH-892)
...
(cherry picked from commit 85deefcf61
)
2017-03-29 19:10:07 -07:00
Mariatta
5965062161
bpo-29677: DOC: clarify documentation for `round` (GH-357) (GH-862)
...
(cherry picked from commit 6003db7db5
)
2017-03-27 17:02:29 -07:00
Mariatta
5dafaece67
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802) (GH-810)
...
(cherry picked from commit 29540cdf6c
)
2017-03-24 20:04:40 -07:00
Brett Cannon
74bfcc314b
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651) (GH-808)
...
(cherry picked from commit 8f9e1bbf2d
)
2017-03-24 14:18:53 -07:00
INADA Naoki
c0f3e21a23
doc: minor fix for library/profile (GH-766)
...
(cherry picked from commit bd3d8ba3b2
)
2017-03-22 17:14:03 +09:00
Xiang Zhang
72c51136c6
fix function name in tabnanny documentation (GH-762)
2017-03-22 15:26:53 +08:00
Serhiy Storchaka
fcd79ada4e
Fix "NotImplentedError" typo in constants documentation ( #692 ) ( #739 )
...
`NotImplentedError` --> `NotImplementedError`
(cherry picked from commit 05f53735c8
)
2017-03-20 14:54:52 +02:00
Mariatta
d1f566f6bd
bpo-29856: Fix typo in curses documentation (GH-730) (GH-731)
...
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit 64508780d7
)
2017-03-19 20:55:16 -07:00
Berker Peksag
948171bf99
bpo-16355: Clarify when inspect.getcomments() returns None ( #428 ) ( #690 )
...
Initial patch by Vajrasky Kok.
(cherry picked from commit 3f2155ffe6
)
2017-03-17 14:59:16 +03:00
Mariatta
3fce38c540
bpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-688)
...
(cherry picked from commit 1bb0f3762e
)
2017-03-16 19:56:56 -07:00
Xiang Zhang
388e2568fc
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-657)
2017-03-13 11:03:36 +08:00
Xiang Zhang
7927abba34
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654)
2017-03-13 10:36:34 +08:00
Serhiy Storchaka
4652d82a51
bpo-29746: Update marshal docs to Python 3. ( #547 ) ( #631 )
...
(cherry picked from commit c611a5b1d4
)
2017-03-12 10:05:05 +02:00
Mariatta
d7a8d32ce2
tempfile.rst: Fix some typos (GH-610) (GH-618)
...
(cherry picked from commit d3b8f98696
)
2017-03-11 10:19:51 -08:00
Xiang Zhang
16416c22f9
bpo-29770: remove outdated PYO related info (GH-590) (GH-612)
2017-03-11 14:07:30 +08:00
Mariatta
701f13ab93
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-608)
...
(cherry picked from commit 70ee0cd5c2
)
2017-03-10 19:36:26 -08:00
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
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