[issue47166] Dataclass transform should ignore TypeAlias variables

2022-04-06 Thread Thomas MK
Thomas MK added the comment: There is of course no hard reason for not using the global scope. I just often have enums (or other types) that are very closely linked to one class. And it makes sense to me then to have a TypeAlias in that class so that I don't have to import the

[issue47166] Dataclass transform should ignore TypeAlias variables

2022-03-30 Thread Thomas MK
New submission from Thomas MK : The dataclass transformation ignores attributes that are annotated as ClassVar. I think it should also ignore attributes that are annotated as TypeAlias. Specifically, I have this usecase in mind: class RunMode(Enum): release = auto() debug = auto

[issue15716] Ability to specify the PYTHONPATH via a command line flag

2014-04-12 Thread mk
Changes by mk : -- nosy: +migel.k ___ Python tracker <http://bugs.python.org/issue15716> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth