Repository navigation
0.0.1-a9
Pre-release
Pre-release
literalandfinaltype modifierssomemodifierlet .. elsereifiedtype parameter keyword- destructured parameters
- unique loop bindings
- safe variance of private members
class A[T]: private t: T def f(self): A().t = 1 # should be an error, unless T is invariant def f(self: A[object]): self.t = "a" # should be an error, can only assign T - solve type var as
Never - f-string and str checks
- inferred functions
- warn when using a bool as an int
- boolean condition overlap diagnostic
- assignment alignment formatting
- type mapping syntax:
[T in (int, str)] - django template file support
from X export Y->from X import Y as Y- redundant
-> Nonediagnostic - bad
cast/isdiagnostic
Download basedpython 0.0.1-a9
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo KotlinIsland/basedpythonYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>