summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164)Victor Stinner2017-06-1414-476/+527
| | | | | | | | | | | | | | | | | | | | | * bpo-29591: Upgrade Modules/expat to libexpat 2.2 * bpo-29591: Restore Python changes on expat * bpo-29591: Remove expat config of unsupported platforms Remove the configuration (Modules/expat/*config.h) of unsupported platforms: * Amiga * MacOS Classic on PPC32 * Open Watcom * bpo-29591: Remove useless XML_HAS_SET_HASH_SALT The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became useless since our local expat copy was upgrade to expat 2.1 (it's now expat 2.2.0).
* bpo-30284: Fix regrtest for out of tree build (#1481)Victor Stinner2017-06-141-1/+7
| | | | | | | | Use a build/ directory in the build directory, not in the source directory, since the source directory may be read-only and must not be modified. Fallback on the source directory if the build directory is not available (missing "abs_builddir" sysconfig variable).
* bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when ↵Milan Oberkirch2017-06-145-4/+24
| | | | | parent isn't a package (GH-1899) Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.
* bpo-15786: Fix IDLE autocomplete return problem. (#2198)terryjreedy2017-06-141-1/+2
| | | Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted. Now it does. Before, <return> was inserted into text, which in Shell meant compile() and possibly execute. Now cursor is left after completion.
* bpo-30231: Remove skipped test_imaplib tests (#1419)Victor Stinner2017-06-141-20/+10
| | | | | | | | The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept TLS connection using our self-signed x509 certificate. Remove the two tests which are already skipped. Write a new test_certfile_arg_warn() unit test for the certfile deprecation warning.
* bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811)mlouielu2017-06-141-8/+50
| | | | | | | | | | | | | | | | | | | The root problem was non-check for hide_event. When user clicks on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to close the acw. It should only be hide when acw is active, and acw didn't get focus at FocusOut event (this event bind on acw and widget), or when widget get a ButtonPress event (this event only bind on widget). MacOS froze after double click on acw because when doubleclick_event try to hide window at the end, hide_window function destory whole acw, but tkinter didn't get focus back to widget. So set focus on widget first, then destory acw. Windows could not respond on double click event, because of the misbehavior of Configure event. When acw was shown, tkinter called winconfig event multiple times. That caused tkinter to not response to double click event. When on Windows, unbind Configure event first time get into winconfig_event to prevent multiple call of this event.
* Fix trivial typo in Readme (GH-2185)csabella2017-06-141-1/+1
| | | Replace platform with platforms.
* bpo-30602: Fix refleak in os.spawnve() (#2184)Victor Stinner2017-06-141-2/+2
| | | | | When os.spawnve() fails while handling arguments, free correctly argvlist: pass lastarg+1 rather than lastarg to free_string_array() to also free the first item.
* bpo-30649: Revert utime delta in test_os (#2176)Victor Stinner2017-06-141-1/+3
| | | | | | PPC64 Fedora 3.x buildbot requires at least a delta of 14 ms: revert the utime delta to 20 ms. I tried 10 ms, but test_os failed on the PPC64 Fedora 3.x buildbot.
* bpo-25514: Improve IDLE's connection refused message (#2177)terryjreedy2017-06-144-35/+119
| | | When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
* bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)Victor Stinner2017-06-131-1/+2
| | | | | _test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a timeout of 1 second on Queue.get(), instead of 0.1 second, for slow buildbots.
* bpo-30649: test_os tolerates 50 ms delta for utime (#2156)Victor Stinner2017-06-131-2/+5
| | | | | | On Windows, tolerate a delta of 50 ms instead of 20 ms in test_utime_current() and test_utime_current_old() of test_os. On other platforms, reduce the delta from 20 ms to 10 ms.
* bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173)Ben Hoyt2017-06-131-1/+1
|
* bpo-30603: Add test case to textwrap.dedent (GH-2014)Jonathan Eunice2017-06-131-0/+5
|
* bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171)terryjreedy2017-06-131-0/+1
| | | For unknown reasons, this does not work when running leak tests.
* bpo-30656: Fix Python C API Module Objects documentation (GH-2170)Emily Morehouse2017-06-131-1/+1
| | | `PyModule_New()` now refers to `PyModule_NewObject()`
* bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926)Sanyam Khurana2017-06-134-0/+19
| | | | | | | | bpo-24744: Raise error in pkgutil.walk_packages if path is str Previously an empty result list was accidentallly returned, since the code iterated over the string as if it were the expected list of paths, and of course found nothing.
* bpo-24484: Avoid race condition in multiprocessing cleanup (#2159)Antoine Pitrou2017-06-133-13/+86
| | | | | | | | | | | * bpo-24484: Avoid race condition in multiprocessing cleanup The finalizer registry can be mutated while inspected by multiprocessing at process exit. * Use test.support.start_threads() * Add Misc/NEWS
* Fix ref leak in idle_test.test_macosx (#2163)terryjreedy2017-06-131-0/+4
|
* bpo-30650: Fixed a syntax error: missed right parentheses (#2154)messi Liao2017-06-131-1/+1
|
* bpo-28180: assume UTF-8 for Mac OS X PEP 538 tests (GH-2130)Nick Coghlan2017-06-131-5/+24
|
* bpo-30642: IDLE: Fix test_query refleak (#2147)mlouielu2017-06-131-0/+1
| | | Patch by Louie Lu.
* bpo-30635: Fix refleak in test_c_locale_coercion (#2126)Victor Stinner2017-06-131-21/+25
| | | | | | | | | When checking for reference leaks, test_c_locale_coercion is run multiple times and so _LocaleCoercionTargetsTestCase.setUpClass() is called multiple times. setUpClass() appends new value at each call, so it looks like a reference leak. Moving the setup from setUpClass() to setUpModule() avoids this, eliminating the false alarm.
* bpo-28180: Fix test_capi.test_forced_io_encoding() (#2155)Victor Stinner2017-06-131-1/+1
| | | | | Don't run Python in an empty environment, but copy the current environment and set PYTHONIOENCODING. So the test works also on Python compiled in shared mode (using libpython).