[New-bugs-announce] [issue28067] Do not call localtime in datetime module

Alexander Belopolsky report at bugs.python.org
Sat Sep 10 15:13:49 EDT 2016


New submission from Alexander Belopolsky:

POSIX localtime function mutates global state which leads to subtle bugs on some platforms.  We should call localtime_r or localtime_s instead.

See issue 22627.

----------
assignee: belopolsky
messages: 275678
nosy: belopolsky
priority: normal
severity: normal
status: open
title: Do not call localtime in datetime module
type: behavior
versions: Python 3.6

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


More information about the New-bugs-announce mailing list