A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-April/157146.html below:

[Python-Dev] Concurrent.futures: no type discovery for PyCharm

[Python-Dev] Concurrent.futures: no type discovery for PyCharm [Python-Dev] Concurrent.futures: no type discovery for PyCharmNathaniel Smith njs at pobox.com
Sat Apr 20 20:13:27 EDT 2019
On Sat, Apr 20, 2019 at 2:11 PM Inada Naoki <songofacandy at gmail.com> wrote:
>
> "import typing" is slow too.

Many static analysis tools will also accept:

TYPE_CHECKING = False
if TYPE_CHECKING:
    ...

At least mypy and pylint both treat all variables named TYPE_CHECKING
as true, regardless of where they came from. I'm not sure if this is
intentional or because they're cutting corners, but it works...

-n

-- 
Nathaniel J. Smith -- https://vorpus.org
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4