[New-bugs-announce] [issue27661] Add tzinfo= argument to datetime.combine

Alexander Belopolsky report at bugs.python.org
Sun Jul 31 18:12:21 EDT 2016


New submission from Alexander Belopolsky:

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.

Guido's LGTM: https://mail.python.org/pipermail/datetime-sig/2016-July/000993.html

----------
assignee: belopolsky
messages: 271751
nosy: belopolsky
priority: normal
severity: normal
status: open
title: Add tzinfo= argument to datetime.combine
type: enhancement
versions: Python 3.6

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


More information about the New-bugs-announce mailing list