-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Issues: python/mypy
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Support for Final-as-default, like Rust
feature
topic-final
PEP 591
#16313
opened Oct 22, 2023 by
willhansen
TypedDict 'in' narrowing w/o @final
feature
topic-final
PEP 591
topic-type-narrowing
Conditional type narrowing / binder
topic-typed-dict
#15697
opened Jul 18, 2023 by
ikonst
Narrow PEP 591
topic-type-narrowing
Conditional type narrowing / binder
x is Sentinel
where x is Union[type[Sentinel], ...]
and Sentinel is @final
feature
topic-final
#15553
opened Jun 29, 2023 by
jonathanslenders
[stubtest] Support PEP 591
topic-stubtest
@final
decorator on methods as well
feature
topic-final
#14924
opened Mar 19, 2023 by
sobolevn
final TypedDict with total=False does not allow clear/popitem
bug
mypy got something wrong
topic-final
PEP 591
topic-typed-dict
#14914
opened Mar 17, 2023 by
alicederyn
Overloading an abstract attribute with a Final one
bug
mypy got something wrong
topic-final
PEP 591
topic-inheritance
Inheritance and incompatible overrides
#14863
opened Mar 9, 2023 by
ydirson
Fixes no error thrown for Final fields declared with init=False and not assigned inside __init__
topic-dataclasses
topic-final
PEP 591
#14285
opened Dec 12, 2022 by
jakezych
Loading…
Consider allowing PEP 591
topic-protocols
@final
methods in Protocols
feature
topic-final
#13310
opened Aug 2, 2022 by
tmke8
no error when setting PEP 591
init=False
on Final
field in dataclass
feature
good-second-issue
priority-2-low
topic-dataclasses
topic-final
#13119
opened Jul 14, 2022 by
DetachHead
TypeVar
not narrowed when using isinstance
or issubclass
on final
classes
bug
#12163
opened Feb 10, 2022 by
DetachHead
Allow Annotated to wrap Final and ClassVar
bug
mypy got something wrong
topic-final
PEP 591
#12061
opened Jan 25, 2022 by
GBeauregard
type not narrowed within function when it's mypy got something wrong
topic-final
PEP 591
Final
bug
#12006
opened Jan 18, 2022 by
DetachHead
Many classes should be decorated as Issues relevant to mypy developers
topic-final
PEP 591
@final
feature
needs discussion
topic-developer
#11179
opened Sep 23, 2021 by
sobolevn
Allow PEP 591
Final
in type arguments to avoid shadowing arguments - disallow reassignment of function parameters
feature
topic-final
#11076
opened Sep 8, 2021 by
MadLittleMods
Inconsistent narrowing of Union and TypeVar with constraints and neglect of @final
bug
mypy got something wrong
topic-final
PEP 591
topic-type-narrowing
Conditional type narrowing / binder
#10898
opened Jul 31, 2021 by
tyralla
Error on conditional initialization of Final class variables
bug
mypy got something wrong
topic-final
PEP 591
#10736
opened Jun 29, 2021 by
nelsyeung
Allow Final attributes declared in class body if initialized in ctor
needs discussion
topic-final
PEP 591
#8982
opened Jun 9, 2020 by
llchan
final TypedDict
feature
priority-1-normal
topic-final
PEP 591
topic-typed-dict
#7981
opened Nov 20, 2019 by
crusaderky
Mypy does not correctly narrow indexing operations when using Literal or Final keys
priority-2-low
topic-final
PEP 591
topic-literal-types
topic-type-narrowing
Conditional type narrowing / binder
topic-typed-dict
#7905
opened Nov 8, 2019 by
Michael0x2a
FR: Type narrowing for x is C
documentation
feature
priority-1-normal
topic-final
PEP 591
topic-type-narrowing
Conditional type narrowing / binder
#7642
opened Oct 5, 2019 by
jbwdevries
Allow setting final instance attributes in __new__
feature
priority-1-normal
topic-final
PEP 591
#5774
opened Oct 11, 2018 by
ilevkivskyi
Allow omitting initializer for Final attributes in dataclasses
feature
priority-1-normal
topic-dataclasses
topic-final
PEP 591
#5608
opened Sep 12, 2018 by
ilevkivskyi
ProTip!
Updated in the last three days: updated:>2024-11-08.