| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
(cherry picked from commit 283f9a253b4ff4df728558205629b3bb3af6e47f)
|
| |
|
|
|
| |
(cherry picked from commit 735d902b363b759df9ff00e58bbf4f7e2bde78cd)
Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
|
| |
|
|
|
|
|
|
| |
(cherry picked from commit 19e3e0026417caa92ffe21a67157363b45da9aa2)
Co-authored-by: Julien Palard <julien@palard.fr>
Automerge-Triggered-By: @JulienPalard
|
| |
|
|
|
|
|
|
| |
`<tt>` is not allowed.
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
(cherry picked from commit 39c34933fc958fd773ebf14ccd2e0224450b17ed)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit f4800b8ed3dbe15a0078869a836d968ab3362b8c)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 386d00cc341b549800776b906bfc6b20ea40c7db)
Co-authored-by: David Coles <coles.david@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
* "Return true/false" is replaced with "Return ``True``/``False``"
if the function actually returns a bool.
* Fixed formatting of some True and False literals (now in monospace).
* Replaced "True/False" with "true/false" if it can be not only bool.
* Replaced some 1/0 with True/False if it corresponds the code.
* "Returns <bool>" is replaced with "Return <bool>".
(cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
|
| |
|
|
|
| |
(cherry picked from commit 85c6f8c65cd4f7219522c1f304bdfff19f785e7a)
Co-authored-by: Marco Rougeth <marco@rougeth.com>
|
| |
|
|
|
| |
(cherry picked from commit d898d20e8c228229eb68e545f544db13f246f216)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 3f36043db22361500f52634f2b8de49dde0e7da9)
Co-authored-by: Ned Deily <nad@python.org>
|
| |
|
|
|
| |
(cherry picked from commit 4504b4500d2a1a80c26b27b0bfff8b624d5ce06c)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
|
|
|
|
| |
documentation. (GH-16442) (GH-16647)
Prior to 3.7, re.escape escaped many characters that don't have
special meaning in Python, but that use to require escaping in other
tools and languages. This commit aims to make it clear which characters
were, but are no longer escaped.
(cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c)
|
| |
|
|
|
|
|
| |
(GH-8861) (GH-15972)
(cherry picked from commit 97b817eae34b77be1ced382e15098a112f547848)
Co-authored-by: Anjali Bansal <anjali.mca17.du@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
(#15653)
* Fix suspicious.py to actually print the unused rules
* Fix the other `self.warn` calls
(cherry picked from commit e1786b54162e2bfb01ca5aafa19d596c4af5a803)
|
| |
|
|
|
| |
(cherry picked from commit 552951563cd5968d25e95306362e41f07d661a88)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
| |
* [3.7] Doc: Add an optional obsolete header. (GH-13638).
(cherry picked from commit 46ed90dd014010703c7a3b2a61c4927644fa8210)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
| |
(cherry picked from commit ee171a26c1169abfae534b08acc0d95c6e45a22a)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 59e7bbcaa4d0d556591f774c5ea4869c41fa95b0)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
| |
(cherry picked from commit e9b49d1b4eec21f2da838db3360f6458cf648c36)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
|
| |
|
|
|
| |
(cherry picked from commit 45a5fdb91cee665161a8b1980bb4e6ccb999f58f)
Co-authored-by: zhsj <zsj950618@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 9db56fb8faaa3cd66e7fe82740a4ae4d786bb27f)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
|
| |
(GH-11224)
(cherry picked from commit afe17a7bee1bcb39dc56f2949431204918568ac1)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
|
| |
|
|
|
|
|
|
| |
Fixed some errors in refcounts.dat, remove functions removed in
Python 3, and add more entries for documented functions. This will
add several automatically generated notes about return values.
(cherry picked from commit 83dd4e87a62311cfea5fdd37e8a945b6b07bccee)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
|
| |
languages. (GH-10558)
(cherry picked from commit 6b73bb523a176123a819e4ebac3727d31d861515)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
|
|
|
| |
(cherry picked from commit 64313478bcbd0a708c3ce5d4d14f977da56e4be9)
Co-authored-by: Julien Palard <julien@palard.fr>
https://bugs.python.org/issue32613
|
| |
|
|
| |
(GH-10409)
|
| |
|
|
|
|
|
| |
(GH-10360)
(cherry picked from commit beed84ca5e0f2784d758478d4e7c81c9c1088c4e)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
| |
https://bugs.python.org/issue35075
(cherry picked from commit bf46a09dec372b85846216bd692d648dac08ac36)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-9827)
(cherry picked from commit e385d0661ecf8bc9ba95c4395d9a11262c2cbfec)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
|
| |
|
|
|
|
|
|
|
|
|
| |
(GH-9830)
Replace "Availability: xxx" with ".. availability:: xxx" in the doc.
Original patch by Georg Brandl.
Co-Authored-By: Georg Brandl <georg@python.org>
(cherry picked from commit 2d6097d027e0dd3debbabc702aa9c98d94ba32a3)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
| |
|
|
|
|
|
|
| |
Let .chm document display non-ASCII characters properly
Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems.
(cherry picked from commit 6261ae9b01fb8429b779169f8de37ff567c144e8)
Co-authored-by: animalize <animalize@users.noreply.github.com>
|
| |
|
|
| |
Partially revert changes to Doc/tools/templates/layout.html
accidentally committed in 512d7101098b971837cbb406942215244f636547.
|
| |
|
|
|
|
| |
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
(cherry picked from commit 471503954a91d86cf04228c38134108c67a263b0)
Co-authored-by: Yury Selivanov <yury@magic.io>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
(GH-6915) (GH-6928)
The editline emulation needs to be initialized *after* the name is
defined. This fixes the long open issue.
(cherry picked from commit c2f082e9d164acfa8f96de9526f0f47ae92c426a)
Co-authored-by: Zvezdan Petkovic <zpetkovic@acm.org>
|
| |
|
|
|
| |
(cherry picked from commit 577948329976985ea9bef23d9a6c3dd7108211bf)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
|
| |
|
|
|
|
| |
In fact, we now require a newer Sphinx version because APIs have moved around.
(cherry picked from commit acfb087f9f5590e5174a30eced3c2fe911f49d70)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
| |
|
|
| |
The Show Source link in Python 3.7 docs is pointing to GitHub's master branch.
It should point to the 3.7 branch.
|
| |
|
|
|
| |
(cherry picked from commit 0febc053736112d7bb9081742b3ac0ece7b973e7)
Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- primary change is to add a new default filter entry for
'default::DeprecationWarning:__main__'
- secondary change is an internal one to cope with plain
strings in the warning module's internal filter list
(this avoids the need to create a compiled regex object
early on during interpreter startup)
- assorted documentation updates, including many more
examples of configuring the warnings settings
- additional tests to ensure that both the pure Python and
the C accelerated warnings modules have the expected
default configuration
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than supporting dev mode directly in the warnings module, this
instead adjusts the initialisation code to add an extra 'default'
entry to sys.warnoptions when dev mode is enabled.
This ensures that dev mode behaves *exactly* as if `-Wdefault` had
been passed on the command line, including in the way it interacts
with `sys.warnoptions`, and with other command line flags like `-bb`.
Fix also bpo-20361: have -b & -bb options take precedence over any
other warnings options.
Patch written by Nick Coghlan, with minor modifications of Victor Stinner.
|
| |
|
|
| |
in regular expressions.
|
| |
|
|
|
|
|
|
|
|
|
| |
kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte")
means 1024 bytes. KB was misused: replace kB or KB with KiB when
appropriate.
Same change for MB and GB which become MiB and GiB.
Change the output of Tools/iobench/iobench.py.
Round also the size of the documentation from 5.5 MB to 5 MiB.
|
| | |
|
| |
|
| |
Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
|
| | |
|
| | |
|
| | |
|