| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport of TLS 1.3 related fixes from 3.7.
Misc fixes and workarounds for compatibility with OpenSSL 1.1.1 from git
master and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by
default. Some test cases only apply to TLS 1.2.
OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS
1.3. The feature is enabled by default for maximum compatibility with
broken middle boxes. Users should be able to disable the hack and CPython's test suite needs
it to verify default options
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 2a4ee8aa01d61b6a9c8e9c65c211e61bdb471826)
|
| |
|
|
|
|
|
|
|
| |
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE,
OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except
for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3)
are set by default. The initial cipher suite list contains only
HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
(cherry picked from commit 358cfd426ccc0fcd6a7940d306602138e76420ae)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-10607)
Change TLS 1.3 cipher suite settings for compatibility with OpenSSL
1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by
default.
Also update multissltests to test with latest OpenSSL.
Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit 3e630c541b35c96bfe5619165255e559f577ee71)
Co-authored-by: Christian Heimes <christian@python.org>
|
| |
|
|
|
|
|
| |
format strings (GH-8948)
(cherry picked from commit 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
| |
|
|
| |
(cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)
|
| |
|
|
|
|
|
| |
Escape the \t and \n.
Follow up from https://github.com/python/cpython/pull/10814.
(cherry picked from commit 2d8f976cde4794d174b44ff7d5fd970aa89c65e8)
Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(GH-10565). (GH-10943)
(cherry picked from commit 4edeaeac4c194ba5d09187640b5cfca5e03be617)
Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
|
| |
|
|
|
|
| |
(GH-10827)
(cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f)
|
| |
|
|
|
| |
(cherry picked from commit ba57963a95a994947b8bec6869e810a74a751278)
Co-authored-by: takey <taketakeyyy@gmail.com>
|
| |
|
|
|
| |
(GH-10023) (GH-10667)
https://bugs.python.org/issue35035
|
| |
|
|
|
| |
(cherry picked from commit 8e0b05e2f4b9fd703cbe1ae8d058852ef3781f44)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit ae31e3fbf4e7def772fc1c94342d1011424fdc99)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit d64991031e4c86ce0331caac16770757511dd025)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
| |
(GH-10203)
|
| |
|
|
|
|
| |
Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by
limiting the number of `MiniFieldStorage` objects created by `FieldStorage`.
(cherry picked from commit 209144831b0a19715bda3bd72b14a3e6192d9cc1)
|
| |
|
|
|
| |
(cherry picked from commit c0799ec973530ad2492bb1d6c7287ffc428f0348)
Co-authored-by: Gus Goulart <augusto@goulart.me>
|
| |
|
|
|
|
| |
Referring to ``pytest`` as ``py.test`` is deprecated..
(cherry picked from commit d855f2fdbd73016ece9b58e6f6ac26cf986fabf6)
Co-authored-by: Andreas Pelme <andreas@pelme.se>
|
| |
|
|
|
|
| |
Specify that blocks are non-overlapping. Change '!=' to '<'.
(cherry picked from commit d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
| |
(GH-9542)
(cherry picked from commit 1487b651caa62647f8f8c9e8432e475e3566130c)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)
* Address review comment..
(cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b)
Co-authored-by: Senthil Kumaran <skumaran@gatech.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-10071)
Fix the documentation of copy2, as it does not copy file ownership (user and
group), only mode, mtime, atime and flags.
The original text was confusing to developers as it suggested that this
command is the same as 'cp -p', but according to cp(1), '-p' copies file
ownership as well.
Clarify which metadata is copied by shutil.copystat in its docstring.
(cherry picked from commit 4f399be0e70d8b5516b6213568b7665765bb3114)
|
| |
|
|
|
|
|
| |
(GH-9809)
(cherry picked from commit 83a0765)
Co-authored-by: Andrei Petre p31andrei@gmail.com
|
| |
|
|
|
|
|
|
|
|
| |
docs (GH-5621)
Add restriction on the offset parameter for mmap.flush.
Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix.
(cherry picked from commit 027664a3d5ebad575aafe5fcc572e3b05f7f24e5)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
| |
|
|
|
|
|
|
| |
files (GH-8428)
* bpo-13407: Mention that tarfile doesn't support multistream bzip2 files
* Add mention to bz2 module also
|
| |
|
|
|
|
|
|
| |
(GH-8783)
(cherry picked from commit 76aa2c0a9a8dd3ac90b91e7342c8ce8125bf21f9)
Co-authored-by: larryhastings <larry@hastings.org>
|
| |
|
|
|
| |
The change to Tools/scripts/diff.py effectively backports part of
a2637729f23dc993e820fd92f0d1759ad714c9b2.
The test code changed in Doc/library/difflib.rst is not present in current 3.x.
|
| |
|
|
|
|
|
| |
(GH-8844)
(cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
|
| |
|
|
|
|
|
| |
The change in the mini language floating point and decimal table
is consistent with 'Exponential notation' and clarifies that we
are referring to the output notation, not an object type.
(cherry picked from commit 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5)
|
| |
|
|
|
|
| |
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-8427)
(cherry picked from commit bde782bb594edffeabe978abeee2b7082ab9bc2a)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 9c5ba097485c8c643b670acd4026f4382bc92f4b)
Co-authored-by: Marcin Niemira <marcin@niemira.net>
|
| |
|
|
|
|
|
| |
optional (GH-7510). (GH-8171)
(cherry picked from commit b6bb77c2b8e83ba6cb845c7b512ac564276e854f)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-8042) (GH-8066)
(cherry picked from commit 831c29721dcb1b768c6315a4b8a4059c4c97ee8b)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 4a6e746079441d18c30e3c4d014f106faaf7792f)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-7858) (GH-7902)
Adds references to info about file modes, `time.strftime()`, string formatting
syntaxes, and logging levels.
(cherry picked from commit a8ddf85a84364d2c660e6670a7e06621993d1fdc)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit c45cb479074b5d25f0d382d3109f527520a9f03c)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| | |
|
| |
|
|
|
| |
(cherry picked from commit 5092439c2cb32112a5869b138011d38491db90a9)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
| |
string.Formatter. (GH-7668) (GH-7676)
string.Formatter auto-numbering feature was added in 3.4 and not
available in 2.7. Make the documentation unambiguous.
|
| | |
|
| |
|
|
| |
(GH-7281)
|
| |
|
|
|
| |
(cherry picked from commit f7745e1dcb8e8473cc86112a0213b3f244a07230)
Co-authored-by: Tobias Kunze <r@rixx.de>
|
| |
|
|
|
|
| |
The bytes parameter uses big endian.
(cherry picked from commit b75ec0856771b51684b08c4e5068fbfad25c5e83)
Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
|
| |
|
|
|
|
|
|
| |
(GH-6316)
`writerows()` takes an iterable.
(cherry picked from commit a801cf164be7c62b6a6dba47ff91d6c3edb67729)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| |
|
|
|
|
|
| |
documentation (GH-6814). (GH-6905)
(cherry picked from commit 19177fbd5d6d9b29ccc302d65f9d9417ece082ce)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
|
| |
|
|
|
|
| |
Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58fae08b29259eebd6cbcd2287820b14e8)
Co-authored-by: Elena Oat <oat.elena@gmail.com>
|
| |
|
|
|
|
|
|
| |
(GH-6223) (GH-6646)
(cherry picked from commit 9f3535c9cde8813ce631d6ebe4d790682f594828)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
|
| | |
|
| |
|
|
|
|
| |
(cherry picked from commit 67a8f4fed3169e1b8c947c10f6e06863e399ae32)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
|