summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)Zachary Ware2017-10-031-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)
| * Fix build issues in Doc/make.bat (#3663)Steve Dower2017-10-031-8/+10
| |
* | [3.6] bpo-31662: Fix typos in uploadrelease.bat script (#3858)Miss Islington (bot)2017-10-021-3/+3
| | | | | | (cherry picked from commit efb560eee28b6b2418e1231573ca62574d6dc07b)
* | [3.6] bpo-31516: current_thread() should not return a dummy thread at ↵Miss Islington (bot)2017-10-023-2/+31
| | | | | | | | | | | | shutdown (GH-3673) (#3856) bpo-31516: current_thread() should not return a dummy thread at shutdown (cherry picked from commit 1023dbbcb7f05e76053486ae7ef7f73b4cdc5398)
* | [3.6] bpo-31158: Fix nondeterministic read in test_pty (GH-3808) (GH-3852)Miss Islington (bot)2017-10-021-2/+19
| | | | | | (cherry picked from commit e6f62f69f07892b993910ff03c9db3ffa5cb9ca5)
* | [3.6] IDLE: make filetypes a tuple constant. (GH-3847) (#3848)Terry Jan Reedy2017-10-011-2/+2
| | | | | | | | Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call. (cherry picked from commit 5961e7c156f90c7f9444ae95b9d3e55114ca2169)
* | [3.6] bpo-31460: Simplify the API of IDLE's Module Browser. (GH-3842) (#3843)Terry Jan Reedy2017-10-014-47/+42
| | | | | | | | | | | | | | Passing a widget instead of an flist with a root widget opens the option of creating a browser frame that is only part of a window. Passing a full file name instead of pieces assumed to come from a .py file opens the possibility of browsing python files that do not end in .py. (cherry picked from commit d6bb65f)
* | [3.6] bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. ↵Terry Jan Reedy2017-09-307-6/+7
| | | | | | | | | | (GH-3839) (#3841) (cherry picked from commit bfebfd8)
* | [3.6] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) ↵Miss Islington (bot)2017-09-301-1/+1
| | | | | | | | | | (#3837) (cherry picked from commit f4ea642cb60556231e714089a79d3c59c202661e)
* | [3.6] bpo-31592: Fix an assertion failure in Python parser in case of a bad ↵Miss Islington (bot)2017-09-303-12/+28
| | | | | | | | | | unicodedata.normalize(). (GH-3767) (#3836) (cherry picked from commit 7dc46d8cf5854d9f4ce3271b29c21aea4872e8ad)
* | [3.6] bpo-31641: Allow arbitrary iterables in ↵Miss Islington (bot)2017-09-292-3/+6
| | | | | | | | | | | | | | | | `concurrent.futures.as_completed()` (GH-3830) (#3831) This was possible before. GH-1560 introduced a regression after 3.6.2 got released where only sequences were accepted now. This commit addresses this problem. (cherry picked from commit 574562c5ddb2f0429aab9af762442e6f9a3f26ab)
* | [3.6] bpo-31285: Remove splitlines identifier from Python/_warnings.c ↵Miss Islington (bot)2017-09-291-3/+0
| | | | | | | | | | | | (GH-3803) (#3829) (forgot to remove it in GH-3219) (cherry picked from commit 8b4ff53c440dfcde40fbeb02c5e666c85190528f)
* | [3.6] bpo-25351: avoid activate failure on strict shells (GH-3804) (#3820)Miss Islington (bot)2017-09-292-13/+14
| | | | | | (cherry picked from commit 90f1d989594f3340c5ffaa2cf9cef1876ac6bb89)
* | bpo-31621: Fix typo in Simple Statements documentation (GH-3809) (GH-3810)Miss Islington (bot)2017-09-281-1/+1
| | | | | | | | Replace "restriction" with "restrictions". (cherry picked from commit 8d59aca4a953b097a9b02b0ecafef840e4ac5855)
* | bpo-28129: fix ctypes crashes (#386) (#3799)Victor Stinner2017-09-287-9/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | * init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy * added the rest of tests and patches. probably only a first draft. * removed trailing spaces * replace ctype with ctypes in error messages * change back from ctypes instance to ctype instance (cherry picked from commit 1bea762d9ec823544c530d567330a47f64d93d4f)
* | [3.6] bpo-31536: Avoid wholesale rebuild after `make regen-all` (GH-3678) ↵Miss Islington (bot)2017-09-284-51/+86
| | | | | | | | | | | | (#3797) bpo-31536: Avoid wholesale rebuild after `make regen-all`
* | [3.6] bpo-31478: Fix an assertion failure in random.seed() in case a seed ↵Serhiy Storchaka2017-09-283-2/+18
| | | | | | | | | | has a bad __abs__() method. (GH-3596) (#3794) (cherry picked from commit d780b2d588e68bd7047ef5d1f04e36da38b7a350)
* | [3.6] closes bpo-22140: Prevent double substitution of prefix in ↵Benjamin Peterson2017-09-282-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-config.sh (GH-3769) (#3793) Fix the logic in python-config.sh to avoid attempting to substitute prefix in a variable that might have already been subject to substitution. This e.g. happened if @exec_prefix@ was defined as "${prefix}" (which is the default of the configure script) -- in which case the exec_prefix_build variable was initialized with already-subtituted prefix, and then another round of substitution was performed which might have resulted in duplicate prefix. To avoid that, rename the variables so that the variables matching likely configure names (prefix, exec_prefix) retain their original values and a '_real' suffix is used for the real values of prefix. Furthermore, replace the unnecessary prefix and exec_prefix substitutions with direct prefix_real references since the sed always replaced the whole string anyway by design. (cherry picked from commit 14086cfc5eed8c5e78342d79e5db87a135d75fa8)
* | [3.6] bpo-31588: Validate return value of __prepare__() methods (GH-3790)Miss Islington (bot)2017-09-273-0/+31
| | | | | | | | | | | | | | | | | | | | | | Class execution requires that __prepare__() methods return a proper execution namespace. Check for that immediately after calling __prepare__(), rather than passing it through to the code execution machinery and potentially triggering SystemError (in debug builds) or a cryptic TypeError (in release builds). Patch by Oren Milman. (cherry picked from commit 5837d0418f47933b2e3c139bdee8a79c248a943c)
* | bpo-31593: test_socketserver waits child processes (#3766)Victor Stinner2017-09-271-10/+22
| |
* | [3.6] bpo-25532: Protect against infinite loops in inspect.unwrap() ↵Serhiy Storchaka2017-09-273-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | (GH-1717) (#3778) Some objects (like test mocks) auto-generate new objects on attribute access, which can lead to an infinite loop in inspect.unwrap(). Ensuring references are retained to otherwise temporary objects and capping the size of the memo dict turns this case into a conventional exception instead.. (cherry picked from commit f9169ce6b48c7cc7cc62d9eb5e4ee1ac7066d14b)
* | [3.6] point to the module-level get_ident function rather than the one in ↵Miss Islington (bot)2017-09-271-4/+4
| | | | | | | | | | _thread (GH-3782) (#3783) (cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
* | [3.6] bpo-31505: Fix an assertion failure in json, in case ↵Miss Islington (bot)2017-09-273-3/+36
| | | | | | | | | | _json.make_encoder() received a bad encoder() argument. (GH-3643) (#3777) (cherry picked from commit 2b382dd6121bb1e4b75470fb3ef8555665df3eb6)
* | [3.6] bpo-31285: Fix an assertion failure and a SystemError in ↵Serhiy Storchaka2017-09-273-3/+40
| | | | | | | | | | warnings.warn_explicit. (GH-3219) (#3775) (cherry picked from commit 91fb0afe181986b48abfc6092dcca912b39de51d)
* | [3.6] bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ ↵Miss Islington (bot)2017-09-273-1/+25
| | | | | | | | | | attr is defined only outside _fields_. (GH-3615) (#3774) (cherry picked from commit 30b61b51e05d2d43e8e2e783b0a9df738535423b)
* | [3.6] bpo-31492: Fix assertion failures in case of a module with a bad ↵Serhiy Storchaka2017-09-274-4/+20
| | | | | | | | | | __name__ attribute. (GH-3620). (#3773) (cherry picked from commit 6db7033192cd537ca987a65971acb01206c3ba82)
* | [3.6] bpo-31586: Use _count_element fast path for real dicts. (#3776)Miss Islington (bot)2017-09-271-1/+3
| | | | | | (cherry picked from commit 31aca4bf79217e6ec4c1d056d3ad7ed4dd469c78)
* | [3.6] bpo-30347: Stop crashes when concurrently iterate over ↵Miss Islington (bot)2017-09-263-36/+56
| | | | | | | | | | itertools.groupby() iterators. (GH-1557) (#3770) (cherry picked from commit c740e4fe8a9bc5815dc18c38d7f7600b128c3c51)
* | [3.6] bpo-31579: Fixed a possible leak in enumerate() with large indices. ↵Serhiy Storchaka2017-09-261-3/+9
| | | | | | | | | | (GH-3753). (#3760) (cherry picked from commit 0e950dd22b075b4809c84afda8aede02b76ac0fa)
* | bpo-31571: Remove duplicated info in Lexical Analysis documentation ↵Miss Islington (bot)2017-09-251-7/+0
| | | | | | | | | | | | | | (GH-3691) (GH-3754) - Remove the second mention about the `u` prefix - Remove the second mention about numeric literals do not include a sign (cherry picked from commit 4a2d00cb4525fcb3209f04531472ba6a359ed418)
* | bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) (#3746)Victor Stinner2017-09-252-0/+34
| | | | | | | | | | Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug. (cherry picked from commit e6d9fcbb8d0c325e57df08ae8781aafedb71eca2)
* | [3.6] bpo-31311: Fix a SystemError and a crash in ↵Miss Islington (bot)2017-09-253-0/+33
| | | | | | | | | | ctypes._CData.__setstate__(), in case of a bad __dict__. (GH-3254) (#3743) (cherry picked from commit 57c2561c8c5663aef55b00e3f29cba575ff36ccd)
* | [3.6] bpo-27385: Clarify docstring for groupby() (GH-3738) (#3744)Miss Islington (bot)2017-09-252-3/+4
| | | | | | (cherry picked from commit 49392c63a243052c8013bef80d35202bb6d7c404)
* | [3.6] bpo-23702: Update Descriptor-HOWTO to reflect the removal of unbound ↵Miss Islington (bot)2017-09-251-23/+33
| | | | | | | | | | methods (GH-3739) (#3742) (cherry picked from commit 0d4497b9cae7942b7f731a6f99a73985c3fb4630)
* | [3.6] bpo-18558: Clarify glossary entry for "Iterable" (GH-3732) (#3741)Miss Islington (bot)2017-09-252-2/+10
| | | | | | (cherry picked from commit 0bf287b6e0a42877b06cbea5d0fe6474d8061caa)
* | [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)