[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 enum

[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 mige...@gmail.com: -- nosy: +migel.k ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15716 ___ ___ Python-bugs-list mailing list