summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-33750: Reset thread-local context precision in test_round(). (#7355)Stefan Krah2018-06-031-11/+11
|
* bpo-27485: Change urlparse tests to use private methods. (GH-7070)Cheryl Sabella2018-06-031-12/+12
|
* bpo-33744: Fix test_uu. (GH-7350)Serhiy Storchaka2018-06-031-78/+26
| | | Separate tests leaked files or were depended on files leaked in other tests.
* bpo-23495: Correct the documentation for writerows() of csv Writer objects ↵Zackery Spytz2018-06-021-2/+3
| | | | | (GH-6316) `writerows()` takes an iterable.
* Fix typo in datamodel.rst (GH-6964)Zach Mitchell2018-06-021-1/+1
| | | This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...".
* Docs: fix some wrong words (GH-6987)Eitan Adler2018-06-022-3/+3
| | | Fix typos in code comments: bdb.py and configure.ac.
* bpo-33562: Check the global asyncio event loop policy isn't set after any ↵Brett Cannon2018-06-0226-2/+98
| | | | tests (GH-7328)
* bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)Cheryl Sabella2018-06-026-35/+79
| | | | | | | | | | | | | The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors.
* bpo-33615: Re-enable a subinterpreter test. (gh-7251)Eric Snow2018-06-024-23/+42
| | | For bpo-32604 I added extra subinterpreter-related tests (see #6914), which caused a few buildbots to crash. This patch fixes the crash by ensuring that refcounts in channels are handled properly.
* bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)Cheryl Sabella2018-06-016-29/+40
| | | | | | | | | | Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context.
* bpo-33724: Use the right format code for int64_t in subinterpreters code. ↵Eric Snow2018-06-011-32/+33
| | | | | | (gh-7330)
* bpo-29235: Make cProfile.Profile a context manager (GH-6808)Scott Sanderson2018-06-014-0/+52
|
* bpo-33532: Fix test_multiprocessing_forkserver.test_ignore() (GH-7319)Victor Stinner2018-06-011-2/+5
| | | | Use also support.SOCK_MAX_SIZE, not only support.PIPE_MAX_SIZE, to get the size for a blocking send into a multiprocessing pipe.
* bpo-33540: Fix socketserver.ThreadingMixIn if block_on_close=False (GH-7310)Victor Stinner2018-06-011-1/+1
| | | | socketserver.ThreadingMixIn no longer tracks active threads if block_on_close is false.
* bpo-30654: Do not reset SIGINT handler to SIG_DFL in finisignal (GH-7146)pkerling2018-06-012-12/+4
|
* bpo-33400: Removed references to RFC3339 and ISO8601 from the logging ↵Vinay Sajip2018-06-012-12/+12
| | | | documentation. (GH-7297)
* bpo-32519: Removed misleading sentence from EnvBuilder documentation. (GH-7296)Vinay Sajip2018-06-011-2/+1
|
* bpo-33718: regrtest: enhance "running:" formatting (GH-7292)Victor Stinner2018-06-013-43/+51
| | | | | * "running:" progress: Format number of seconds as hours and minutes * format_duration(): count also minutes as hours * Create Lib/test/libregrtest/utils.py
* bpo-33692: pythoninfo detect libedit on Python 3.6 (GH-7293)Victor Stinner2018-06-011-0/+8
| | | | Check which readline implementation is used based on the readline docstring.
* bpo-33606: improve logging performance when logger is disabled (GH-7285)Timo Furrer2018-06-012-0/+15
| | | A check has been added in Logger.isEnabledFor() to return False when the logger is disabled. This avoids unnecessary work being done when a disabled logger is used.
* bpo-33718: regrtest keeps filters to re-run fails (GH-7291)Victor Stinner2018-05-311-17/+22
| | | | | | * No longer clear filters, like --match, to re-run failed tests in verbose mode (-w option). * Tests result: always indicate if tests have been interrupted. * Enhance tests summary
* bpo-33717: pythoninfo: add CC --version (#7290)Victor Stinner2018-05-311-0/+29
| | | Get the version of the C compiler.
* bpo-33615: Temporarily disable a test that is triggering crashes on a few ↵Eric Snow2018-05-311-0/+2
| | | | | buildbots. (gh-7288) For bpo-32604 I added some subinterpreter-related tests (see #6914) that are causing crashes on a few buildbots. I'm working on fixing the crashes (see #7251). This change temporarily disables the triggering test.
* bpo-33706: Fix pymain_parse_cmdline_impl() (GH-7283)Victor Stinner2018-05-312-1/+3
| | | | | | | | | | Fix a crash in Python initialization when parsing the command line options. Fix memcpy() size parameter: previously, we read one wchar_t after the end of _PyOS_optarg. Moreover, don't copy the trailingg NUL character: we write it manually anyway. Thanks Christoph Gohlke for the bug report and the fix!
* bpo-32911: Add the historical note about the magic number. (GH-7273)Serhiy Storchaka2018-05-312-111/+113
|
* Fix "ditribution" typo in NEWS entry. (GH-7274)Ned Deily2018-05-311-1/+1
|
* Adds new upload script for Windows releases (GH-7268)Steve Dower2018-05-311-0/+121
|
* bpo-33641: Convert RFC references into links. (GH-7103)Serhiy Storchaka2018-05-3123-60/+56
| | | | 85% of them are already links.
* bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196)Serhiy Storchaka2018-05-313-5/+8
|
* bpo-33532: Fix multiprocessing test_ignore() (#7262)Victor Stinner2018-05-311-2/+2
| | | | | Fix test_ignore() of multiprocessing tests like test_multiprocessing_forkserver: use support.PIPE_MAX_SIZE to make sure that send_bytes() blocks.
* bpo-31368: Enhance os.preadv() documentation (GH-7254)Pablo Galindo2018-05-302-98/+118
|
* 3.6 what's new: fix a reference to PEP 528 (#7113)Dmitry Shachnev2018-05-301-1/+1
|
* bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242)Andrés Delfino2018-05-301-9/+7
|
* bpo-33691: Add _PyAST_GetDocString(). (GH-7236)Serhiy Storchaka2018-05-305-58/+48
|
* Improve ensurepip's --help (GH-4686)Wieland Hoffmann2018-05-301-3/+3
| | | | | | | | * Add a space to ensurepip's --altinstall option * Add periods to the arguments of ensurepip that didn't have it This makes --help for all optional arguments consistent and also makes it consistent with pip --help.
* bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056)jhaydaman2018-05-306-6/+59
| | | | | | | Future.set_result and Future.set_exception now raise InvalidStateError if the futures are not pending or running. This mirrors the behavior of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future when set_result is called multiple times.
* Revert "A better fix for asyncio test_stdin_broken_pipe (GH-7221)" (GH-7235)Yury Selivanov2018-05-301-4/+2
| | | | | This reverts commit ad74d50517c069359578014bb32e660828d68332. Turns out it's not a good fix -- Travis has just crashed on this test.
* A better fix for asyncio test_stdin_broken_pipe (#7221)Yury Selivanov2018-05-301-2/+4
|
* Revert "bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)" (#7232)Yury Selivanov2018-05-303-42/+0
| | | This reverts commit 5d97b7bcc19496617bf8c448d2f149cc28c73bc7.
* Fix typo introduced in GH-7217 (#7230)Elvis Pranskevichus2018-05-301-1/+1
|
* bpo-32684: Fix nits in tests (GH-7225)Yury Selivanov2018-05-291-3/+3
|
* Fix whatsnew entry about ThreadedHTTPServer. (GH-7220)Julien Palard2018-05-291-1/+1
|
* bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217)Elvis Pranskevichus2018-05-292-0/+4
| | | | Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed futures when a timeout accurs.
* bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216)Elvis Pranskevichus2018-05-295-3/+100
| | | | | | | | | | | | | | | | | | | | | | | Currently, asyncio.wait_for(fut), upon reaching the timeout deadline, cancels the future and returns immediately. This is problematic for when *fut* is a Task, because it will be left running for an arbitrary amount of time. This behavior is iself surprising and may lead to related bugs such as the one described in bpo-33638: condition = asyncio.Condition() async with condition: await asyncio.wait_for(condition.wait(), timeout=0.5) Currently, instead of raising a TimeoutError, the above code will fail with `RuntimeError: cannot wait on un-acquired lock`, because `__aexit__` is reached _before_ `condition.wait()` finishes its cancellation and re-acquires the condition lock. To resolve this, make `wait_for` await for the task cancellation. The tradeoff here is that the `timeout` promise may be broken if the task decides to handle its cancellation in a slow way. This represents a behavior change and should probably not be back-patched to 3.6 and earlier.
* bpo-32684: Fix gather to propagate cancel of itself with return_exceptions ↵Yury Selivanov2018-05-294-2/+46
| | | | (GH-7209)
* bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195)Géry Ogam2018-05-293-6/+6
|
* bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)Yury Selivanov2018-05-293-0/+42
| | | | Original patch by Dan O'Reilly.
* bpo-30935: update get_event_loop docs (GH-2731)Mandeep Singh2018-05-292-2/+5
|
* Attempt to fix test_stdin_broken_pipe on Travis (#7210)Yury Selivanov2018-05-291-0/+1
|
* bpo-33622: Add checks for exceptions leaks in the garbage collector. (GH-7126)Serhiy Storchaka2018-05-291-4/+23
| | | | | * Failure in adding to gc.garbage is no longer fatal. * An exception in tp_clear() no longer lead to crash (though tp_clear() should not leave exceptions).