Tämä on vanhempi versio. Uusin versio on 0.0.87. ty 0.0.87 · Julkaistu:
Asennustiedostot 0.0.69
| Arkkitehtuuri | Tyyppi | Laajuus | Tiedostokoko | Lataus | SHA256 |
|---|---|---|---|---|---|
| 64-bittinen | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32-bittinen | ZIP → Portable | — | — | github.com | VirusTotal |
Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.
Muutosloki
Core type checking
- isinstance narrowing for generic classes is now more gradual by default (#27308)
This new behavior is more similar to what other major type checkers do. For example:
def f(xs: object):
if isinstance(xs, list):
reveal_type(xs) # now: `list[Unknown]`, before: `Top[list[Unknown]]`
Note: you might consider enabling analysis.strict-generic-narrowing
if you prefer the strictly correct behavior.
Contributors
- @sharkdp