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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27661>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to