[issue31272] typing module conflicts with __slots__-classes

2017-08-28 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: It is listed in Misc/NEWS as "minor bug fixes" in typing module, I don't think this is something that deserves a separate line in release notes. -- resolution: -> out of date stage: -> resolved status: open -> closed

[issue31272] typing module conflicts with __slots__-classes

2017-08-28 Thread Ilia Korvigo
Ilia Korvigo added the comment: Indeed, this issue has been fixed. Anyway, it is not mentioned in any release notes. Perhaps, this should be mentioned somewhere. > On 25 Aug 2017, at 21:43, Ivan Levkivskyi wrote: > > > Ivan Levkivskyi added the comment: > > I think

[issue31272] typing module conflicts with __slots__-classes

2017-08-25 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I think this is fixed in latest version. I thought it was also backported to Python 3.5.3. What is the version you are using? Could you please try updating to the latest bugfix release? (currently these are 3.5.4 and 3.6.2). -- nosy: +levkivskyi

[issue31272] typing module conflicts with __slots__-classes

2017-08-24 Thread Ilia Korvigo
New submission from Ilia Korvigo: I've got conflicts between Python's typing system and `__slots__`. Here is a small reproducible example. from typing import TypeVar, Generic, Sequence T = TypeVar("T") class TestGeneric(Sequence, Generic[T]): __slots__ = ("test",)