[Python-Dev] datetime nanosecond support (original) (raw)
martin at v.loewis.de martin at v.loewis.de
Wed Jul 25 19:02:09 CEST 2012
- Previous message: [Python-Dev] datetime nanosecond support
- Next message: [Python-Dev] feature freeze questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
1. For the reasons presented, I think it's worth attempting to define a common API that is based on datetime, but is tailored towards high precision time operations (at least using a different internal representation, perhaps supporting TAI).
IIUC, the concern is about the DB-API, which does sort-of mandate that the datetime module is used to represent SQL time types. So not basing this off datetime isn't really an option.
Providing a subtype should work, though.
Regards, Martin
- Previous message: [Python-Dev] datetime nanosecond support
- Next message: [Python-Dev] feature freeze questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]