summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-31178: Mock os.waitpid() in test_subprocess (GH-3896) (#3897)3.6Miss Islington (bot)2017-10-051-4/+8
| | | | | | | Fix test_exception_errpipe_bad_data() and test_exception_errpipe_normal() of test_subprocess: mock os.waitpid() to avoid calling the real os.waitpid(0, 0) which is an unexpected side effect of the test. (cherry picked from commit 11045c9d8a21dd9bd182a3939189db02815f9783)
* [3.6] bpo-30872: Update the curses docs to Python 3. (GH-2620) (#3887)Serhiy Storchaka2017-10-053-109/+115
| | | (cherry picked from commit 300dd552b15825abfe0e367ac14cec4c3e050dbc)
* [3.6] bpo-31667: Fix gettext related links. (GH-3860) (#3886)Miss Islington (bot)2017-10-042-9/+15
| | | | | | | * Fix incorrect links. * Remove redundant links. * Add signatures and index entries for gettext related functions in the locale module. (cherry picked from commit c02a1f4ad8fcdbffad2911c5a31c71a17a89d713)
* Remove retired and security branches from active docs (#3880)Ned Deily2017-10-042-4/+0
|
* [3.6] bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and ↵Miss Islington (bot)2017-10-033-23/+45
| | | | | | | | split() (GH-3866) (#3874) when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. (cherry picked from commit 27c623c845dd6e4b8e1782666ca3a956636da266)
* [3.6] bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). ↵Serhiy Storchaka2017-10-033-13/+14
| | | | | (GH-3864). (#3873) (cherry picked from commit 929b40a601db868530d6beaafb3256822103a7fb)
* [3.6] bpo-31619: Fixed a ValueError when convert a string with large number ↵Miss Islington (bot)2017-10-033-4/+14
| | | | | | of underscores (GH-3827) (#3863) to integer with binary base. (cherry picked from commit 85c0b8941f0c8ef3ed787c9d504712c6ad3eb5d3)
* Bump version to 3.6.3+Ned Deily2017-10-031-1/+1
|
* Merge v3.6.3 into 3.6 branchNed Deily2017-10-034-7/+35
|\
| * Bump to 3.6.3v3.6.3Ned Deily2017-10-033-7/+8
| |
| * Update NEWS blurbs for 3.6.3 finalNed Deily2017-10-034-5/+27
| |
| * Improve/fix some Misc/NEWS entriesNed Deily2017-10-033-3/+3
| |
| * Add NEWS entries for 3.6.3 final cherrypicks.Ned Deily2017-10-034-0/+5
| |
| * [3.6] bpo-31662: Fix typos in uploadrelease.bat script (#3858)Miss Islington (bot)2017-10-031-3/+3
| | | | | | (cherry picked from commit efb560eee28b6b2418e1231573ca62574d6dc07b)
| * [3.6] bpo-31641: Allow arbitrary iterables in ↵Miss Islington (bot)2017-10-032-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-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)