A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-September/141766.html below:

[Python-Dev] PEP 495 accepted

[Python-Dev] PEP 495 accepted [Python-Dev] PEP 495 acceptedTim Peters tim.peters at gmail.com
Tue Sep 22 17:16:11 CEST 2015
[Tim]
> ...
> The
> top-level operation on the RHS is datetime.fromtimestamp().  However,
> it didn't pass a tzinfo, so it creates a naive datetime.  Assuming dt
> was aware to begin with, the attempt to compare will always (gap or
> not) raise an exception.

Oops!  In current Python, comparing naive and aware via `==` just
returns False.  That's even more confusing ;-)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4