summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.6] bpo-30928: Update idlelib/NEWS.txt to 2017-09-11. (GH-3503) (#3504)Miss Islington (bot)2017-09-111-0/+46
| | | (cherry picked from commit 8239fd704637d7cbf59273883fbe487fc0f568fc)
* [3.6] bpo-31414: IDLE -- fix tk entry box tests by deleting first. (GH-3501) ↵Miss Islington (bot)2017-09-112-11/+19
| | | | | | | (#3502) Adding to an int entry is not the same as deleting and inserting because int('') will fail. (cherry picked from commit 667522efa8fedfb57fd89d7335d7dfd270f274d5)
* [3.6] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry ↵Serhiy Storchaka2017-09-113-1/+20
| | | | | is not a dictionary. (GH-3485). (#3494) (cherry picked from commit 252033d50effa08046ac34fcc406bc99796ab88b)
* [3.6] bpo-29526: Add reference to help('FORMATTING') in format() builtin ↵Serhiy Storchaka2017-09-112-4/+8
| | | | | (GH-166). (#3491) (cherry picked from commit 2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0)
* [3.6] bpo-30781: IDLE: Fix help button on configdialog (GH-3238) (#3489)Miss Islington (bot)2017-09-111-3/+3
| | | | | This fixes an omission in the ttk conversion patch for this issue, hence no new news. Patch by Cheryl Sabella. (cherry picked from commit 3866d9bbcf808cea98b3d00007f9f246b83858ce)
* Backport docstring improvements to OrderedDict. (GH-3470)Henk-Jaap Wagenaar2017-09-112-6/+8
|
* [3.6] bpo-27099: IDLE - Convert built-in extensions to regular features ↵Terry Jan Reedy2017-09-1121-272/+451
| | | | | | | | | | | | | | | | | | | | | | | (GH-2494) (#3487) About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy. (cherry picked from commit 58fc71c)
* bpo-29136: Fix versionchange for TLS 1.3 changes (#3483)Christian Heimes2017-09-101-3/+3
| | | | | Thanks Arfrever! Signed-off-by: Christian Heimes <christian@python.org>
* [3.6] bpo-31406: Fix crash due to lack of type checking in subclassing. ↵Miss Islington (bot)2017-09-101-5/+14
| | | | | (GH-3477) (#3479) (cherry picked from commit 3cedf46cdbeefc019f4a672c1104f3d5e94712bd)
* [3.6] Improve IncrementalEncoder documentation (GH-2746) (GH-3475)Miss Islington (bot)2017-09-101-9/+9
| | | | getstate and setstate are instance methods, same as encode and reset. (cherry picked from commit 30644dee0c14af6c1c61d44166a97cec8245300b)
* [3.6] Clarify nature of parse_args 'args' argument. (GH-3292) (GH-3325)R. David Murray2017-09-101-3/+15
| | | | | Patch by Paul.j3. Includes an unrelated but useful addition to the optparse porting section. (cherry picked from commit 0c7983e4adf9604d0ac93757a45d14be06c27696)
* [3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)Miss Islington (bot)2017-09-091-1/+1
| | | (cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)
* [3.6] bpo-31400: Improve SSL error handling on Windows (GH-3463) (#3466)Christian Heimes2017-09-092-10/+48
| | | | | | * bpo-31392: Improve SSL error handling on Windows * Remove unnecessary Windows mention in NEWS. (cherry picked from commit e6eb48c10dc389d1d70657593de6a6cb3087d3d1)
* [3.6] bpo-26669: Fix nan arg value error in pytime.c (GH-3085) (GH-3467) Miss Islington (bot)2017-09-092-0/+43
| | | | | | * Modify NaN check function and error message * Fix pytime.c when arg is nan * fix whitespace (cherry picked from commit 829dacce4fca60fc3c3367980e75e21dfcdbe6be)
* [3.6] bpo-30822: Deduplicate ZoneInfoTest classes in test_datetime. ↵Miss Islington (bot)2017-09-081-0/+1
| | | | | (GH-2534) (#3405) (cherry picked from commit 34b54873b51a1ebee2a3c57b7205537b4f33128d)
* [3.6] Fixes reference leak (GH-3457) (#3460)Miss Islington (bot)2017-09-081-1/+9
| | | (cherry picked from commit af8d6b90723daa943c5cd0a38ee7564790d8687a)
* [3.6] bpo-31393: Fix the use of PyUnicode_READY(). (GH-3451). (#3453)Serhiy Storchaka2017-09-085-15/+30
| | | (cherry picked from commit e3b2b4b8d9e751b49e3550cb83ba39b54fdc377c)
* [3.6] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3444)Christian Heimes2017-09-085-3/+79
| | | | | | | | | | | | | | | | * bpo-29136: Add TLS 1.3 support TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3 cipher suites don't overlap with cipher suites from TLS 1.2 and earlier. Since Python sets its own set of permitted ciphers, TLS 1.3 handshake will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common AES-GCM and ChaCha20 suites. Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3 now. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit cb5b68abdeb1b1d56c581d5b4d647018703d61e3)
* [3.6] bpo-30640: Fix undefined behavior in _PyFunction_FastCallDict() and ↵Zackery Spytz2017-09-081-2/+3
| | | | | | PyEval_EvalCodeEx() (GH-2919) (#2964) k + 1 was calculated with k = NULL.. (cherry picked from commit c6ea8974e2d939223bfd6d64ee13ec89c090d2e0)
* [3.6] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) ↵Miss Islington (bot)2017-09-083-26/+38
| | | | | | (#3441) Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target. (cherry picked from commit 590665c399fc4aa3c4a9f8e7104d43a02e9f3a0c)
* [3.6] bpo-27340: Use memoryview in SSLSocket.sendall() (GH-3384) (#3434)Christian Heimes2017-09-073-5/+19
| | | | | | | | | | | | | | * bpo-27340: Use memoryview in SSLSocket.sendall() SSLSocket.sendall() now uses memoryview to create slices of data. This fix support for all bytes-like object. It is also more efficient and avoids costly copies. Signed-off-by: Christian Heimes <christian@python.org> * Cast view to bytes, fix typo Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 888bbdc192ec4db888a294ef758cf5510442dc9a)
* [3.6] bpo-28958: Improve SSLContext error reporting. (GH-3414) (#3432)Christian Heimes2017-09-072-2/+3
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 17c9ac9)
* [3.6] bpo-22635: Update the getstatusoutput docstring. (GH-3435) (#3439)Miss Islington (bot)2017-09-071-7/+9
| | | | | | To match the documentation updates already made. Also renames the local variable used within to match what it actually holds. (cherry picked from commit 2eb0cb4787d02d995a9bb6dc075983792c12835c)
* [3.6] bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples ↵Miss Islington (bot)2017-09-073-8/+11
| | | | | | | | | | (GH-3229) (#3430) * Fix ZeroMQSocketListener and ZeroMQSocketHandler examples * Use send_json and recv_json to simplify pyzmq interfacing * Add News entry (cherry picked from commit 586c0502b5eb9a39cabe0bc2707a8ff63114265c)
* [3.6] bpo-31330: Clarify that RawTextHelpFormatter collapses repeated ↵Miss Islington (bot)2017-09-071-1/+3
| | | | | | newlines. (GH-3272) (GH-3429) Also provide a solution if the user wants to keep multiple blank lines. (cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
* [3.6] bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler GH-1632 ↵Steve Dower2017-09-0714-32/+1189
| | | | (#3425)
* [3.6] fixes bpo-31373: fix undefined floating-point demotions (GH-3396) (#3424)Miss Islington (bot)2017-09-075-31/+52
| | | (cherry picked from commit a853a8ba7850381d49b284295dd6f0dc491dbe44)
* [3.6] bpo-30096: Use ABC in abc reference examples (GH-1220) (GH-3408)Miss Islington (bot)2017-09-071-24/+39
| | | | Use base class rather than metaclass in examples. (cherry picked from commit 122e88a8354e3f75aeaf6211232dac88ac296d54)
* [3.6] Update multissl test helper (GH-3349) (#3415)Christian Heimes2017-09-073-241/+437
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit d3b9f97)
* Add props file for nuget packages (#3410) (#3413)Steve Dower2017-09-075-6/+80
|
* Link to generated changelog, not website.Ned Deily2017-09-071-3/+2
|
* [3.6] bpo-22635: subprocess.getstatusoutput doc update. (GH-3398) (#3411)Miss Islington (bot)2017-09-071-7/+12
| | | | | | The `subprocess.getstatusoutput` API was inadvertently changed in Python 3.3.4. Document the change, it is too late to undo the API change now as it has shipped in many stable releases. (cherry picked from commit 738b7d9766e1a794aaaabfba0d515a467ba833ca)
* bpo-30465: Fix lineno and col_offset in fstring AST nodes (GH-1800) (gh-3409)Miss Islington (bot)2017-09-073-5/+318
| | | | For f-string ast nodes, fix the line and columns so that tools such as flake8 can identify them correctly. (cherry picked from commit e7c566caf177afe43b57f0b2723e723d880368e8)
* [3.6] Update `make patchcheck` for blurb and NEWS.d (GH-3406)Miss Islington (bot)2017-09-071-5/+5
| | | (cherry picked from commit 1ba9469e9fdff0c52ba19b1e13a9c4b7235fc9eb)
* [3.6] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3399)Miss Islington (bot)2017-09-072-0/+7
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
* [3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401)Miss Islington (bot)2017-09-071-0/+1
| | | (cherry picked from commit 8204b903683f9e0f037ccfaa87622716019914d7)
* [3.6] bpo-31340: Change to building with MSVC v141 (included with Visual ↵Steve Dower2017-09-0612-31/+122
| | | | Studio 2017) (GH-3311) (#3386)
* [3.6] Fixes Tix build by correcting the directories used by Tcl and Tk. ↵Miss Islington (bot)2017-09-063-2/+3
| | | | (GH-3391) (#3392)
* [3.6] bpo-30737: Update DevGuide links to new URL (GH-3228) (GH-3390)Miss Islington (bot)2017-09-0614-21/+22
| | | | Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org (cherry picked from commit 384899dfaeb83db38a6d3846d3cbc2f58a6605cd)
* [3.6] bpo-31178: Avoid concatenating bytes with str in subprocess error ↵Gregory P. Smith2017-09-063-3/+54
| | | | | | (GH-3066) (#3388) Avoid concatenating bytes with str in the typically rare subprocess error path (exec failed). Includes a mock based unittest to exercise the codepath. (cherry picked from commit 3fc499bca18454b9f432b9b0106cab662bfeb549)
* [3.6] Stop test_xmlrpc from writing to sys.stderr (GH-3359) (#3380)Miss Islington (bot)2017-09-061-0/+4
| | | | | | | | | One test case of test_xmlrpc uses HTTPServer with a subclass of BaseHTTPRequestHandler. The BaseRequestHandler class logs to sys.stderr by default. Override log_message() to not clobber test output. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 3463ee3972e0d14351ee18bce60ecfbf7ac96772)
* [3.6] bpo-29781: Fix SSLObject.version before handshake (GH-3364) (#3381)Christian Heimes2017-09-063-0/+8
| | | | | | | SSLObject.version() now correctly returns None when handshake over BIO has not been performed yet. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 6877111)
* [3.6] _pickle: Fix whichmodule() (GH-3358) (#3361)Christian Heimes2017-09-061-1/+1
| | | | | | | _PyUnicode_FromId() can return NULL: replace Py_INCREF() with Py_XINCREF(). Fix coverity report: CID 1417269. (cherry picked from commit af46eb8)
* bpo-31350: Optimize get_event_loop and _get_running_loop (GH-3347) (GH-3373)Miss Islington (bot)2017-09-062-6/+5
| | | | | | | | | | | | | | | | * call remove_done_callback in finally section * Optimize get_event_loop and _get_running_loop * rename _loop_pid as loop_pid and add blurb news * rename _loop_pid as loop_pid and add blurb news * add back _RunningLoop * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst (cherry picked from commit 80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626)
* bpo-31355: Travis CI: remove the macOS job (#3367)Victor Stinner2017-09-061-9/+0
|
* [3.6] bpo-30662: fixed OrderedDict.__init__ docstring re PEP 468 (GH-2179) ↵Mariatta2017-09-062-5/+2
| | | | | | | | | | | | | | (GH-3370) * fixed OrderedDict.__init__ docstring re PEP 468 * tightened comment and mirrored to C impl * added space after period per marco-buttu * preserved substituted for stable * drop references to Python 3.6 and PEP 468 (cherry picked from commit faa57cbe7074b26807cd7ed89a7b173b5cbf3086)
* [3.6] bpo-31320: No traceback to sys.stderr in test_ssl (GH-3360) (GH-3369)Miss Islington (bot)2017-09-062-1/+5
| | | | | | | | In case PROTOCOL_TLS_SERVER is used for both client context and server context, the test thread dies with OSError. Catch OSError to avoid traceback on sys.stderr Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 305e56c27afce605e5d2f71903a966cf0bb95038)
* [3.6] Cache externals, depending on changes to PCbuild (GH-3308) (#3366)Zachary Ware2017-09-061-0/+2
| | | (cherry picked from commit f801322e92384ef3eac2a9b7ac2c49d37102d0f3)
* [3.6] link to legacy doc on the non-legacy website (GH-3362) (#3368)Benjamin Peterson2017-09-062-2/+2
| | | (cherry picked from commit 60dbed18509f99af8eaa685d9736f954b8d621fb)
* bpo-30442: Skips refcount test in test_xml_etree under coverage (#1767) (#3363)Victor Stinner2017-09-061-0/+1
| | | (cherry picked from commit 1de4705d00168afa8c5b6741af02e21fc609af58)