Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...datetime-sig Alexander Belopolsky Discussions related to date and time archive, subscribe db-sig Andy Todd Databases archive, subscribe distutils-sig A.M. Kuchling Packaging and build tools. archive, subscribe doc-sig Fred Drake Documentation archive, subscribe edu-sig Timothy Wilson Python in Education archive, subscribe email-sig Barry Warsaw email package SIG archive, subscribe i18n-sig Andy Robinson Internationalization archive, subscribe image-sig Fredrik Lundh Image Processing archi...
...datetime changes: The date class is now properly subclassable. (SF bug #720908) The datetime and datetimetz classes have been collapsed into a single datetime class, and likewise the time and timetz classes into a single time class. Previously, a datetimetz object with tzinfo=None acted exactly like a datetime object, and similarly for timetz. This wasn't enough of a difference to justify distinct classes, and life is simpler now. today() and now() now round system timestamps to the closest m...
...datetime.date to a datetime.datetime mistakenly compared only the year, month and day. Now it acts like a mixed-type comparison: False for ==, True for !=, and raises TypeError for other comparison operators. Because datetime is a subclass of date, comparing only the base class (date) members can still be done, if that's desired, by forcing using of the appropriate date method; e.g., a_date.__eq__(a_datetime) is true if and only if the year, month and day members of a_date and a_datetime are e...
...datetime.date to a datetime.datetime mistakenly compared only the year, month and day. Now it acts like a mixed-type comparison: False for ==, True for !=, and raises TypeError for other comparison operators. Because datetime is a subclass of date, comparing only the base class (date) members can still be done, if that's desired, by forcing using of the approprate date method; e.g., a_date.__eq__(a_datetime) is true if and only if the year, month and day members of a_date and a_datetime are eq...
...datetime - a fast, compact implementation in C of date and time calculations ranging from the year 1 to 9999, with optional timezone support; written by Tim Peters. (New in 2.3a2: too much to list here; see Misc/NEWS.) heapq - implements the heap queue algoritm known from 1st year algorithms classes. Code by Kevin O'Connor, write-up by François Pinard, many improvements by Tim Peters. imaplib - added SSL support. imp - exposed the "import lock". (New in 2.3a2.) itertools - high ...
If you didn't find what you need, try your search in the Python language documentation.