[New-bugs-announce] [issue35802] os.stat / os.lstat always present, but code checks hastattr(os, 'stat') / hasattr(os, 'lstat')
Anthony Sottile
report at bugs.python.org
Mon Jan 21 16:42:34 EST 2019
New submission from Anthony Sottile <asottile at umich.edu>:
Unless I'm reading incorrectly:
https://github.com/python/cpython/blob/7a2368063f25746d4008a74aca0dc0b82f86ff7b/Modules/clinic/posixmodule.c.h#L30-L31
https://github.com/python/cpython/blob/7a2368063f25746d4008a74aca0dc0b82f86ff7b/Modules/clinic/posixmodule.c.h#L68-L69
----------
components: Library (Lib)
messages: 334182
nosy: Anthony Sottile
priority: normal
severity: normal
status: open
title: os.stat / os.lstat always present, but code checks hastattr(os, 'stat') / hasattr(os, 'lstat')
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35802>
_______________________________________
More information about the New-bugs-announce
mailing list