| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Use base class rather than metaclass in examples.
(cherry picked from commit 122e88a8354e3f75aeaf6211232dac88ac296d54)
|
|
|
|
|
|
| |
The `subprocess.getstatusoutput` API was inadvertently changed
in Python 3.3.4. Document the change, it is too late to undo the
API change now as it has shipped in many stable releases.
(cherry picked from commit 738b7d9766e1a794aaaabfba0d515a467ba833ca)
|
|
|
|
| |
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
|
|
|
| |
(cherry picked from commit 60dbed18509f99af8eaa685d9736f954b8d621fb)
|
|
|
| |
(cherry picked from commit c9d6dbc2900ace9564b8f67e63617be747355c6b)
|
|
|
|
| |
This comment hasn't been true since Python 3.0.
(cherry picked from commit b84efddb9a87d515029bac943812b66eb3486eb5)
|
|
|
|
|
| |
- Link to the regular expressions object documentation
- Clarify that it can be used with more than the two methods currently stated.
(cherry picked from commit ed94a8b2851914bcda3a77b28b25517b8baa91e6)
|
|
|
| |
(cherry picked from commit 143be366295038b36fc32c44b8e1b48a375eab56)
|
|
|
|
|
|
|
|
|
|
|
| |
OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client
could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that.
The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN
callback can pretend to not been set.
See https://github.com/openssl/openssl/pull/3158 for more details
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit a5c1bab352671e043645163ca50c5211aa657acd)
|
|
|
|
|
| |
"not only is it .." is the correct form, as opposed to:
"not only it is ..."
(cherry picked from commit 87c3c5de731af18a271f4559cd69ccb8d050208f)
|
|
|
|
| |
Initial patch by Peter Thomassen.
(cherry picked from commit caa1280)
|
|
|
| |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
|
|
|
| |
(cherry picked from commit 627d2c8e8dc9cfe6c1cdfd9b34899eb30b600a88)
|
|
|
| |
(cherry picked from commit 67ba4fa467ffff825d6a0c0a21cc54ff1df2ed1b)
|
|
|
| |
(cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
|
|
|
| |
backport
|
|
|
|
|
| |
Improve the description of the high and low parameters for set_write_buffer_limits.
Also fixed a small grammatical issue.
(cherry picked from commit 5200a7c7f9ea65a96330c5f276f4acc6ec70854e)
|
| |
|
|
|
|
| |
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
|
|
|
|
|
|
|
|
| |
module. (GH-2266) (#2297)
They now always return bytes.
Updated the gettext documentation..
(cherry picked from commit 26cb4657bcc9a7adffa95798ececb588dddfeadb)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-2253)
Partially clarify the subprocess convenience API documentation by
explicitly listing the `cwd` parameter in their abbreviated signatures.
While this has been merged as an improvement, it doesn't fully
resolve the issue, as the `cwd` should also be covered in the
"Frequently Used Arguments" section, and the fact these APIs
pass unlisted keyword arguments down to the lower level APIs
is currently still unclear.
(cherry picked from commit 368cf1d20630498ca7939069a05d744fabb570aa)
|
|
|
| |
(cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440)
|
|
|
|
|
| |
(GH-2195)
(cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
|
|
|
|
| |
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
(cherry picked from commit 188aedf8bb623d41302e10503268b0852ea91134)
|
|
|
| |
(cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
|
|
|
| |
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
|
|
|
|
|
|
|
|
| |
* clarify recv() and send() on SSLObject (#2100)
SSLObject has recv() and send(), but they don't do any network io.
* remove extra word (#2101)
|
|
|
|
| |
Mention that fnmatchcase does not call normcase, and fnmatch does.
(cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3)
|
|
|
|
|
|
| |
(GH-1536) (GH-2055)
Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex.
(cherry picked from commit 74921ed8941fce14c2a53dc7280f43eb01fe4ed8)
|
|
|
| |
(cherry picked from commit 824f6879121413e09439fffef54580413e44bf46)
|
|
|
|
|
|
| |
* 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)
|
|
|
|
| |
Replace `datetuil` into `dateutil`
(cherry picked from commit 53f2af16551eb3a080da313257603c31ef8b93b4)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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)
|
|
|
|
|
| |
(GH-344) (GH-1913)
(cherry picked from commit cdb89cd)
|
|
|
| |
(cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
| |
(cherry picked from commit 56ddfd2eea4d98456a9a99bf2a718f21ee6b2be2)
|
|
|
|
|
|
| |
(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)
|
|
|
|
| |
Also document that some attributes may be None.
(cherry picked from commit 12d6b5d)
|
|
|
|
| |
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
(cherry picked from commit 5becf38)
|
|
|
|
|
|
|
| |
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)
|
|
|
| |
(cherry picked from commit 93fc20b73eea3da0b6305aaee951e5dd22d5c408)
|
|
|
|
|
| |
(#1749)
(cherry picked from commit d618c8c6d31b9b288f8a070417683974eb98e3ba)
|
|
|
| |
(cherry picked from commit 3378b2062c7fbb77a9b5e6d315d6b94160fac69a)
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
| |
(cherry picked from commit f6e863d868a621594df2a8abe072b5d4766e7137)
|
|
|
| |
(cherry picked from commit 99776296230ddd8429ebad2d07854b8c27ea10ab)
|
|
|
|
|
| |
(#1570)
(cherry picked from commit c71168090df435c1eb8c03005b11df764cd7ebd6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>
(cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
|