[issue28790] Error when using Generic and __slots__

2016-11-29 Thread Ned Deily
Changes by Ned Deily : -- stage: commit review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue28790] Error when using Generic and __slots__

2016-11-29 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed stage: -> commit review status: open -> closed type: -> behavior ___ Python tracker ___ _

[issue28790] Error when using Generic and __slots__

2016-11-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0bbd29405c9d by Guido van Rossum in branch '3.5': Issue #28790: Fix error when using Generic and __slots__ (Ivan L) https://hg.python.org/cpython/rev/0bbd29405c9d New changeset 2dd08b5b5ee6 by Guido van Rossum in branch '3.6': Issue #28790: Fix erro

[issue28790] Error when using Generic and __slots__

2016-11-29 Thread Guido van Rossum
Guido van Rossum added the comment: OK, having thought about it some more, given that you don't seem to object too strenuously, I'm going to merge the fix. May it be the last one! -- ___ Python tracker ___

[issue28790] Error when using Generic and __slots__

2016-11-28 Thread Ned Deily
Ned Deily added the comment: I don't have a good sense of the severity of this issue but it doesn't seem like it qualifies as release critical. On the other hand, the changes are isolated to typing and typing is more fluid than older, more established modules. If you think it should go in 3.

[issue28790] Error when using Generic and __slots__

2016-11-24 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28790] Error when using Generic and __slots__

2016-11-24 Thread Guido van Rossum
New submission from Guido van Rossum: Proxy for https://github.com/python/typing/issues/332 (issue) and https://github.com/python/typing/pull/334 (fix). """ from typing import Generic, TypeVar class C(Generic[TypeVar('T')]): __slots__ = ('potato',) # ValueError: 'potato' in __slots__