8000 bpo-41203: Replace OS X with macOS by pxeger · Pull Request #21316 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
(bpo-41203) Macintosh -> Mac
  • Loading branch information
pxeger committed Jul 4, 2020
commit 3c955c218f39d8022e58ff748b9ef603a420efd1
2 changes: 1 addition & 1 deletion Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ Glossary
universal newlines
A manner of interpreting text streams in which all of the following are
recognized as ending a line: the Unix end-of-line convention ``'\n'``,
the Windows convention ``'\r\n'``, and the old Macintosh convention
the Windows convention ``'\r\n'``, and the old Mac convention
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to keep Macintosh here. This is referring to MacOS 9 and earlier, when Macintosh was commonly used to describe the system.

``'\r'``. See :pep:`278` and :pep:`3116`, as well as
:func:`bytes.splitlines` for an additional use.

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/binascii.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The :mod:`binascii` module defines the following functions:
and 85.

Module :mod:`binhex`
Support for the binhex format used on the Macintosh.
Support for the binhex format used on the Mac.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, I'd prefer to keep Macintosh.


Module :mod:`uu`
Support for UU encoding used on Unix.
Expand Down
6 changes: 3 additions & 3 deletions Doc/library/binhex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
--------------

This module encodes and decodes files in binhex4 format, a format allowing
representation of Macintosh files in ASCII. Only the data fork is handled.
representation of Mac files in ASCII. Only the data fork is handled.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

8000


The :mod:`binhex` module defines the following functions:

Expand Down Expand Up @@ -54,6 +54,6 @@ Notes
There is an alternative, more powerful interface to the coder and decoder, see
the source for details.

If you code or decode textfiles on non-Macintosh platforms they will still use
the old Macintosh newline convention (carriage-return as end of line).
If you code or decode textfiles on non-Mac platforms they will still use
the old Mac newline convention (carriage-return as end of line).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise (for both lines).


2 changes: 1 addition & 1 deletion Doc/library/codecs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ particular, the following variants typically exist:
| mac_latin2 | maclatin2, maccentraleurope, | Central and Eastern Europe |
| | mac_centeuro | |
+-----------------+--------------------------------+--------------------------------+
| mac_roman | macroman, macintosh | Western Europe |
| mac_roman | macroman, Mac | Western Europe |
+-----------------+--------------------------------+--------------------------------+
| mac_turkish | macturkish | Turkish |
+-----------------+--------------------------------+--------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/site.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It starts by constructing up to four directories from a head and a tail part.
For the head part, it uses ``sys.prefix`` and ``sys.exec_prefix``; empty heads
are skipped. For the tail part, it uses the empty string and then
:file:`lib/site-packages` (on Windows) or
:file:`lib/python{X.Y}/site-packages` (on Unix and Macintosh). For each
:file:`lib/python{X.Y}/site-packages` (on Unix and Mac). For each
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macOS

of the distinct head-tail combinations, it sees if it refers to an existing
directory, and if so, adds it to ``sys.path`` and also inspects the newly
added path for configuration files.
Expand Down
2 changes: 1 addition & 1 deletion Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ A physical line is a sequence of characters terminated by an end-of-line
sequence. In source files and strings, any of the standard platform line
termination sequences can be used - the Unix form using ASCII LF (linefeed),
the Windows form using the ASCII sequence CR LF (return followed by linefeed),
or the old Macintosh form using the ASCII CR (return) character. All of these
or the old Mac form using the ASCII CR (return) character. All of these
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to keep the name "Macintosh" here as well.

forms can be used equally, regardless of platform. The end of input also serves
as an implicit terminator for the final physical line.

Expand Down
4 changes: 2 additions & 2 deletions Doc/using/mac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
.. _using-on-mac:

***************************
Using Python on a Macintosh
Using Python on a Mac
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix lines before and after this line.

Is Mac an official name of all computers running macOS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number of *s should match the length of the title.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Wikipedia "Mac" is a correct name for modern Apple's computers.

***************************

:Author: Bob Savage <bobsavage@mac.com>


Python on a Macintosh running macOS is in principle very similar to Python on
Python on a Mac running macOS is in principle very similar to Python on
any other Unix platform, but there are a number of additional features such as
the IDE and the Package Manager that are worth pointing out.

Expand Down
0