Comparing offset-aware and offset-naive datetimes?

Roy Smith roy at
Sun Jan 27 02:47:01 CET 2013

I have two datetimes.  One is offset-naive.  The other is offset-aware, 
but I happen to know its offset is 0 (i.e. GMT).  How can I compare 

May the flies of a thousand Norwegian Blue parrots infest the armpits of 
whoever invented timezones.

More information about the Python-list mailing list