[issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

anatoly techtonik report at bugs.python.org
Thu Sep 15 22:17:57 CEST 2011


anatoly techtonik <techtonik at gmail.com> added the comment:

On Thu, Sep 15, 2011 at 10:42 PM, Alexander Belopolsky
<report at bugs.python.org> wrote:
>
> Shouldn't we say "datetime and time" instead of "date and time"?
> There is no tzinfo attribute in date objects.

Does that mean that if aware `datetime` is converted to `date` and
then back, the tzinfo information is lost and object implicitly
becomes naive? In this case it should mentioned IMO.
--
anatoly t.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8822>
_______________________________________


More information about the Python-bugs-list mailing list