https://github.com/python/cpython/commit/83d2ed45179457c1248793d83adb48e2869bd912
commit: 83d2ed45179457c1248793d83adb48e2869bd912
branch: main
author: Maurycy Pawłowski-Wieroński <[email protected]>
committer: cmaloney <[email protected]>
date: 2026-11-21T12:10:21-08:00
summary:

gh-66074: Remove `os.stat_result` references to Classic Mac OS `st_rsize`, 
`st_creator`, `st_type` (#162382)

Classic Mac OS leftovers. Removed by #66074 but #66012 brought it back. Reusing 
a closed issue with more context if that's OK.

files:
M Doc/library/os.rst
M Doc/tools/removed-ids.txt

diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 9cf4a4efe5c0ee9..766d1748762f088 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3448,20 +3448,6 @@ features:
       String that uniquely identifies the type of the filesystem that
       contains the file.
 
-   On macOS systems, the following attributes may also be available:
-
-   .. attribute:: st_rsize
-
-      Real size of the file.
-
-   .. attribute:: st_creator
-
-      Creator of the file.
-
-   .. attribute:: st_type
-
-      File type.
-
    On Windows systems, the following attributes are also available:
 
    .. attribute:: st_file_attributes
diff --git a/Doc/tools/removed-ids.txt b/Doc/tools/removed-ids.txt
index bc9546eb0336b16..386018a026a16d1 100644
--- a/Doc/tools/removed-ids.txt
+++ b/Doc/tools/removed-ids.txt
@@ -126,3 +126,8 @@ library/concurrent.interpreters.html: 
concurrent.interpreters.QueueFullError
 
 # Removed footnote
 c-api/exceptions.html: win
+
+# Classic Mac OS attributes that 'os.stat_result' does not have
+library/os.html: os.stat_result.st_creator
+library/os.html: os.stat_result.st_rsize
+library/os.html: os.stat_result.st_type

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to