Release Notes
Enhancements
- Allow unions including
Any
/Unknown
as bases (#18094) - Better control flow for boolean expressions that are inside if (#18010)
- Improve invalid method calls for unmatched overloads (#18122)
- Add support for
NamedTuple
'fallback' attributes (#18127) type[…]
is always assignable totype
(#18121)- Support accessing
__builtins__
global (#18118)
Bug fixes
- Fix relative imports in stub packages (#18132)
Contributors
Install ty 0.0.1-alpha.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.4/ty-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.4/ty-installer.ps1 | iex"