| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
(cherry picked from commit 52c41f18086f3d8b1eb3854b568f04717c724e3d)
|
| |
|
|
|
|
|
|
|
|
| |
(#2874)
* bpo-31036: use an existing Misc/NEWS rather than trying to use blurb
* bpo-31036: avoid echoing comments
(cherry picked from commit 3de144890ad3bc50694368a1b33be6d7f3a780b3)
|
| | |
|
| | |
|
| |
|
| |
(cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
|
| | |
|
| |
|
| |
(cherry picked from commit 50f58163a69abe2f35e91044d1df165ee7bdbb42)
|
| |
|
|
|
|
|
|
| |
FXpy doesn't have a Python 3 port and it only
supports Python 2.2 and older versions.
Reported by Alex Walters on docs@p.o.
(cherry picked from commit d3ed2877a798d07df75422afe136b4727e500c99)
|
| |
|
|
|
| |
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)
|
| |
|
|
| |
Clarify that the break statement breaks out of the innermost enclosing for or while loop.
(cherry picked from commit 36fc896740319d2c03aa2054a90a999c162517ef)
|
| |
|
|
|
| |
(GH-2341)
(cherry picked from commit b066edfb1b268e90ea11f45dd1827f46d7ceec88)
|
| |
|
|
| |
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
|
| |
|
|
|
|
|
|
| |
module. (GH-2266) (#2298)
They now always return bytes.
Updated the gettext documentation.
(cherry picked from commit 26cb465)
|
| | |
|
| |
|
|
| |
`PyModule_New()` now refers to `PyModule_NewObject()`
(cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd)
|
| |
|
|
|
| |
(GH-2197)
(cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
|
| |
|
|
| |
Replace platform with platforms.
(cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee)
|
| |
|
| |
(cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
|
| |
|
|
| |
Move up the discussion about 'with' keyword, so it appears earlier in the document.
(cherry picked from commit bd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18)
|
| |
|
| |
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
|
| |
|
|
| |
import json before using json module
(cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
|
| |
|
|
|
|
|
| |
(GH-2093)
(cherry picked from commit 0afbabe245)
Also fixes some line endings missed in GH-840 backport.
|
| |
|
|
| |
Mention that fnmatchcase does not call normcase, and fnmatch does.
(cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3)
|
| |
|
|
|
|
| |
(GH-1536) (GH-2056)
Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex.
(cherry picked from commit 74921ed8941fce14c2a53dc7280f43eb01fe4ed8)
|
| |
|
| |
(cherry picked from commit 824f6879121413e09439fffef54580413e44bf46)
|
| |
|
| |
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-30538: Update count() in Functional HOWTO
* bpo-30538: Update enumerate() arguments in Functional HOWTO
(cherry picked from commit 9be4ff359daa67cde6246494f643ed7cd2825d46)
|
| |
|
|
|
| |
Update the code example in Functions and Methods section
Remove objtype argument in MethodType
(cherry picked from commit 1bced56567335745f91676192fc39c06aab30da9)
|
| |
|
|
|
| |
(GH-344) (GH-1914)
(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)
|
| |
|
| |
(cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
(cherry picked from commit e405d4b8dfb8b497e1c3d1f0f8e28030040c165e)
|
| |
|
|
| |
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)
|
| |
|
|
|
| |
(#1750)
(cherry picked from commit d618c8c6d31b9b288f8a070417683974eb98e3ba)
|
| | |
|
| | |
|
| |
|
| |
(cherry picked from commit f6e863d868a621594df2a8abe072b5d4766e7137)
|
| |
|
| |
(cherry picked from commit 99776296230ddd8429ebad2d07854b8c27ea10ab)
|
| |
|
|
|
| |
(#1571)
(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)
(cherry picked from commit 9d02f562961efd12d3c8317a10916db7f77330cc)
|
| |
|
|
|
|
|
| |
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>
(cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
|
| |
|
|
| |
decriptor -> descriptor
(cherry picked from commit b0d82036549074357717d130a772d1e2ebc8ea01)
|
| |
|
| |
(cherry picked from commit 80a3da4d4aad0b51893e1e2f696b6252eca80e07)
|
| |
|
| |
(cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334)
|