[issue41629] __class__ not set defining 'X' as

2021-09-23 Thread Marc Mueller
Change by Marc Mueller : -- nosy: +cdce8p ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41629] __class__ not set defining 'X' as

2021-01-06 Thread Richard Neumann
Richard Neumann added the comment: I just stumbled across this issue trying to resolve this: https://bugs.python.org/issue42765? While this fails: from typing import NamedTuple class Spamm(NamedTuple): foo: int bar: str def __getitem__(self, index_or_key): """Returns

[issue41629] __class__ not set defining 'X' as

2020-08-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__? -> __class__ not set defining 'X' as ___ Python tracker

[issue41629] __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__?

2020-08-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related SO questions : * https://stackoverflow.com/questions/61543768/super-in-a-typing-namedtuple-subclass-fails-in-python-3-8 * https://stackoverflow.com/questions/41343263/provide-classcell-example-for-python-3-6-metaclass --

[issue41629] __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__?

2020-08-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The example used to raise deprecation warning in python 3.7 python3.7 -Wall ../backups/bpo41629.py ../backups/bpo41629.py:4: DeprecationWarning: __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__? class

[issue41629] __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__?

2020-08-24 Thread mike bayer
New submission from mike bayer : This is likely related or a dupe of https://bugs.python.org/issue29270, but the error message is different. I'm posting this to confirm it's the same issue, or not, and to at least provide a google result for people who also see this error as 29270 seems to