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

Reply via email to