News for hackers. Stuff that matters.
Re:What’s New In Python 3.6 by skrause on Thursday December 08, 2016 @01:31AM (#13128796)
I doubt that because defining a namedtuple just creates a new class internally: https://github.com/python/cpython/blob/master/Lib/collection...

Class creation the very expensive in Python, so Guido van Rossum explicitly recommends against using dynamically created namedtuples: https://mail.python.org/pipermail//python-ideas/2016-April/0...

Re:What’s New In Python 3.6 by tcbawo on Thursday December 08, 2016 @10:25AM (#13130834)
I believe that objects of namedtuple have less runtime overhead than a class. Guido seems to point out that the process of instantiating a namedtuple class is expensive.