[Datetime-SIG] Add tzinfo= argument to datetime.combine

Alexander Belopolsky alexander.belopolsky at gmail.com
Sun Jul 31 12:45:36 EDT 2016


I would like to propose a small new feature: add an optional tzinfo
argument to datetime.combine() so that

 datetime.combine(d, t, info)

returns the same object as

 datetime.combine(d, t).replace(tzinfo=info)

but without creating an intermediate naive instance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20160731/0e5150b6/attachment.html>


More information about the Datetime-SIG mailing list