summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | [3.6] bpo-30085: Improve documentation for operator (GH-1171) (#3736)Miss Islington (bot)2017-09-242-3/+6
| | | | | | | | | | The dunderless functions are preferred; dunder are retained for back compatilibity. Patch by Sanket Dasgupta. (cherry picked from commit 5b9299d8c72aeadccadd77e4b8132094ba9a1f96)
* | [3.6] bpo-31566: Fix an assertion failure in _warnings.warn() in case of a ↵Miss Islington (bot)2017-09-243-3/+16
| | | | | | | | | | bad __name__ global. (GH-3717) (#3730) (cherry picked from commit 5d3e80021ab33360191eb0fbff34e0246c913884)
* | bpo-31570: Update Email library documentation example (GH-3720) (GH-3721)Miss Islington (bot)2017-09-241-1/+1
| | | | | | | | A `"` was missing from an `<a href>` tag. (cherry picked from commit 8337239d792bc2098c592def5fc3af84c3b0dfd1)
* | [3.6] bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). ↵Miss Islington (bot)2017-09-243-7/+23
| | | | | | | | | | | | | | (GH-3667) (#3719) Defer removing old behavior to 3.8. Document new feature of selection_set() and friends. (cherry picked from commit 2fad10235460ac394cc8b869c41f47aba3d63594)
* | bpo-31564: Update typing documentation (GH-3696) (GH-3715)Miss Islington (bot)2017-09-241-3/+9
| | | | | | | | Mention that ``NewType`` can derive from another ``NewType``. (cherry picked from commit 039b25d8fd21f8d5d9e3cb536402d952cf068dc1)
* | [3.6] bpo-25359: Add missed "goto error" after setting an exception. ↵Miss Islington (bot)2017-09-241-0/+1
| | | | | | | | | | (GH-3712) (#3714) (cherry picked from commit d6238a76c655e0feb13478505220dc9049f1682f)
* | [3.6] bpo-31459: Rename IDLE's module browser from Class Browser to Module ↵Miss Islington (bot)2017-09-237-37/+44
| | | | | | | | | | | | | | | | | | | | | | Browser. (GH-3704) (#3710) The original module-level class and method browser became a module browser, with the addition of module-level functions, years ago. Nested classes and functions were added yesterday. For back- compatibility, the virtual event <<open-class-browser>>, which appears on the Keys tab of the Settings dialog, is not changed. Patch by Cheryl Sabella. (cherry picked from commit cd99e79dc74c9d9dea83a5551d657c334b2cc6c9)
* | [3.6] bpo-31559: Remove test order dependence in idle_test.test_browser. ↵Miss Islington (bot)2017-09-232-17/+35
| | | | | | | | | | | | (GH-3708) (#3709) Order dependence caused leak-test buildbots to fail when running test_idle repeatedly. (cherry picked from commit 99167f85b7373c8082b30a74211f009627bdedfa)
* | [3.6] Docs: correct hashlib.blake2 keyed hashing example (bpo-31560)Miss Islington (bot)2017-09-232-8/+9
| | | | | | (cherry picked from commit aecc08ac3a14a73aa353655bb65ff8d965e935a0)
* | [3.6] bpo-1612262: IDLE: Class Browser shows nested functions, classes ↵Terry Jan Reedy2017-09-225-158/+732
| | | | | | | | | | | | | | | | | | | | (GH-2573) (#3702) Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively. (cherry picked from commit 058de11360ea6816a6e978c7be0bcbea99a3f7da)
* | [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)Zachary Ware2017-09-221-4/+8
| | | | | | | | Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`. (cherry picked from commit da9b4cfb488119f2493a762fcb1d85c58494f51d)
* | bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)Miss Islington (bot)2017-09-226-9/+46
| | | | | | | | | | | | | | | | Previously ensurepip would always report success, even if the pip installation failed. (cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1) * Update version changed notice for backport
* | [3.6] bpo-31500: IDLE: Scale default fonts on HiDPI displays. (GH-3639) (#3686)Terry Jan Reedy2017-09-214-0/+20
| | | | | | (cherry picked from commit a96c96f)
* | [3.6] closes bpo-31532: Fix memory corruption due to allocator mix (GH-3679) ↵Miss Islington (bot)2017-09-212-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (#3681) Fix a memory corruption in getpath.c due to mixed memory allocators between Py_GetPath() and Py_SetPath(). The fix use the Raw allocator to mimic the windows version. This patch should be used from python3.6 to the current version for more details, see the bug report and https://github.com/pyinstaller/pyinstaller/issues/2812 (cherry picked from commit 3d1e2ab584ed0175592b5be2a0bc98dc1723776a)
* | bpo-31533: fix broken link to OpenSSL docs (GH-3674) (GH-3675)Miss Islington (bot)2017-09-201-2/+2
| | | | | | (cherry picked from commit 19e4d9346db7fb65845b98a9cb9caacaaac8a81a)
* | [3.6] bpo-31500: Removed fixed size of IDLE config dialog. (GH-3664) (#3665)Miss Islington (bot)2017-09-191-1/+1
| | | | | | | | This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues. (cherry picked from commit d6e2f26f3f7c62a4ddbf668027d3ba27cb0e1eca)
* | bpo-31501: Operator precedence description for arithmetic operators ↵Miss Islington (bot)2017-09-191-2/+2
| | | | | | | | | | (GH-3633) (GH-3638) (cherry picked from commit 9b47af65375fab9318e88ccb061394a36c8c6c33)
* | Fix build issues in Doc/make.bat (#3663)Steve Dower2017-09-191-8/+10
| |
* | [3.6] bpo-31482: Missing bytes support for random.seed() version 1 ↵Miss Islington (bot)2017-09-193-2/+31
| | | | | | | | | | (GH-3614) (GH-3659) (cherry picked from commit 132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549)
* | [3.6] pythoninfo: ignore OSError(ENOSYS) on getrandom() (GH-3655) (#3657)Miss Islington (bot)2017-09-191-5/+12
| | | | | | (cherry picked from commit a92941ff12c1d554f42c05ed24621894a758b40f)
* | [3.6] bpo-31293: Fix crashes in truediv and mul of a timedelta by a float ↵Miss Islington (bot)2017-09-193-4/+55
| | | | | | | | | | with a bad as_integer_ratio() method. (GH-3227) (#3654) (cherry picked from commit 865e4b4f630e2ae91e61239258abb58b488f1d65)
* | [3.6] bpo-31315: Fix an assertion failure in imp.create_dynamic(), when ↵Miss Islington (bot)2017-09-193-0/+18
| | | | | | | | | | spec.name is not a string. (GH-3257) (#3653) (cherry picked from commit 9974e1bcf3d0cec9b38b39b39b7ec8a1ebd9ef54)
* | post 3.6.3rc1 developmentNed Deily2017-09-191-1/+1
| |
* | Merge tag 'v3.6.3rc1' into 3.6Ned Deily2017-09-19125-314/+1280
|\ \ | |/
| * Bump to 3.6.3rc1v3.6.3rc1Ned Deily2017-09-192-6/+6
| |
| * Update pydoc topics and NEWS blurbs for 3.6.3rc1Ned Deily2017-09-19123-308/+1274
|/
* [3.6] bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash (GH-3641) (#3645)Miss Islington (bot)2017-09-183-1/+26
| | | | | | | | | | * bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously by the garbage collector, because the parser was part of a reference cycle. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit e727d41ffcd91b21ce82026ec8c8381d34a16209)
* [3.6] bpo-30928: Update idlelib/NEWS.txt to 2017 Sep 17. (GH-3635) (#3637)Miss Islington (bot)2017-09-181-0/+19
| | | (cherry picked from commit 55679e0ec76ee3b30ca609948f47bb02a8e0a078)
* [3.6] bpo-31502: IDLE Configdialog again deletes custom themes and keysets. ↵Miss Islington (bot)2017-09-181-2/+2
| | | | | | (GH-3634) (#3636) This reverses a never-released regression resulting from bpo-31287. (cherry picked from commit 0efc7c67a2f8a184e93f9a491305c81ef2e24250)
* bpo-31487: Update F-strings doc example (GH-3627) (GH-3628)Miss Islington (bot)2017-09-171-1/+1
| | | | Shorten the comment to: "using integer format specifier" (cherry picked from commit 63c591c0b0b57870a606e8edc59afe6264e7504d)
* [3.6] bpo-31493: Fix code context update and font update timers. (GH-3622) ↵Miss Islington (bot)2017-09-172-26/+29
| | | | | | | (#3623) Canceling timers prevents a warning message when test_idle completes. (This is the minimum fix needed before upcoming releases.) (cherry picked from commit a6bb313c70f8619e6dc4af5cef7d73fa3bbd59ca)
* bpo-31487: Improve f-strings documentation (GH-3604) (GH-3619)Miss Islington (bot)2017-09-161-0/+6
| | | | | Provide additional examples of using format specifiers in f-strings Added examples for using integer and date format specifiers. (cherry picked from commit f3618970690b08ed88e430ba8017859b4fafc3f9)
* bpo-31458: Clarify that Changelog is built from Misc/NEWS.d directory ↵Miss Islington (bot)2017-09-161-2/+4
| | | | | (GH-3617) (GH-3618) (cherry picked from commit 0ec8c4bd10dcfd8e580628868efdd3df91038898)
* bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3607)Michael Seifert2017-09-162-15/+40
| | | (cherry picked from commit da67e0d644bd3185efdaa4d15cc2ac0828ca83f9)
* [3.6] bpo-31488: IDLE - update former extensions when options change. ↵Miss Islington (bot)2017-09-164-25/+32
| | | | | | | (GH-3612) (#3613) When apply ConfigDialog changes, call .reload on each class with non-key options. Change ParenMatch so that updates affect current instances. (cherry picked from commit 5777ecc438790f3d324d52f2ccdad56e667e0cb3)
* [3.6] bpo-31234: Join threads in tests (#3589)Victor Stinner2017-09-157-37/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-31234: Join threads in tests (#3572) Call thread.join() on threads to prevent the "dangling threads" warning. (cherry picked from commit 18e95b4176256f100429a806d0455406df98f984) * bpo-31234: Join threads in test_hashlib (#3573) * bpo-31234: Join threads in test_hashlib Use thread.join() to wait until the parallel hash tasks complete rather than using events. Calling thread.join() prevent "dangling thread" warnings. * test_hashlib: minor PEP 8 coding style fixes (cherry picked from commit 8dcf22f442320e4c1a5408e67b4c9002ad105f17) * bpo-31234: Join threads in test_threading (#3579) Call thread.join() to prevent the "dangling thread" warning. (cherry picked from commit b8c7be2c523b012e57915182543d06657161057f) * bpo-31234: Join threads in test_queue (#3586) Call thread.join() to prevent the "dangling thread" warning. (cherry picked from commit 167cbde50a88ec2a7d26b2cb9891d5e32bdfbfb5) * bpo-31234: Join timers in test_threading (#3598) Call the .join() method of threading.Timer timers to prevent the "threading_cleanup() failed to cleanup 1 threads" warning. (cherry picked from commit da3e5cf961f9bcc4bb376386cfe7a2865325086c)
* [3.6] bpo-314777: IDLE - improve rstrip entry in doc (GH-3602) (#3605)Terry Jan Reedy2017-09-153-3/+9
| | | | | 'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who do know know the meaning of 'whitespace'. Multiline string literals are not skipped. (cherry picked from commit ff70289)
* [3.6] bpo-31462: IDLE - remove trailing whitespaces (GH-3564) (#3594)Terry Jan Reedy2017-09-153-31/+31
| | | Reproduction of Idlelib changes in Serhiy's 3.7 patch.
* [3.6] bpo-31480: IDLE - fix tests to pass with zzdummy extension disabled. ↵Miss Islington (bot)2017-09-154-45/+41
| | | | | | (GH-3590) (#3591) Enabled by default was a temporary expedient. The fix is to add a user override to enable. (cherry picked from commit d384a81f557dab0b142bfcc9850bc68df46496ef)
* [3.6] bpo-31455: Fix an assertion failure in ElementTree.XMLParser(). ↵Miss Islington (bot)2017-09-143-2/+60
| | | | | | | | (GH-3545) (#3585) * Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. * Ignore only AttributeError on attribute lookups in ElementTree.XMLParser() and propagate all other exceptions. (cherry picked from commit c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf)
* [3.6] bpo-28556: typing.get_type_hints: better globalns for classes and ↵Miss Islington (bot)2017-09-144-22/+96
| | | | | | | | | | | | | | | | modules (GH-3582) (#3583) This makes the default behavior (without specifying `globalns` manually) more predictable for users, finds the right globalns automatically. Implementation for classes assumes has a `__module__` attribute and that module is present in `sys.modules`. It does this recursively for all bases in the MRO. For modules, the implementation just uses their `__dict__` directly. This is backwards compatible, will just raise fewer exceptions in naive user code. Originally implemented and reviewed at https://github.com/python/typing/pull/470. (cherry picked from commit f350a268a7071ce7d7a5bb86a9b1229782d4963b)
* [3.6] bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in ↵Miss Islington (bot)2017-09-143-1/+16
| | | | | case env has a bad keys() method. (GH-3580) (#3584) (cherry picked from commit 0b3a87ef54a0112b74e8a1d8c6f87d10db4239ab)
* [3.6] bpo-31457: Allow for nested LoggerAdapter objects (GH-3551) (#3576)Miss Islington (bot)2017-09-143-0/+33
| | | | | | | Some of the proxied methods use internal Logger state which isn't proxied, causing failures if an adapter is applied to another adapter. This commit fixes the issue, adds a new test for the use case. (cherry picked from commit 1bbd482bcf6ea36bfe488f868810ffe110238ae1)
* Improve code examples in hashlib cookie signing (GH-3562) (GH-3566)Miss Islington (bot)2017-09-141-3/+4
| | | | | | The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest (cherry picked from commit 312ffead1eb272535e021e248b5d74ab04b2e72e)
* [3.6] _ssl_: Fix compiler warning (GH-3559) (#3569)Christian Heimes2017-09-141-0/+6
| | | | | | | | Cast Py_buffer.len (Py_ssize_t, signed) to size_t (unsigned) to prevent the following warning: Modules/_ssl.c:3089:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]. (cherry picked from commit 5a61559fb0776a9a0f08294ec9003cea13940430)
* [3.6] bpo-31418: Fix an assertion failure in PyErr_WriteUnraisable() in case ↵Miss Islington (bot)2017-09-142-1/+3
| | | | | of an exception with a bad __module__ attribute. (GH-3539) (#3556) (cherry picked from commit f6e61df01536493f1280cd07639c7ff9bffb2cdc)
* [3.6] bpo-30246: fix several error messages which only mention bytes in ↵Xiang Zhang2017-09-141-4/+5
| | | | struct (#3561)
* [3.6] bpo-31458: Update Misc/NEWS link in What's New page (GH-3555) (GH-3560)Mariatta2017-09-142-2/+2
| | | | Update the link from Misc/NEWS to Misc/NEWS.d (cherry picked from commit 1b8f612e1800b6e58472113f4abe8ee7c31f4db7)
* [3.6] bpo-28556: Minor updates to typing module (GH-3550) (#3558)Miss Islington (bot)2017-09-143-50/+38
| | | | | * Copy changes to typing from upstream repo * Add NEWS entry (cherry picked from commit 65bc62052fe5d550cb14c0033e8a2550618fb7b9)
* [3.6] bpo-31234: Fix dangling thread in test_ftp/poplib (#3554)Victor Stinner2017-09-132-1/+17
| | | | | | | | | | | | | | | * bpo-31234: Fix dangling thread in test_ftp/poplib (#3540) Explicitly clear the server attribute in test_ftplib and test_poplib to prevent dangling thread. (cherry picked from commit d403a29c0055de6b03ed5ae7a5c564e1c95a5950) * bpo-31234: Fix dangling thread in test_ftplib (#3544) Clear also self.server_thread attribute in TestTimeouts.tearDown(). (cherry picked from commit b157ce1e58b03988ce4340a55d0b856125833cc5)