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 alexia
Recipients alexia, brett.cannon, eric.smith, miss-islington, pitrou, serhiy.storchaka, steve.dower, tebeka
Date 2021-09-13.16:39:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631551146.91.0.758518526329.issue38222@roundup.psfhosted.org>
In-reply-to
Content
I would like for this to be reconsidered. Yes, you can use str(), but converting back and forth becomes really clunky:

log_dir = 'logs/{date}'
log_file = Path(str(path).format(time.strftime('%Y-%m-%d')) / 'log.txt'
History
Date User Action Args
2021-09-13 16:39:06alexiasetrecipients: + alexia, brett.cannon, tebeka, pitrou, eric.smith, serhiy.storchaka, steve.dower, miss-islington
2021-09-13 16:39:06alexiasetmessageid: <1631551146.91.0.758518526329.issue38222@roundup.psfhosted.org>
2021-09-13 16:39:06alexialinkissue38222 messages
2021-09-13 16:39:06alexiacreate