Tim Peters added the comment:

Yup, it's definitely more than 8 bytes.  In addition to the comments you 
quoted, an in-memory datetime object also has a full Python object header, a 
member to cache the hash code, and a byte devoted to saying whether or not a 
tzinfo member is present.

Guessing Guido was actually thinking about the pickle size - but that's 10 
bytes (for a "naive" datetime object).

----------

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

Reply via email to