-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
bpo-41203: Replace OS X with macOS #21316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
1ecbddf
732f353
3c955c2
447925a
98dca78
04af2d3
c119eb6
721a670
a3b7b9b
b8fb110
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,7 +126,7 @@ process and user. | |
|
||
.. note:: | ||
|
||
On some platforms, including FreeBSD and Mac OS X, setting ``environ`` may | ||
On some platforms, including FreeBSD and macOS, setting ``environ`` may | ||
cause memory leaks. Refer to the system documentation for | ||
:c:func:`putenv`. | ||
|
||
|
@@ -301,7 +301,7 @@ process and user. | |
|
||
.. note:: | ||
|
||
On Mac OS X, :func:`getgroups` behavior differs somewhat from | ||
On macOS, :func:`getgroups` behavior differs somewhat from | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have doubts about this one. If the note refers to 10.5 and earlier, it should be Mac OS X. |
||
other Unix platforms. If the Python interpreter was built with a | ||
deployment target of :const:`10.5` or earlier, :func:`getgroups` returns | ||
the list of effective group ids associated with the current user process; | ||
|
@@ -448,7 +448,7 @@ process and user. | |
|
||
.. note:: | ||
|
||
On some platforms, including FreeBSD and Mac OS X, setting ``environ`` may | ||
On some platforms, including FreeBSD and macOS, setting ``environ`` may | ||
cause memory leaks. Refer to the system documentation for :c:func:`putenv`. | ||
|
||
.. audit-event:: os.putenv key,value os.putenv | ||
|
@@ -486,7 +486,7 @@ process and user. | |
|
||
.. availability:: Unix. | ||
|
||
.. note:: On Mac OS X, the length of *groups* may not exceed the | ||
.. note:: On macOS, the length of *groups* may not exceed the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. |
||
system-defined maximum number of effective group ids, typically 16. | ||
See the documentation for :func:`getgroups` for cases where it may not | ||
return the same group list set by calling setgroups(). | ||
|
@@ -1295,11 +1295,11 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo | |
On Linux, if *offset* is given as ``None``, the bytes are read from the | ||
current position of *in_fd* and the position of *in_fd* is updated. | ||
|
||
The second case may be used on Mac OS X and FreeBSD where *headers* and | ||
The second case may be used on macOS and FreeBSD where *headers* and | ||
*trailers* are arbitrary sequences of buffers that are written before and | ||
after the data from *in_fd* is written. It returns the same as the first case. | ||
|
||
On Mac OS X and FreeBSD, a value of ``0`` for *count* specifies to send until | ||
On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until | ||
the end of *in_fd* is reached. | ||
|
||
All platforms support sockets as *out_fd* file descriptor, and some platforms | ||
|
@@ -2667,7 +2667,7 @@ features: | |
String that uniquely identifies the type of the filesystem that | ||
contains the file. | ||
|
||
On Mac OS systems, the following attributes may also be available: | ||
On macOS systems, the following attributes may also be available: | ||
|
||
.. attribute:: st_rsize | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ Cross Platform | |
|
||
.. note:: | ||
|
||
On Mac OS X (and perhaps other platforms), executable files may be | ||
On macOS (and perhaps other platforms), executable files may be | ||
universal files containing multiple architectures. | ||
|
||
To get at the "64-bitness" of the current interpreter, it is more | ||
|
@@ -232,13 +232,13 @@ Windows Platform | |
.. versionadded:: 3.8 | ||
|
||
|
||
Mac OS Platform | ||
macOS Platform | ||
--------------- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The length of the underlying line should be corrected. |
||
|
||
|
||
.. function:: mac_ver(release='', versioninfo=('','',''), machine='') | ||
|
||
Get Mac OS version information and return it as tuple ``(release, versioninfo, | ||
Get macOS version information and return it as tuple ``(release, versioninfo, | ||
machine)`` with *versioninfo* being a tuple ``(version, dev_stage, | ||
non_release_version)``. | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was Mac OS X for versions up to 10.7 inclusively.