summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed spacepipelines-readme-3.7Steve Dower2018-09-241-1/+1
|
* Update Azure Pipelines badgeSteve Dower2018-09-241-10/+2
|
* bpo-34548: IDLE: use configured theme colors in TextView (GH-9008)Miss Islington (bot)2018-09-233-9/+12
| | | | | | https://bugs.python.org/issue34548 (cherry picked from commit c87d9f406bb23657c1b4cd63017bb7bd7693a1fb) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126) (GH-9506)Serhiy Storchaka2018-09-232-25/+32
| | | | | | | | Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code. (cherry picked from commit 4b860fd)
* [3.7] bpo-34670: Add TLS 1.3 post handshake auth (GH-9460) (GH-9505)Christian Heimes2018-09-239-15/+366
| | | | | | | | | | | | | | | | Add SSLContext.post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3 post-handshake authentication. Signed-off-by: Christian Heimes <christian@python.org>q https://bugs.python.org/issue34670. (cherry picked from commit 9fb051f032c36b9f6086b79086b4d6b7755a3d70) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34670
* bpo-34472: Add data descriptor signature to zipfile (GH-8871) (GH-9399)Miss Islington (bot)2018-09-223-2/+8
| | | | | | | This makes streamed zips compatible with MacOS Archive Utility and other applications. (cherry picked from commit 4ba3b50bfe6d50cd82d208023ea23e203ab50589) Co-authored-by: Silas Sewell <silas@sewell.org>
* [3.7] bpo-29577: Enum: mixin classes don't mix well with already mixed Enums ↵Ethan Furman2018-09-214-34/+229
| | | | | (GH-9328) (GH-9486) * bpo-29577: allow multiple mixin classes
* bpo-34759: Fix error handling in ssl 'unwrap()' (GH-9468)Miss Islington (bot)2018-09-212-2/+43
| | | | | | | | | | | | | | | | | OpenSSL follows the convention that whenever you call a function, it returns an error indicator value; and if this value is negative, then you need to go look at the actual error code to see what happened. Commit c6fd1c1c3a introduced a small mistake in _ssl__SSLSocket_shutdown_impl: instead of checking whether the error indicator was negative, it started checking whether the actual error code was negative, and it turns out that the error codes are never negative. So the effect was that 'unwrap()' lost the ability to raise SSL errors. https://bugs.python.org/issue34759 (cherry picked from commit c0da582b227f311126e278b5553a7fa89c79b054) Co-authored-by: Nathaniel J. Smith <njs@pobox.com>
* [3.7] bpo-34623: Mention CVE-2018-14647 in news entry (GH-9482) (GH-9488)Miss Islington (bot)2018-09-211-2/+2
| | | | | | | | | | https://bugs.python.org/issue34623 (cherry picked from commit 026337a7101369297c8083047d2f3c6fc9dd1e2b) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623
* bpo-34537: Fix test_gdb:test_strings with LC_ALL=C (GH-9483)Miss Islington (bot)2018-09-212-1/+16
| | | | | | | | | | | We cannot simply call locale.getpreferredencoding() here, as GDB might have been linked against a different version of Python with a different encoding and coercion policy with respect to PEP 538 and PEP 540. Thanks to Victor Stinner for a hint on how to fix this. (cherry picked from commit 7279b5125e7c5d84a473d250b27d353cb7f6628e) Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
* bpo-33649: Fix gather() docs; fix title; few other nits. (GH-9475) (GH-9481)Miss Islington (bot)2018-09-211-11/+15
| | | | | (cherry picked from commit db1a80e97aa7217c561fb3627f70be1882de9534) Co-authored-by: Yury Selivanov <yury@magic.io>
* Make docs of exitcode for subprocess.getstatusoutput more clear. (GH-9477)Miss Islington (bot)2018-09-211-2/+3
| | | | | | Make it more accurate and not limited to UNIX. (cherry picked from commit 7d161726e4ddd2b2cdd7ac58a7e9e9ea3f57a807) Co-authored-by: Xiang Zhang <angwerzx@126.com>
* bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473)Miss Islington (bot)2018-09-216-45/+106
| | | | | (cherry picked from commit 2ec872b31e25cee1f983fe07991fb53f3fd1cbac) Co-authored-by: Yury Selivanov <yury@magic.io>
* bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)Miss Islington (bot)2018-09-212-0/+2
| | | | | | There was a missing PyMem_Free(format) in time_strftime(). (cherry picked from commit 91e6c8717b7dcbcc46b189509de5f2d335819f37) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261)Miss Islington (bot)2018-09-201-31/+31
| | | | | (cherry picked from commit a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* Fixes tests requiring extra environment values on Windows (GH-9462)Steve Dower2018-09-207-91/+123
|
* bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426)Miss Islington (bot)2018-09-201-0/+6
| | | | | (cherry picked from commit b10a64d117de6121ea3e79c467c4107f8f399f3d) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-33649: More improvements (GH-9439)Miss Islington (bot)2018-09-202-47/+176
| | | | | (cherry picked from commit e247b46cba4f4d32ea96a15dbc36d73265171106) Co-authored-by: Yury Selivanov <yury@magic.io>
* bpo-32215: Fix performance regression in sqlite3 (GH-8511)Miss Islington (bot)2018-09-202-4/+6
| | | | | (cherry picked from commit 8d1e190fc507a9e304f6817e761e9f628a23cbd8) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-19756: Prevent test failures due to EADDRNOTAVAIL (GH-9446)Miss Islington (bot)2018-09-201-0/+3
| | | | | (cherry picked from commit 8213eaddf3ce8e87564d2949454903a1484748b5) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-34746: Fix stop -> close (GH-9437)Miss Islington (bot)2018-09-191-1/+1
| | | | | (cherry picked from commit ffef50f1f5907e5f0f175b12088d3e509011f126) Co-authored-by: Yury Selivanov <yury@magic.io>
* Enables test result collection for CI builds (GH-9433)Miss Islington (bot)2018-09-193-3/+30
| | | | | (cherry picked from commit fd54a45f7987d5b3343c74cb49a12bd39bdad5bc) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34733: Return of the docs search bar (GH-9431)Yury Selivanov2018-09-191-16/+108
| | | | Partially revert changes to Doc/tools/templates/layout.html accidentally committed in 512d7101098b971837cbb406942215244f636547.
* Ignores failure to update lists (GH-9424)Miss Islington (bot)2018-09-191-1/+1
| | | | | (cherry picked from commit 76531e2e82319a487d659bc469441bd4b8251608) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34712: Fix style in examples in "Input and Output" (GH-9361)Miss Islington (bot)2018-09-191-4/+7
| | | | | | | | | | | | A couple of fixes here to make this more PEP-8: * Avoid multiple statements on one line with `;` statement separator -- this is very rare in Python and is "generally discouraged" in PEP 8 (and if used, per PEP 8 there shouldn't be a space before the `;`) * Add output for the first "Formatted String Literals" example. (Side note: are the doctests for this being run? If so, why didn't it fail?) * Avoid space before `!r`. I have generally not seen spaces before the `!`, and this also matches the style used in the docs here: https://docs.python.org/3/library/string.htmlGH-format-string-syntax https://bugs.python.org/issue34712 (cherry picked from commit 3705b9862025705ea60041a9e310f99a164db722) Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
* Revert "[3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion ↵Victor Stinner2018-09-1915-224/+67
| | | | | off by default (GH-9379)" (GH-9416) This reverts commit 144f1e2c6f4a24bd288c045986842c65cc289684.
* bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403)Miss Islington (bot)2018-09-185-45/+148
| | | | | | Co-authored-by: Elvis Pranskevichus <elvis@magic.io> (cherry picked from commit 471503954a91d86cf04228c38134108c67a263b0) Co-authored-by: Yury Selivanov <yury@magic.io>
* bpo-34582: Adds JUnit XML output for regression tests (GH-9210)Miss Islington (bot)2018-09-1812-33/+329
| | | | | (cherry picked from commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146)Miss Islington (bot)2018-09-184-1/+15
| | | | | | | | | | | The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623 (cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-33649: Fix markup; add another note that asyncio.run is 3.7+ (GH-9389)Miss Islington (bot)2018-09-182-2/+3
| | | | | (cherry picked from commit b042cf10c6084d14279c55a7e0d2d7595ff4e694) Co-authored-by: Yury Selivanov <yury@magic.io>
* Fix syntax error on Asyncio example in doc (GH-9387) (GH-9388)Miss Islington (bot)2018-09-181-1/+1
| | | | | | The `gather` method requires to close the parenthesis, but it is being closed twice. (cherry picked from commit 9c53fa6ad9cd23fb03867b4a1f74264c426c1772) Co-authored-by: Miguel Ángel García <magmax@users.noreply.github.com>
* Change "set_after" reference to `say_after`. (GH-9384) (GH-9386)Miss Islington (bot)2018-09-181-1/+1
| | | | | (cherry picked from commit 7bfbda46f49c0b2c43e128835106cf13315b6ae8) Co-authored-by: Danny Hermes <daniel.j.hermes@gmail.com>
* bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380)Miss Islington (bot)2018-09-171-1/+5
| | | | | (cherry picked from commit ac94e38d076aebc56c2ff96a249b5e40f32633ea) Co-authored-by: Yury Selivanov <yury@magic.io>
* [3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by ↵Victor Stinner2018-09-1715-67/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default (GH-9379) * bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371) _PyCoreConfig: * Rename coerce_c_locale to _coerce_c_locale * Rename coerce_c_locale_warn to _coerce_c_locale_warn These fields are now private (name prefixed by "_"). (cherry picked from commit 188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27) * bpo-34589: C locale coercion off by default (GH-9073) Py_Initialize() and Py_Main() cannot enable the C locale coercion (PEP 538) anymore: it is always disabled. It can now only be enabled by the Python program ("python3). test_embed: get_filesystem_encoding() doesn't have to set PYTHONUTF8 nor PYTHONCOERCECLOCALE, these variables are already set in the parent. (cherry picked from commit 7a0791b6992d420dc52536257f2f093851ed7215) * bpo-34589: Add -X coerce_c_locale command line option (GH-9378) Add a new -X coerce_c_locale command line option to control C locale coercion (PEP 538). (cherry picked from commit dbdee0073cf0b88fe541980ace1f650900f455cc)
* bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377)Yury Selivanov2018-09-1721-3117/+4363
|
* bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370)Miss Islington (bot)2018-09-171-2/+3
| | | | | (cherry picked from commit c62ab2862db2382808bb2228760eebdda3f608bd) Co-authored-by: Yury Selivanov <yury@magic.io>
* bpo-34267: Update find_python.bat to use 3.7 if available (GH-8552)Miss Islington (bot)2018-09-171-2/+2
| | | | | (cherry picked from commit 6750922f8d3428d84a016c34d6fcd99659e8610c) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277)Miss Islington (bot)2018-09-172-27/+5
| | | | | | | | | | | | The test tries to fill the receiver's socket buffer and expects an error. But the RDS protocol doesn't require that. Moreover, the Linux implementation of RDS expects that the producer of the messages reduces its rate, it's not the role of the receiver to trigger an error. The test fails on Fedora 28 by design, so remove it. (cherry picked from commit 7484bdfd1e2e33fdd2c44dd4ffa044aacd495337) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158)Miss Islington (bot)2018-09-172-60/+69
| | | | | (cherry picked from commit c6fd1c1c3a65217958b68df3a4991e4f306e9b7d) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784)Miss Islington (bot)2018-09-171-26/+34
| | | | | (cherry picked from commit 5e99b56d6b249995a4fa2bc09c0bb03841f49572) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)Miss Islington (bot)2018-09-173-0/+38
| | | | | (cherry picked from commit 9bdb7be482aef8f60daa1d36606568a132dcb616) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34710: fix SSL module build (GH-9347)Miss Islington (bot)2018-09-172-0/+2
| | | | | | | | Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> (cherry picked from commit b3a271fc0ce3e13e427be8914decfc205a220ca8) Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113)Miss Islington (bot)2018-09-173-1/+28
| | | | | (cherry picked from commit e0e5065daef36dafe10a46eaa8b7800274d73062) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258)Miss Islington (bot)2018-09-157-6/+240
| | | | | (cherry picked from commit 7843caeb909bd907e903606414e238db4082315a) Co-authored-by: Vladimir Matveev <v2matveev@outlook.com>
* closes bpo-34515: Support non-ASCII identifiers in lib2to3. (GH-8950)Miss Islington (bot)2018-09-153-6/+16
| | | | | (cherry picked from commit 10a428b64b3f224e2ccd40ff2afb141b9b3425b1) Co-authored-by: Monson Shao <holymonson@gmail.com>
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Miss Islington (bot)2018-09-155-3/+37
| | | | | | (cherry picked from commit 2087023fdec2c89070bd14f384a3c308c548a94a) Co-authored-by: Tony Flury <anthony.flury@btinternet.com>
* Fix "Python" casing in a few places (GH-9001) (GH-9313)Miss Islington (bot)2018-09-1412-16/+16
| | | | | (cherry picked from commit 271818fe279df5ab292789f97c3a52c477bd8f13) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* closes bpo-28955: Clarified comparisons between NaN and number in reference ↵Miss Islington (bot)2018-09-141-6/+5
| | | | | | | | documentation (GH-5982) Co-authored-by: Benjamin Peterson <benjamin@python.org> (cherry picked from commit ad8a0004206ba7aec5a8a60fce413da718080db2) Co-authored-by: Tony Flury <anthony.flury@btinternet.com>
* bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are ↵Miss Islington (bot)2018-09-143-2/+118
| | | | | | | namedtuples. (GH-9151) (GH-9304) (cherry picked from commit 9b9d97dd139a799d28ff8bc90d118b1cac190b03) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
* Change the xkcd link in comment over https. (GH-9293)Miss Islington (bot)2018-09-141-1/+1
| | | | | (cherry picked from commit 83df50ea5757816c7338d27f21fd18b1e79206f7) Co-authored-by: 觉 <Xdminsy@users.noreply.github.com>