This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Daniel.O'Connor, r.david.murray
Date 2011-08-15.15:36:17
SpamBayes Score 0.0049502566
Marked as misclassified No
Message-id <1313422577.83.0.152353179224.issue12750@psf.upfronthosting.co.za>
In-reply-to
Content
Ah.  Well, pre-3.2 datetime itself did not generate *any* non-naive datetimes.

Nor do you need to specify everything for replace.  dt.replace(tzinfo=tz) should work just fine.
History
Date User Action Args
2011-08-15 15:36:17r.david.murraysetrecipients: + r.david.murray, Daniel.O'Connor
2011-08-15 15:36:17r.david.murraysetmessageid: <1313422577.83.0.152353179224.issue12750@psf.upfronthosting.co.za>
2011-08-15 15:36:17r.david.murraylinkissue12750 messages
2011-08-15 15:36:17r.david.murraycreate