You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Field name with underscore is reported as error with namedtuple functional form #11033
The typing spec and conformance tests were recently updated to cover the case where a namedtuple defined using the functional form and a rename=True parameter should allow field names starting with an underscore. These would normally be illegal (and rejected at runtime), but they are allowed when rename=True.
Activity
Fixed bug that results in a false positive when a `namedtuple` functi…
Fixed bug that results in a false positive when a `namedtuple` functi…
erictraut commentedon Oct 22, 2025
This is addressed in pyright 1.1.407