| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
The documentation for CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED were
misleading and partly wrong. It fails to explain that OpenSSL behaves
differently in client and server mode. Also OpenSSL does validate the
cert chain everytime. With SSL_VERIFY_NONE a validation error is not
fatal in client mode and does not request a client cert in server mode.
Also discourage people from using CERT_OPTIONAL in client mode.
|
| |
|
|
|
| |
(cherry picked from commit 4b704f29f5a0b6f6d7bd67468ed004bd3a96855d)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
| |
Change suggested by Eryk Sun in a comment on PR 7137 after it was merged.
(cherry picked from commit fd88f319a4f40682b989b63f0b6378d69465fda4)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should
make text and lines sharper. It should otherwise have no effect.
Using a magnifier, I determined that the improvement comes from horizontal and
lines being better lined up with the monitor pixels. I checked that this call causes
no problem on any Windows buildbot, including the Win7 buildbots. Unlike most
IDLE patches, this one can be easily reverted by users by removing a few lines,
at the top of idlelib/pyshell.py.
(cherry picked from commit 800415e3df69f494afe9f95a8563ce17609fe1da)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
| |
(cherry picked from commit 0e5f901508dea6437dc9ee89b434feca721d45be)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-7631) (#7634)
The docs claimed that a list of EmailMessage objects could be
passed to set_content(), but this was never implemented.
(cherry picked from commit 2c071cebe67f517f191f4074757a79b0f597d886)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| | |
|
| | |
|
| |
|
|
|
| |
(cherry picked from commit 9d6d06e8065d45f375f4a80e2d7e13b032da1f5b)
Co-authored-by: Ned Deily <nad@python.org>
|
| |
|
|
|
|
|
|
| |
(GH-7607)
Before Python 3.6, os.path.abspath(None) used to report an AttributeError which was properly caught inside site.abs_paths, making it ignore __main__, one of sys.modules, which has __file__ and __cached__ set to None. With 3.6, os.path.abspath(None) raises TypeError instead which site.abs_path was not expecting. This resulted in an uncaught exception if a user had PYTHONSTARTUP set and the application called site.main() which a number of third-party programs do.
(cherry picked from commit 2487f30d5529948ace26559e274d7cac6abcd1a8)
Co-authored-by: Steve Weber <steverweber@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A datetime object d is aware if d.tzinfo is not None and
d.tzinfo.utcoffset(d) does not return None. If d.tzinfo is None,
or if d.tzinfo is not None but d.tzinfo.utcoffset(d) returns None,
d is naive.
This commit ensures that instances with non-None d.tzinfo, but
d.tzinfo.utcoffset(d) returning None are treated as naive.
In addition, C acceleration code will raise TypeError if
d.tzinfo.utcoffset(d) returns an object with the type other than
timedelta.
* Updated the documentation.
Assume that the term "naive" is defined elsewhere and remove the
not entirely correct clarification. Thanks, Tim.
(cherry picked from commit 877b23202b7e7d4f57b58504fd0eb886e8c0b377)
Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 4ab4695388fb9ec03a14d93e90ce50d832a920ec)
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
|
| |
|
|
|
|
| |
Users can now click on context lines.
(cherry picked from commit af4b0130d44bf8a1ff4f7b46195d1dc79add444a)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
| |
(cherry picked from commit 820c53ac612e9c4b3cb3e831537a15d5e953bbc0)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
| |
Seems they were added by double applying blurb.
(cherry picked from commit 98a0e466cd94d4635769cfdfd397c43c07384595)
|
| |
|
|
|
| |
(cherry picked from commit e226eb71575ad22a6779b02941377665831cfff2)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
| |
(cherry picked from commit d689f976199d2e211a97d526b57cfa9871cc578d)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 0e0534c4024c181aa47a300142c59eeeee71db46)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22)
Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
|
| |
|
|
|
|
|
|
|
| |
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE
then SUCCESS") to show that some failing tests have been re-run.
Add also test_regrtest.test_rerun_fail() test.
(cherry picked from commit c45fc7673e23f911639d10d3771ffef7be870c7a)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
| |
|
|
|
|
|
| |
Fix typos in code comments: bdb.py and configure.ac..
(cherry picked from commit b5c246f833d95991fed728c3845176dd661cd5ea)
Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com>
|
| |
|
|
|
|
| |
Supersedes https://github.com/python/cpython/pull/2490
(cherry picked from commit 12f482e0ae33021c04264294f33fa6baa9617cec)
Co-authored-by: Yury Selivanov <yury@magic.io>
|
| |
|
|
|
|
|
|
| |
- bugfix and test for fragile metavar handling in argparse (see
bpo-24089, bpo-14046, bpo-25058, bpo-11874)
- also fixes some incorrect tests that did not make 1-element tuples correctly
(cherry picked from commit 66f02aa32f1e4adb9f24cf186f8c495399d5ce9b)
Co-authored-by: wim glenn <wim.glenn@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 9ef1b0690b90c526798b6b3125b0fa7ae98319a2)
Co-authored-by: Mayank Singhal <17mayank.singhal@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit b1f690294d9bf948d148df3ca0d20ca462d902b3)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
| |
(GH-7411)
(cherry picked from commit 041272b657867f5bec925b19aabf23944125d49b)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
| |
|
|
| |
(GH-7467) (#7514)
|
| |
|
|
|
| |
(cherry picked from commit ee994d7443a7e2809a5d49bd3679fc9c451a411b)
Co-authored-by: atg7000 <38963069+atg7000@users.noreply.github.com>
|
| |
|
|
| |
(GH-7467) (GH-7507)
|
| |
|
|
|
| |
(cherry picked from commit bed523ba03c4525c9c79a6df700284b6c43024b3)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
|
| |
(cherry picked from commit af1ec97a6d1dde68b2dc0ee9b78965eb219061a8)
Conflicts:
Doc/library/subprocess.rst
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-7462) (GH-7483)
* bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462)
Fix "<CoroWrapper ...> was never yielded from" warning in
PyTask_PyFuture_Tests.test_error_in_call_soon() of
test_asyncio.test_tasks.
Close manually the coroutine on error.
(cherry picked from commit 9f04f0df6fdb27190690bda949d213893d14e807)
* Hide a warning in test_asyncio test_cancel_handshake()
SslProtoHandshakeTests.test_cancel_handshake() of
test_asyncio.test_sslproto: hide a traceback about SSL handshake
failure.
|
| |
|
|
|
| |
(cherry picked from commit bb6366bd7570ff3b74bc66095540bea78f31504e)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Substract one because listdir() opens internally a file
descriptor to list the content of the /proc/self/fd/ directory.
Add test_support.test_fd_count().
Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure
that the report mode is always restored on failure.
(cherry picked from commit 492d6424a7ca907c8ec1df21e51062e8f3d88e32)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
| |
|
|
|
|
|
|
|
| |
Move the floor() call into fbound() to call floor() on a double
rather than an int. The change should enhance the rounding.
Document also (int)double rounding mode.
(cherry picked from commit 45e4efba7fa2abe61d25e4f8b5bf482e19ff1280)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
| |
|
|
|
| |
(cherry picked from commit b8c0845fee9277b1106ceecbf7592f8806c73ec8)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
| |
|
| |
(cherry picked from commit e33648484775fa533fc8f1e5cc45f60061d29d54)
|
| |
|
|
|
|
|
|
|
| |
testModeStrings and testTruncateOnWindows were depended on
a file leaked in other tests.
Also improve cleaning up after tests.
(cherry picked from commit c2745d2d05546d76f655ab450eb23d1af39e0b1c)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
| |
(GH-7377). (GH-7431)
(cherry picked from commit 5f48e2644dcfb47f0bbc0fcdc2b103a19bdec288)
|
| |
|
|
|
|
| |
With addCleanup() f.close() was executed after tearDown().
(cherry picked from commit 6592d7fe11477f8f974d2d4a85c3382a1ad05217)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
| |
Raise TypeError instead of SystemError for unsupported operations.
(cherry picked from commit e9e397605789b2a67b67558fbbe756b7b88934f5)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 10f715d71218ece737f990fa55027b8e1120cc3a)
Co-authored-by: Matthias Klose <doko42@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit f7745e1dcb8e8473cc86112a0213b3f244a07230)
Co-authored-by: Tobias Kunze <r@rixx.de>
|
| |
|
|
|
| |
(cherry picked from commit 13f51d9eec569e08475390e2a8f49f4afed1ea06)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
| |
The bytes parameter uses big endian.
(cherry picked from commit b75ec0856771b51684b08c4e5068fbfad25c5e83)
Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit a8eb58546b37a7cd5f332f019bb07388f5212c2d)
Co-authored-by: A. Jesse Jiryu Davis <jesse@emptysquare.net>
|
| |
|
|
|
| |
(cherry picked from commit b609e687a076d77bdd687f5e4def85e29a044bfc)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Previously, the mouse wheel and scrollbar slider moved text by a fixed
number of pixels, resulting in partial lines at the top of the editor
box. The change also applies to the shell and grep output windows,
but not to read-only text views.
(cherry picked from commit d49dbd9acc6db544ca6cb2445fe17eb0c3be4bba)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|