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.

classification
Title: Deprecate stat.S_IF* integer constants
Type: behavior Stage:
Components: Documentation, Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: christian.heimes, docs@python
Priority: normal Keywords:

Created on 2013-05-07 12:05 by christian.heimes, last changed 2022-04-11 14:57 by admin.

Messages (2)
msg188641 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-05-07 12:05
Related to #11016
I like to deprecate the S_IF* constants in favor of the S_IS*() functions.

rationals:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html

No new S_IFMT symbolic names for the file type values of mode_t will be defined by POSIX.1-2008; if new file types are required, they will only be testable through S_ISxx() or S_TYPEISxxx() macros instead.
msg223261 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-16 19:44
Should this have the same nosy list as #11016 ?
History
Date User Action Args
2022-04-11 14:57:45adminsetgithub: 62124
2021-10-21 13:06:37christian.heimessetversions: + Python 3.11, - Python 3.4
2019-04-26 19:48:28BreamoreBoysetnosy: - BreamoreBoy
2014-07-16 19:44:04BreamoreBoysetnosy: + BreamoreBoy
messages: + msg223261
2013-05-07 12:05:20christian.heimescreate