Message223075
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). |
|
Date |
User |
Action |
Args |
2014-07-15 01:51:21 | tim.peters | set | recipients:
+ tim.peters, lemburg, belopolsky, pitrou, vstinner, Arfrever, r.david.murray, andrewclegg, Ramchandra Apte, goshawk, Niklas.Claesson |
2014-07-15 01:51:21 | tim.peters | set | messageid: <1405389081.12.0.773660597485.issue15443@psf.upfronthosting.co.za> |
2014-07-15 01:51:21 | tim.peters | link | issue15443 messages |
2014-07-15 01:51:20 | tim.peters | create | |
|