summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-24813: IDLE: Add icon to help_about (#2335)csabella2017-06-232-4/+19
| | | Patch by Cheryl Sabella
* bpo-21071: struct.Struct.format type is now str (#845)Victor Stinner2017-06-235-2/+19
|
* bpo-30604: Skip CoExtra tests if ctypes is missing (#2356)Victor Stinner2017-06-231-3/+6
|
* bpo-30602: Fix lastarg in os.spawnve() (#2287)Victor Stinner2017-06-231-3/+3
| | | | Fix a regression introduced by myself in the commit 526b22657cb18fe79118c2ea68511aca09430c2c.
* bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319)Segev Finer2017-06-231-1/+1
| | | | | | | | | * bpo-30726: Fix elementtree warnings on Windows Caused by usage of `getenv` which should be safe. And a few integer truncations which should also be ok. * bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
* bpo-30727: Fix a race condition in test_threading. (#2334)Serhiy Storchaka2017-06-231-5/+14
|
* bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348)Victor Stinner2017-06-231-2/+2
| | | | | | | | | | | | | | | bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses a winconfig.h configuration file which already defines: * XML_NS * XML_DTD * BYTEORDER=1234 * XML_CONTEXT_BYTES=1024 * HAVE_MEMMOVE Remove these defines from PCbuild/_elementtree.vcxproj to prevent compiler warnings. Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
* bpo-29304: simplify lookdict_index() function. (GH-2273)INADA Naoki2017-06-231-15/+6
|
* bpo-30736: upgrade to Unicode 10.0 (#2344)Benjamin Peterson2017-06-2311-33452/+34581
| | | Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
* bpo-30709: Improve code example in Descriptor HowTo doc (GH-2339)_ = NaN2017-06-231-3/+3
|
* Add "Misc/NEWS.d" directory tree for "blurb". (GH-2316)larryhastings2017-06-2211-0/+11
| | | | | | | | | | | | | Add "Misc/NEWS.d" directory tree for "blurb". CPython workflow is changing! We're going to start using "blurb" to manage Misc/NEWS entries: https://github.com/python/core-workflow (This will be a big win for release managers, honest.) This checkin simply populates the "Misc/NEWS.d" subdirectory tree so that people can start putting their news entries in there. No other changes (yet).
* bpo-30619: Clarify typing.Union documentation (GH-2326)khyox2017-06-221-1/+1
| | | When a class and its subclass are present, the latter is skipped.
* bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (#2315)Gregory P. Smith2017-06-223-5/+14
| | | | | | | bpo-29212: Fix the ugly ThreadPoolExecutor thread name. Fixes the newly introduced ugly default thread name for concurrent.futures thread.ThreadPoolExecutor threads. They'll now resemble the old <=3.5 threading default Thread-x names by being named ThreadPoolExecutor-y_n.
* Fix typo in idlelib.config_key.py (#2322)terryjreedy2017-06-221-1/+1
|
* bpo-30604: clean up co_extra support (#2144)Dino Viehland2017-06-216-23/+130
| | | bpo-30604: port fix from 3.6 dropping binary compatibility tweaks
* bpo-30183: Fixes HP-UX cc compilation error in pytime.c (#1351)haney2017-06-211-0/+20
| | | | | | | | | | | | | | | | * bpo-30183: Fixes HP-UX cc compilation error in pytime.c HP-UX does not support the CLOCK_MONOTONIC identifier, and will fail to compile: "Python/pytime.c", line 723: error #2020: identifier "CLOCK_MONOTONIC" is undefined const clockid_t clk_id = CLOCK_MONOTONIC; Add a new section for __hpux that calls 'gethrtime()' instead of 'clock_gettime()'. * bpo-30183: Removes unnecessary return
* bpo-30616: Functional API of enum allows to create empty enums. (#2304)Dong-hee Na2017-06-213-1/+24
| | | | | | | | * bpo-30616: Functional API of enum allows to create empty enums. * Update NEWS move addition to avoid conflict
* bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300)Victor Stinner2017-06-219-158/+887
| | | New file: Modules/expat/siphash.h.
* Fix trivial typo in idlelib/config.py (GH-2309)KunYuChen2017-06-211-1/+1
| | | Comceptually -> Conceptually
* Fix typo in 3.7 whatsnew (#2308)Daniel Porteous2017-06-211-1/+1
|
* Fix trivial typo in json module docstring (GH-2274)dong-jy2017-06-201-1/+1
|
* bpo-29933: Improve set_write_buffer_limits description (GH-2262)Kojo Idrissa2017-06-201-1/+7
| | | | | Improve the description of the high and low parameters for set_write_buffer_limits. Also fixed a small grammatical issue.
* bpo-30054: Expose tracemalloc C API (#1236)Victor Stinner2017-06-205-23/+55
| | | | | | | | | * Make PyTraceMalloc_Track() and PyTraceMalloc_Untrack() functions public (remove the "_" prefix) * Remove the _PyTraceMalloc_domain_t type: use directly unsigned int. * Document methods Note: methods are already tested in test_tracemalloc.
* bpo-29755: Fixed the lgettext() family of functions in the gettext module. ↵Serhiy Storchaka2017-06-204-107/+229
| | | | | | | | (#2266) They now always return bytes. Updated the gettext documentation.
* bpo-30500: Fix the NEWS entry (#2293)Victor Stinner2017-06-201-1/+1
| | | splithost() expects an URL starting with "//" not with "http://".
* bpo-30597: Show expected input in custom 'print' error message. (#2009)Sanyam Khurana2017-06-203-3/+76
|
* urllib: Simplify splithost by calling into urlparse. (#1849)postmasters2017-06-204-14/+47
| | | | | | | | The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as ``http://abc/#@def``, that is, the host is ``abc``, the path is ``/``, and the fragment is ``#@def``.
* bpo-30629: Add Motoki Naruse to Misc/ACKS (#2284)Motoki Naruse2017-06-201-0/+1
|
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-1910-51/+102
| | | | | | vcvarsall.bat (#2252) * Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat Also fixes bdist_wininst.vcxproj to use correct version in generated name.
* bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime flag (GH-2260)Nick Coghlan2017-06-185-121/+183
| | | | | | | | | | | | - removes PY_WARN_ON_C_LOCALE build time flag - locale coercion and compatibility warnings are now always compiled in, but are off by default - adds PYTHONCOERCECLOCALE=warn runtime option to aid in debugging potentially locale related compatibility problems Due to not-yet-resolved test failures on *BSD systems (including Mac OS X), this also temporarily disables UTF-8 as a locale coercion target, and skips testing the interpreter's behavior in the POSIX locale.
* bpo-30038: add Misc/NEWS entry. (#2258)Ned Deily2017-06-171-0/+3
|
* bpo-23894: add Misc/NEWS entry. (#2256)Ned Deily2017-06-171-0/+2
|
* bpo-30629: Remove second call of str.lower() in html.parser.parse_endtag. ↵Motoki Naruse2017-06-171-1/+1
| | | | | | (#2099) elem is the result of .lower() 6 lines above the handle_endtag call. Patch by Motoki Naruse
* Revert "bpo-30673: test.bat: add -t option (timeout) (#2211)" (#2245)Victor Stinner2017-06-161-11/+2
| | | This reverts commit 258bfc462b1e58689b43f662a10e44ece3a10bef.
* bpo-30523: Add --list-cases unittest (#2243)Louie Lu2017-06-161-1/+17
| | | | | | | | * bpo-30523: Add --list-cases unittest * Addressed haypo's request * Addressed haypo's request
* bpo-30682: Removed a too-strict assertion that failed for certain f-strings. ↵ericvsmith2017-06-163-2/+11
| | | | | | (#2232) This caused a segfault on eval("f'\\\n'") and eval("f'\\\r'") in debug build.
* bpo-30523: regrtest: Add --list-cases option (#2238)mlouielu2017-06-163-8/+44
| | | | | | | | | | | * bpo-30523: regrtest: Add --list-cases option * bpo-30523: Enhance --list-cases * Add get_abs_module() function, use it in list_cases() * list_cases() now logs skipped tests into stderr * Remove unused doctest
* bpo-29783: Replace codecs.open() with io.open() (#599)Victor Stinner2017-06-165-39/+18
|
* Add IDLE items to NEWS and idlelib/NEWS.txt (#2239)terryjreedy2017-06-162-0/+28
|
* bpo-30450: Add NEWS and whatsnew (GH-2236)Zachary Ware2017-06-162-0/+11
|
* bpo-30176: Add missing curses cell attributes constants (GH-1302)Xiang Zhang2017-06-163-14/+54
|
* bpo-30631: Silence MSVC warnings in third-party code (GH-1963)Segev Finer2017-06-164-1/+7
|
* bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783)Zachary Ware2017-06-164-87/+241
| | | | | The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio. Also fixes an outdated note about _lzma in PCbuild/readme.txt
* bpo-30620: Remove dead lines from textwrap.dedent (GH-2064)Jonathan Eunice2017-06-161-2/+0
|
* bpo-30603: add tests to textwrap.dedent (GH-2206)Jonathan Eunice2017-06-161-0/+11
| | | | | * test dedent with declining indent level * add textwrap.dedent test cases
* bpo-30673: test.bat: add -t option (timeout) (#2211)Victor Stinner2017-06-151-2/+11
|
* bpo-30626: Fix error handling in PyImport_Import(). (#2103)Serhiy Storchaka2017-06-151-2/+6
| | | | In rare circumstances PyImport_Import() could return NULL without raising an error.
* bpo-20627: Fix error message when keyword arguments are used (#2115)Sylvain2017-06-154-14/+48
|
* bpo-30602: Fix refleak in os.spawnv() (#2212)Victor Stinner2017-06-151-1/+1
| | | | | When os.spawnv() fails while handling arguments, free correctly argvlist: pass lastarg+1 rather than lastarg to free_string_array() to also free the first item.
* bpo-28180: Standard stream & FS encoding differ on Mac OS X (GH-2208)Nick Coghlan2017-06-151-21/+37
| | | | | | | | | In the C locale on Mac OS X, the default filesystem encoding used for operating system interfaces is UTF-8, but the default encoding used on the standard streams is still ASCII. Setting the POSIX locale also behaves differently from setting other locales on Mac OS X, so skip that in the test suite for now.