| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
generator expression (GH-3771)" (GH-8241)
This reverts commit af810b35b494ef1d255d4bf340b92a9dad446995.
This is not valid syntax (see bpo-32012).
(cherry picked from commit 4b8a7f51da224d1a0ad8159935f78ba4e6e16037)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit c48e26dcadbff8620bb5881d3bd148fc8894d0ef)
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 9045199c5aaeac9b52537581be127d999b5944ee)
Co-authored-by: twisteroid ambassador <twisteroidambassador@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-8401)
(cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 8e7e8bd8984068e3245d64b9a21e6840880747af)
Co-authored-by: Segev Finer <segev208@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 6cf8255912c36fec6f87f62513034d0818f61390)
Co-authored-by: erikjanss <erik.janssens@conceptive.be>
|
|
|
|
|
| |
(cherry picked from commit 3f8c6913b82ed9c05e57175bcbfeacde46c598e3)
Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
|
|
|
|
|
| |
(cherry picked from commit 4e11c461ed39085b8495a35c9367b46d8a0d306d)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit d2e902e4fb304f27e4a72356efbc1fc26be3935d)
Co-authored-by: Franz Wöllert <franz.woellert@gmail.com>
|
| |
|
|
|
| |
Initial patch by R. David Murray.
|
|
|
|
|
| |
(cherry picked from commit c536beedd50b0071208b4108ba9b48a36ffced79)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
|
|
|
|
|
|
| |
(cherry picked from commit 1d2dafa249c7fb34f3d24e7a77d1bea02907d92b)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-7911)
(cherry picked from commit ce75df3031c86b78311b1ad76c39c0b39d7d7424)
Co-authored-by: ValeriyaSinevich <valeriya.sinevich@phystech.edu>
|
|
|
|
|
| |
(cherry picked from commit 11eb1a94704142385ffc07852739863ced8587d2)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
|
|
|
|
|
|
|
|
| |
Mathematically, bitwise operations on integers behave as if there were an
infinite number of sign bits. Pragmatically, that gives the same answer as
using one extra sign bit for the bitwise logical operations.
(cherry picked from commit b4bc5cab82e6855e4ebc33ba0b669ddffad30fb3)
Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-7484)
(cherry picked from commit 8fe9eed937cb69b5e26ac6e36a90b5360eb11277)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
|
|
|
|
|
|
| |
Clarify how to bind to all interfaces using socket
(cherry picked from commit 95dfb9c3aefdc981d23af700b753a6c97159ccad)
Co-authored-by: johnthagen <johnthagen@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
<!-- issue-number: bpo-5978 -->
https://bugs.python.org/issue5978
<!-- /issue-number -->
(cherry picked from commit 937fb55d35373fd2701078251840b6be0465a6e1)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 612dbefe9dfce0f67bce358613e472e913be8a57)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
|
|
|
|
|
|
| |
/usr/local/lib/pythonX.Y is used by Homebrew's Python already.
(cherry picked from commit 3e7d18a54b9243b9652c9ddab87c2b9153dc365f)
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
Also, update the list of exceptions that may raised by PyMarshal_*
functions. We usually don't document exceptions raised by a
function, but in this case most of them were already documented
in C API and standard library documentation.
(cherry picked from commit defcffdf86780e3a184ebb25dc9a7b807753d57a)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
|
|
|
|
| |
(GH-8464)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable and fix SMTPUTF8SimTests in test_smtplib.
The tests for SMTPUTF8SimTests in test_smtplib.py were not actually
being run because test_smtplib was still using the 'test_main' pattern,
and the class was never added to test_main.
Additionally, one of the tests needed to be moved to the non-UTF8 server
class because it relies on the server not being UTF-8 compatible (and it
had a bug in in).
(cherry picked from commit 48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51)
Co-authored-by: chason <chason@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-2385) (GH-8466)
On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows.
(cherry picked from commit 96d1e69a12ed8ab80203277e1abdaf573457a964)
Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
|
|
|
|
|
| |
(cherry picked from commit c0f0a7669c73c0d444851dd4c5299de2479214cc)
Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com>
|
|
|
|
|
|
| |
The script will exit with the number 0 (zero), instead of the letter O.
(cherry picked from commit 95d34c2a37f4c5046f6439abef881925d34fe4ac)
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-8364) (GH-8365)
(cherry picked from commit 06ca3f0c09d017b9d741553818459cca2d5da587)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
| |
(GH-8351) (GH-8435)
Now base64.Error is always raised instead of UnboundLocalError or
OverflowError.
(cherry picked from commit ac0b3c2f4d86fc056b833a4e6b9a380741244a63)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
(GH-8262) (GH-8423)
(cherry picked from commit aba24ff3601ddc86b85e01880a8be596fb799287)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
(GH-8381) (GH-8422)
(cherry picked from commit db8e3a1e4476620b2b5aaf57acfc3ef58a08213b)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 147d95511f59cfdd2d522f9d736f2335457bae20)
Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>
|
|
|
|
|
| |
(cherry picked from commit bde782bb594edffeabe978abeee2b7082ab9bc2a)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
|
|
|
|
|
|
| |
(GH-8421)
(cherry picked from commit 3fe5cccb08283f5f4817ac432560972a4c0f5290)
|
|
|
|
|
|
|
|
| |
imaplib now allows MOVE command in IMAP4.uid() (RFC 6851:
IMAP MOVE Extension) and potentially as a name of supported
method of IMAP4 object.
(cherry picked from commit caa331d492acc67d8f4edd16542cebfabbbe1e79)
Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When Python is installed on Windows, python -m test test_tools failed
because it tried to run Tools\scripts\2to3.py which requires an
argument. Skip this script. On other platforms or on Windows but when
run from source code (not installed), the script is called "2to3"
instead of "2to.py" and so was already skipped.
Modify also the unit test to unload all modules which have been
loaded by the test.
(cherry picked from commit 752d4b7531093c55d6f0a5846748f981d79b29d3)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
|
|
|
|
| |
(cherry picked from commit 7a3056fa7dd1223fe7112e53b236c43d71f33f64)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit d04f46c59f1d07d9bcc0ba910741296ac88d370d)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b)
(cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235)
|
|
|
|
|
| |
(cherry picked from commit 961360923e7997a04833652623ea549b0dc02262)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit cb9c299a55c244f77563c60e5a4afcc2221eac21)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
| |
(#8383)
(cherry picked from commit 938045f335b52ddb47076e9fbe4229a33b4bd9be)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 56868f940e0cc0b35d33c0070107ff3bed2d8766)
Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>
|
|
|
|
|
| |
(cherry picked from commit a692efe4733f98831cb51a9683877b152f754d14)
Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
The test failed on my laptop because the busy loop took 15.9 ms
whereas the test expects at least 20 ms. Modify test_process_time()
as test_thread_time() has been modified recently: only require 15 ms
instead of 20 ms.
(cherry picked from commit e78dace8dcb23c371df19c9add65895adf436995)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
|
|
|
|
|
|
|
| |
Py_Main() can again be called after Py_Initialize(), as in Python
3.6. The new configuration is ignored, except of
_PyMainInterpreterConfig.argv which is used to update sys.argv.
(cherry picked from commit fb47bca9ee2d07ce96df94b4e4abafd11826eb01)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
|
|
|
|
|
| |
The parentheses were incorrect.
(cherry picked from commit cb5f3fdb9d353a572dd22fb50a110e52d5bb81b1)
Co-authored-by: Aaqa Ishtyaq <aaqaishtyaq@gmail.com>
|
|
|
| |
Cherry-picked from 2c5c0a3
|
|
|
| |
(cherry picked from commit b12112b5ba608cdd7a0962a6b18cad4fe58b46e6)
|