[issue16039] imaplib: unlimited readline() from connection

2018-12-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10351 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11617] Sporadic failure in test_httpservers

2018-12-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10352 stage: -> patch review ___ Python tracker ___ ___

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this issue completely fixed? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue35394] Add __slots__ = () to asyncio protocols

2018-12-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5344501ad166c1380be452644a863a4679c4291b by Andrew Svetlov in branch 'master': bpo-35394: Add empty slots to abstract asyncio protocols (#10889) https://github.com/python/cpython/commit/5344501ad166c1380be452644a863a4679c4291b --

[issue35455] Solaris thread_time doesn't work with current implementation

2018-12-11 Thread Jakub Kulik
Change by Jakub Kulik : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35456] asyncio.Task.set_result() and set_exception() missing docstrings (and Liskov sub. principle)

2018-12-11 Thread Yury Selivanov
Yury Selivanov added the comment: -1 on this; there is no clear win in doing this refactoring, only a hard to estimate chance of making a regression. Yahya, feel free to tackle other asyncio bugs or improvements, this one is just something that we aren't comfortable doing right now.

[issue35463] mock uses incorrect signature for partial and partialmethod with autospec

2018-12-11 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : This is a bug report for https://bugs.python.org/issue17185#msg331149 that I was asked to raise as a separate issue. 1. When we call create_autospec it calls _get_signature_object that gets the signature for the given parameter. With

[issue30230] Move quick test in PyObject_IsSubClass outside of PyType_CheckExact guard

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Any progress? -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue22293] unittest.mock: use slots in MagicMock to reduce memory footprint

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: James, please confirm that this issue still exists in 3.6 and 3.7. -- nosy: +serhiy.storchaka status: open -> pending ___ Python tracker

[issue35433] Correctly detect installed SDK versions

2018-12-11 Thread Jeremy Kloth
Jeremy Kloth added the comment: All the Windows 3.6 windows buildbots are happy! Thanks to all! -- status: open -> closed ___ Python tracker ___

[issue35464] json.dumps very unclear exception

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was changed in 3.6 (issue26623). Upgrade to 3.6+ for better error messages. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue11617] Sporadic failure in test_httpservers

2018-12-11 Thread STINNER Victor
STINNER Victor added the comment: Hum, it seems like this bug still exists in Python 2.7. Error from Fedora CI: test_head_via_send_error (test.test_httpservers.BaseHTTPServerTestCase) ... ERROR (...) ERROR: test_head_via_send_error (test.test_httpservers.BaseHTTPServerTestCase)

[issue11617] Sporadic failure in test_httpservers

2018-12-11 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35464] json.dumps very unclear exception

2018-12-11 Thread Or
New submission from Or : when dumping a value coming from numpy.random.choice([True,False]) the exception raised is very unclear. json.dumps(result) File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 184, in default

[issue11617] Sporadic failure in test_httpservers

2018-12-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset d336b1c8a40d14054145393fafb54b782cc1a549 by Victor Stinner in branch '2.7': bpo-11617: Try to strengthen test_httpservers (GH-11121) https://github.com/python/cpython/commit/d336b1c8a40d14054145393fafb54b782cc1a549 --

[issue35446] incorrect example

2018-12-11 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +10353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35097] IDLE add doc subsection for editor windows

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue12920] inspect.getsource only works for objects loaded from files, not interactive session

2018-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do we really need to say that getsource(object) can only get the object's source if it is accessible from the object? Getsource also fails if a module is loaded from a .pyc with not corresponding .py available. The problem is not the call being in

[issue33962] IDLE: use ttk.spinbox with configdialog

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34857] IDLE: SyntaxWarning not handled properly

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35423] Signal handling machinery still relies on "pending calls".

2018-12-11 Thread Eric Snow
Change by Eric Snow : -- nosy: +emilyemorehouse ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-11 Thread Steve Dower
Steve Dower added the comment: Probably. I'm 99% sure it's a problem with the latest build tools, and nothing to do with Python. Though I haven't checked out whether we're injecting any compile time flags that may be causing extra things to be included - I have no idea why X11 is necessary,

[issue35423] Signal handling machinery still relies on "pending calls".

2018-12-11 Thread Eric Snow
Eric Snow added the comment: Correct. The remaining call to Py_AddPendingCall in the signal-handling code is fine. This issue is only indirectly related. I suppose you could consider it a follow-up to #30703. The PR for that issue (GH-2415) switches from using pending calls for signal

[issue35446] incorrect example

2018-12-11 Thread Eric Snow
Change by Eric Snow : -- pull_requests: -10353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-11 Thread Steve Dower
Steve Dower added the comment: Looks like Tix needs similar updates, since it imports the Tk headers. Perhaps it'll be easier to undef immediately after the X11\X.h include? Assuming the values aren't actually being used anywhere. -- ___ Python

[issue16516] argparse types (and actions) must be hashable

2018-12-11 Thread Guido van Rossum
Guido van Rossum added the comment: Luna and I talked a bit about this offline and we decided not to merge the PR (nor the original patch, which is the same). Instead Luna will add a note to the docs explaining the caveat. -- nosy: +gvanrossum

[issue19348] Building _testcapimodule as a builtin results in compile error

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35466] Use a linked list for the ceval pending calls.

2018-12-11 Thread Eric Snow
Eric Snow added the comment: I suppose performance could have been a motivator originally. However, I don't see a benefit now that signals handlers are no longer pending calls. If it's a real problem then we can leverage a free list. As to complexity, the motivator for this change was

[issue33987] IDLE: add ttk.Frame inside searchbaseToplevel

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27477] IDLE: Switch search dialogs to ttk widgets, and other refinement

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17534] unittest keeps references to test cases alive

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Does this issue still relevant? -- nosy: +serhiy.storchaka status: open -> pending ___ Python tracker ___

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-11 Thread Ned Deily
Ned Deily added the comment: Should the problems be reported upstream? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34976] IDLE: Replace the search dialog with a search bar

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21880] IDLE: Ability to run 3rd party code checkers

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35466] Use a linked list for the ceval pending calls.

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Was not a circular array used intentionally because this allows to avoid calling malloc()? And the proposed code looks more complicated to me than the current code. -- nosy: +serhiy.storchaka ___ Python tracker

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-12-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: I believe there are still some issues to deal with. I don't want to close the issue until I've got my buildbot running. -- versions: -Python 3.6 ___ Python tracker

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-11 Thread Brett Cannon
Change by Brett Cannon : -- stage: -> needs patch versions: +Python 3.5, Python 3.6, Python 3.8 ___ Python tracker ___ ___

[issue35387] Dialogs on IDLE are accompanied by a small black window

2018-12-11 Thread Vlad Tudorache
Vlad Tudorache added the comment: At the line 102 in editor.py, I see: self.top = top = window.ListedToplevel(root, menu=self.menubar) Looking at window.py it seems that ListedToplevel builds a new Toplevel (the black one?) instead of adding an existing one (the editor) at the list, I'll

[issue35466] Use a linked list for the ceval pending calls.

2018-12-11 Thread Eric Snow
New submission from Eric Snow : Currently the list of pending calls (see Include/internal/pycore_ceval.h) is implemented as a circular buffer. A linked list would be easier to understand and modify. It also allows for removing the restriction on the number of pending calls. --

[issue35466] Use a linked list for the ceval pending calls.

2018-12-11 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +10354 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue25219] Update doc for Idle command line options.

2018-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Rather that leave this open indefinitely, I decided to close until a report or research says that more is needed. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue5438] test_bigmem.test_from_2G_generator uses more memory than expected

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: tuple(range(size)) should consume approximately 90 GiB of memory and run for hours. I think this happens because it creates enormous number of integer objects, and this can lead to requesting additional memory for memory pools. If details of memory

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10336] test_xmlrpc fails if gzip is not supported by client

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The server for this test is ran in the different thread of the same process. The test is skipped if gzip is not supported. I don't see a way how it can fail. -- nosy: +serhiy.storchaka resolution: -> not a bug status: open -> pending

[issue18799] Resurrect and fix test_404 in Lib/test/test_xmlrpc.py

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Vajrasky, do you mind to create a pull request on GitHub for your patch? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue35267] reproducible deadlock with multiprocessing.Pool

2018-12-11 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5438] test_bigmem.test_from_2G_generator uses more memory than expected

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10355 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33065] IDLE debugger: failure stepping through module loading

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-11 Thread Steve Dower
Steve Dower added the comment: I pushed the raw Tcl and Tk sources for 8.6.9.0 to cpython-source-deps, but it looks like we need some patches to be able to build on Windows (the X11 headers #define some names that the Windows headers want to use as struct members). So far I've needed to

[issue35403] support application/wasm in mimetypes and http.server

2018-12-11 Thread pmpp
pmpp added the comment: Sure, but i was considering the cpython in the browser/webview/electron case where python modules are served as .wasm files, i'm about to do it for my port and pyodide already does. It would make sense to provide the *simplest* environnement for cpython to serve its

[issue35213] IDLE: use 'macOS' where appropriate.

2018-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Any more changes can be a future issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35387] Dialogs on IDLE are accompanied by a small black window

2018-12-11 Thread Vlad Tudorache
Vlad Tudorache added the comment: No, I'm wrong, the editor window seems created by the ListedToplevel. -- ___ Python tracker ___

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot

2018-12-11 Thread Ned Deily
Ned Deily added the comment: On the other hand and also FWIW, test_ssl does pass on the AMD64 FreeBSD CURRENT Shared 3.7 buildbot (the same system?) which also has 1.1.1a: ssl.OPENSSL_VERSION: OpenSSL 1.1.1a 20 Nov 2018 -- ___ Python tracker

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> needs patch versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue22121] IDLE should start with HOME as the initial working directory

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35379] IDLE's close fails when io.filename set to None

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren versions: +Python 3.8 ___ Python tracker ___ ___

[issue35465] Document add_signal_handler

2018-12-11 Thread Hrvoje Nikšić
New submission from Hrvoje Nikšić : In https://stackoverflow.com/q/53704709/1600898 a StackOverflow user asked how the add_signal_handler event loop method differs from the signal.signal normally used by Python code. The add_signal_handler documentation is quite brief - if we exclude the

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot

2018-12-11 Thread Ned Deily
Ned Deily added the comment: FWIW, test_ssl currently passes on the other FreeBSD 3.6 buildbot: FreeBSD 10-STABLE Non-Debug 3.6 buildbot. Among any other differences, the SSL version there is older: ssl.OPENSSL_VERSION: OpenSSL 1.0.1u-freebsd 22 Sep 2016 -- nosy: +ned.deily

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-11 Thread Brett Cannon
Brett Cannon added the comment: Obviously if you're willing to create a PR, Marcin, that would be great! -- ___ Python tracker ___

[issue35208] IDLE: Squeezed lines count ignores window width

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-11 Thread Brett Cannon
Brett Cannon added the comment: Correct, that should say something like "copy/symlink of the Python binary/binaries (as appropriate by the platform or arguments used at environment creation time)." -- nosy: +brett.cannon ___ Python tracker

[issue35468] [3.6/3.7] idlelib/help.html mentions 3.8alpha0 docs

2018-12-11 Thread Matthias Klose
New submission from Matthias Klose : [3.6/3.7] idlelib/help.html mentions 3.8alpha0 docs: Seen in the 3.6.8 and 3.7.2 release candidates -- assignee: terry.reedy components: IDLE keywords: 3.6regression, 3.7regression messages: 331671 nosy: doko, ned.deily, terry.reedy priority:

[issue35387] Dialogs on IDLE are accompanied by a small black window

2018-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vlad, thank you. The release candidates for 3.7.2 and 3.6.8 are due as soon as Ned can manage. The Mac installers will come with the very recent tcl/tk 8.6.9(.1) releases. Existing tkinter-related issues for Mac should be re-tested when available and

[issue34055] IDLE Shell: check syntax before smart indent

2018-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: #35467 is about unwanted auto-pasting. -- versions: -Python 3.6 ___ Python tracker ___ ___

[issue33963] IDLE macosx: add tests.

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6835] doctest problem with decorated function when decorator is defined in separate file

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Problem with doctest and decorated functions ___ Python tracker

[issue33960] IDLE REPL: Strange indentation

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20800] Cannot run gui tests twice.

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have just tested on Windows and all works to me. Terry, can you confirm that this issue is gone? -- ___ Python tracker ___

[issue35467] IDLE: unrequested pasting into Shell after restart

2018-12-11 Thread Terry J. Reedy
New submission from Terry J. Reedy : IDLE very occasionally (frequency much less than .01), and AFAIK hapzardly, pastes previous shell output after I enter something at the prompt after a restart. Not fatal but definitly annoying. When it happened today, I decided to open this issue to

[issue34313] Tkinter crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE title: IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6 -> Tkinter crashes with Tk-related error on macOS with ActiveTcl 8.6 ___ Python tracker

[issue35457] robotparser reads empty robots.txt file as "all denied"

2018-12-11 Thread larsfuse
New submission from larsfuse : The standard (http://www.robotstxt.org/robotstxt.html) says: > To allow all robots complete access: > User-agent: * > Disallow: > (or just create an empty "/robots.txt" file, or don't use one at all) Here I give python an empty file: $ curl

[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-12-11 Thread miss-islington
miss-islington added the comment: New changeset 45a31a1ec11e75cd0ef487dd4cea7f9fc4f885c8 by Miss Islington (bot) in branch '3.7': [3.7] bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520) (GH-11031)

[issue35455] Solaris thread_time doesn't work with current implementation

2018-12-11 Thread Jakub Kulik
Change by Jakub Kulik : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35458] test_shutil.test_disk_usage() randomly fails when tests are run in parallel

2018-12-11 Thread STINNER Victor
New submission from STINNER Victor : Extract of the test: usage = shutil.disk_usage(os.path.dirname(__file__)) self.assertEqual(usage, shutil.disk_usage(__file__)) The test fails if another process creates or removes data on the disk partition. IMHO "self.assertEqual(usage,

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Use PyDict_GetItemWithError() with PyDict_GetItem() -> Use PyDict_GetItemWithError() instead of PyDict_GetItem() ___ Python tracker ___

[issue35460] Add PyDict_GetItemStringWithError

2018-12-11 Thread Ronald Oussoren
New submission from Ronald Oussoren : PyDict_GetItemWithError is a variant of PyDict_GetItem that doesn't swallow unrelated exceptions. While converting a project to use this API I noticed that there is similar variant of PyDict_GetItemString. It would be nice to have

[issue35444] Unify and optimize the helper for getting a builtin object

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue35454] Fix miscellaneous issues in error handling

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-12-11 Thread STINNER Victor
STINNER Victor added the comment: The new test is unstable: see bpo-35458. -- nosy: +vstinner ___ Python tracker ___ ___

[issue35459] Use PyDict_GetItemWithError() with PyDict_GetItem()

2018-12-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There is an issue with using PyDict_GetItem(). Since it silences all exceptions, it can return incorrect result when an exception like MemoryError or KeyboardInterrupt was raised in the user __hash__() and __eq__(). In addition PyDict_GetItemString()

[issue35458] test_shutil.test_disk_usage() randomly fails when tests are run in parallel

2018-12-11 Thread STINNER Victor
STINNER Victor added the comment: Only the master branch is impacted (see bpo-32557). -- ___ Python tracker ___ ___

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2018-12-11 Thread Ned Deily
Ned Deily added the comment: New changeset d0d09b511d7a438fb18a9a4703480763119b4eac by Ned Deily in branch '2.7': [2.7] bpo-15663: the 10.6+ macOS installers for 3.6/2.7 now provide a private Tcl/Tk 8.6 (GH-0)

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2018-12-11 Thread Ned Deily
Ned Deily added the comment: Update: as of 3.6.8rc1 and the eventual 2.7.16rc1, both installer variants (10.9+ and 10.6+) provide a built-in Tcl/Tk 8.6.8. For python.org installers, Tcl/Tk 8.5.x is finally dead! -- ___ Python tracker

[issue35444] Unify and optimize the helper for getting a builtin object

2018-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset be6ec444729f727f304ae10f3a7e2feda3cc3aaa by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-35444: Fix error handling when fail to look up builtin "getattr". (GH-11047) (GH-11107) (GH-11108)

[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-12-11 Thread miss-islington
miss-islington added the comment: New changeset 7d9f21950927e7c7fe69e5edeb06023a963c6f68 by Miss Islington (bot) in branch '3.6': [3.6] bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520) (GH-11032)

[issue35458] test_shutil.test_disk_usage() randomly fails when tests are run in parallel

2018-12-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10340 stage: -> patch review ___ Python tracker ___ ___

[issue35458] test_shutil.test_disk_usage() randomly fails when tests are run in parallel

2018-12-11 Thread STINNER Victor
STINNER Victor added the comment: The new test has been added by PR 9372: commit c8c0249c9e8f61ab7670119a5a5278354df27bbb Author: Joe Pamer Date: Tue Sep 25 10:57:36 2018 -0400 bpo-32557: allow shutil.disk_usage to take a file path on Windows also (GH-9372) --

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2018-12-11 Thread STINNER Victor
STINNER Victor added the comment: My previous attempt: bpo-20615. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10341 stage: -> patch review ___ Python tracker ___ ___

[issue17185] unittest mock create_autospec doesn't correctly replace mocksignature

2018-12-11 Thread Chris Withers
Chris Withers added the comment: New changeset f7fa62ef4422c9deee050a794fd8504640d9f8f4 by Chris Withers (Xtreak) in branch 'master': bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048)

[issue17185] unittest mock create_autospec doesn't correctly replace mocksignature

2018-12-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +10356 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17185] unittest mock create_autospec doesn't correctly replace mocksignature

2018-12-11 Thread Chris Withers
Change by Chris Withers : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2018-12-11 Thread Ned Deily
Ned Deily added the comment: New changeset f74cabd9203cf3be97fdb3821a7fa0b74d7b2263 by Ned Deily in branch '3.6': [3.6] bpo-15663: the 10.6+ macOS installers for 3.6/2.7 now provide a private Tcl/Tk 8.6 (GH-11109)

[issue35444] Unify and optimize the helper for getting a builtin object

2018-12-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +10337 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2018-12-11 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +10339 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35456] asyncio.Task.set_result() and set_exception() missing docstrings (and Liskov sub. principle)

2018-12-11 Thread INADA Naoki
INADA Naoki added the comment: > One way to deal with that would be to let a Task have a Future. > "Prefer composition over inheritance" as they say. > > I want to work on PR for this if nobody goes against it... I'm not against it, unless it doesn't have backward incompatibility or

  1   2   >