Raymond Hettinger added the comment:
The size of the _source attribute is about 2k per namedtuple class:
>>> from collections import namedtuple
>>> Response = namedtuple('Response', ['code', 'msg', 'compressed', 'written'])
>>> len(Response._source)
2174
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19640>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com