Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-25514: Improve IDLE's connection refused message (#2177) | terryjreedy | 2017-06-14 | 4 | -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 Stinner | 2017-06-13 | 1 | -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 Stinner | 2017-06-13 | 1 | -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 Hoyt | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | bpo-30603: Add test case to textwrap.dedent (GH-2014) | Jonathan Eunice | 2017-06-13 | 1 | -0/+5 |
| | |||||
* | bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) | terryjreedy | 2017-06-13 | 1 | -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 Morehouse | 2017-06-13 | 1 | -1/+1 |
| | | | `PyModule_New()` now refers to `PyModule_NewObject()` | ||||
* | bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926) | Sanyam Khurana | 2017-06-13 | 4 | -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 Pitrou | 2017-06-13 | 3 | -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) | terryjreedy | 2017-06-13 | 1 | -0/+4 |
| | |||||
* | bpo-30650: Fixed a syntax error: missed right parentheses (#2154) | messi Liao | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | bpo-28180: assume UTF-8 for Mac OS X PEP 538 tests (GH-2130) | Nick Coghlan | 2017-06-13 | 1 | -5/+24 |
| | |||||
* | bpo-30642: IDLE: Fix test_query refleak (#2147) | mlouielu | 2017-06-13 | 1 | -0/+1 |
| | | | Patch by Louie Lu. | ||||
* | bpo-30635: Fix refleak in test_c_locale_coercion (#2126) | Victor Stinner | 2017-06-13 | 1 | -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 Stinner | 2017-06-13 | 1 | -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). | ||||
* | Mention how to disable signal fd wakeup (#2140) | Antoine Pitrou | 2017-06-13 | 1 | -2/+4 |
| | |||||
* | bpo-30643: Fix race condition in signal wakeup in forkserver (followup to PR ↵ | Antoine Pitrou | 2017-06-13 | 1 | -4/+8 |
| | | | | | | | | | | | | | #1989) (#2139) * Fix race condition in signal wakeup in forkserver (followup to PR #1989) There's an admittedly well-known race condition where ECHILD can arrive just before the C function epoll_wait() and the latter wouldn't therefore return EINTR. The solution is to use set_wakeup_fd(), which was designed to avoid such race conditions. * Reset wakeup fd in child | ||||
* | bpo-6519: Improve Python Input Output Tutorial (GH-2143) | Andrew Kuchling | 2017-06-13 | 1 | -21/+29 |
| | | | Move up the discussion about 'with' keyword, so it appears earlier in the document. | ||||
* | bpo-30636: Fix the indentation for the help (#2131) | Stéphane Wirtel | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | bpo-30177: add NEWS entry (#2135) | Antoine Pietri | 2017-06-12 | 1 | -0/+3 |
| | |||||
* | Fix bpo-30589: improve Process.exitcode with forkserver (#1989) | Antoine Pitrou | 2017-06-12 | 5 | -49/+138 |
| | | | | | | | | * Fix bpo-30589: improve Process.exitcode with forkserver When the child is killed, Process.exitcode should return -signum, not 255. * Add Misc/NEWS | ||||
* | bpo-30624 remaining bare except (#2108) | Giampaolo Rodola | 2017-06-12 | 1 | -1/+1 |
| | | | | bpo-30624 / selectors: use bare 'except' clause instead of 'except Exception' | ||||
* | bpo-30636: Add PYTHONCOERCECLOCALE to the help of the command line (GH-2125) | Stéphane Wirtel | 2017-06-12 | 1 | -0/+4 |
| | |||||
* | [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy ↵ | mircea-cosbuc | 2017-06-12 | 4 | -2/+17 |
| | | | | | | (GH-595) If max_line_length=None is specified while using the Compat32 policy, it is no longer ignored. | ||||
* | bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (#2034) | Serhiy Storchaka | 2017-06-12 | 3 | -1/+14 |
| | | | The traceback no longer displayed for SystemExit raised in a callback registered by atexit. | ||||
* | bpo-30621: Update Input Output Tutorial Example(GH-2074) | suketa | 2017-06-12 | 1 | -0/+1 |
| | | | import json before using json module | ||||
* | Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close ↵ | Yury Selivanov | 2017-06-11 | 3 | -62/+1 |
| | | | | | with certain servers (#409)" (#2111) This reverts commit a608d2d5a7f1aabe9bcbfc220135c5e126189390. | ||||
* | bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050) | Yury Selivanov | 2017-06-11 | 6 | -1/+49 |
| | |||||
* | bpo-30501: Make the compiler producing optimized code for condition ↵ | Serhiy Storchaka | 2017-06-11 | 5 | -2448/+2537 |
| | | | | expressions. (#1851) | ||||
* | bpo-11822: Improve disassembly to show embedded code objects. (#1844) | Serhiy Storchaka | 2017-06-11 | 5 | -15/+121 |
| | | | The depth argument limits recursion. | ||||
* | remove extra word (#2101) | Benjamin Peterson | 2017-06-11 | 1 | -2/+2 |
| | |||||
* | clarify recv() and send() on SSLObject (#2100) | Benjamin Peterson | 2017-06-11 | 1 | -2/+2 |
| | | | SSLObject has recv() and send(), but they don't do any network io. | ||||
* | Show what's changed when Travis fails regen check (GH-2095) | Zachary Ware | 2017-06-11 | 4 | -136/+138 |
| | | | Also fixed a few more line endings that were missed in GH-840, which were causing failure. | ||||
* | bpo-28180: Implementation for PEP 538 (#659) | Nick Coghlan | 2017-06-11 | 14 | -55/+699 |
| | | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time | ||||
* | Use Travis to make sure all generated files are up to date (GH-2080) | Zachary Ware | 2017-06-11 | 1 | -0/+7 |
| | |||||
* | Update idlelib NEWS for 3.7 (#2089) | terryjreedy | 2017-06-11 | 1 | -3/+21 |
| | |||||
* | Add IDLE NEWS items for 3.7 (#2090) | terryjreedy | 2017-06-11 | 1 | -0/+16 |
| | |||||
* | #30624 / selectors: use bare except clause in order to not leave the fd in a ↵ | Giampaolo Rodola | 2017-06-10 | 2 | -2/+6 |
| | | | | bad state in case of error (#2082) | ||||
* | bpo-27425: Be more explicit in .gitattributes (GH-840) | Zachary Ware | 2017-06-10 | 27 | -2346/+2379 |
| | | | Updates checked-in line endings on several files. | ||||
* | bpo-28556: Updates to typing module (#2076) | Ivan Levkivskyi | 2017-06-10 | 3 | -5/+99 |
| | | | | | | | This PR contains two updates to typing module: - Support ContextManager on all versions (original PR by Jelle Zijlstra). - Add generic AsyncContextManager. | ||||
* | bpo-30312: Small correction in datastructures set code sample (GH-2081) | KatherineMichel | 2017-06-10 | 1 | -1/+1 |
| | |||||
* | bpo-30599: Fix test_threaded_import reference leak (#2029) | Victor Stinner | 2017-06-10 | 1 | -2/+11 |
| | | | | | Mock os.register_at_fork() when importing the random module, since this function doesn't allow to unregister callbacks and so leaked memory. | ||||
* | bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) | Victor Stinner | 2017-06-10 | 2 | -2/+6 |
| | | | | | | | multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com> | ||||
* | Regenerate Argument Clinic code for bpo-19180. (#2073) | Serhiy Storchaka | 2017-06-10 | 2 | -2/+2 |
| | |||||
* | bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (#2016) | Roy Williams | 2017-06-10 | 4 | -3/+19 |
| | | | | Running our unit tests with `-bb` enabled triggered this failure. | ||||
* | bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051) | Sylvain | 2017-06-10 | 51 | -1104/+1116 |
| | | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments". | ||||
* | bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) | csabella | 2017-06-10 | 1 | -4/+4 |
| | | | Mention that fnmatchcase does not call normcase, and fnmatch does. | ||||
* | bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵ | Nikolay Kim | 2017-06-10 | 3 | -1/+62 |
| | | | | | | | | certain servers (#409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error | ||||
* | Fix TypeError is asyncio/proactor_events (#993) | Jim Fasarakis-Hilliard | 2017-06-10 | 1 | -2/+3 |
| | |||||
* | bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951) | Zachary Ware | 2017-06-10 | 1 | -1/+1 |
| |