Karthikeyan Singaravelan <tir.kar...@gmail.com> 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 
<class '__main__.X'>. Was __classcell__ propagated to type.__new__?
  class X(NamedTuple):

It was converted into RuntimeError in 
https://github.com/python/cpython/commit/f5e7b1999f46e592d42dfab51563ea5411946fb7
 . Related https://bugs.python.org/issue23722

----------
nosy: +xtreak

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to