python / python/cpython

Please clarify the uninstallation instructions for Mac

Abierto
#128,039 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@ned-deily ya está trabajando en esto.

Desde el 17/12/2024.

docs OS-mac topic-installation
Lenguaje dominante
Python
Estrellas
77.2k
Forks
36k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

Documentation

The current installation docs have two bullet points under the heading “A default install will include”. The second bullet point says “To uninstall Python, you can remove these three things.”

I had no idea what “three things” that sentence is referring to, until someone told me

It’s the three things that were mentioned in the previous paragraph, i.e. the usemac applications folder, IDLE, and the Python Launcher.

Could it be made more explicit? Something like the following makes more sense to me:

A default install will include:

* A |usemac_applications_folder_name| folder in your :file:`Applications` folder;

* Within the |usemac_applications_folder_name| folder: :program:`IDLE`, the development environment that is a standard part of official Python distributions;

* Also within the |usemac_applications_folder_name| folder: :program:`Python Launcher`, which handles double-clicking
  Python scripts from the macOS `Finder <https://support.apple.com/en-us/HT201732>`_;

* A :file:`3.13` folder (under the "framework" :file:`/Library/Frameworks/Python.framework`), which includes the
  Python executable and libraries (the installer adds this location to your shell
  path);

* Symlinks to the above Python executable, placed in :file:`/usr/local/bin/`.

To uninstall Python, you can remove the above five things.

.. note::

   Recent versions of macOS include a :command:`python3` command in :file:`/usr/bin/python3`
   that links to a usually older and incomplete version of Python provided by and for use by
   the Apple development tools, :program:`Xcode` or the :program:`Command Line Tools for Xcode`.
   You should never modify or attempt to delete this installation, as it is
   Apple-controlled and is used by Apple-provided or third-party software.  If
   you choose to install a newer Python version from ``python.org``, you will have
   two different but functional Python installations on your computer that
   can co-exist. The default installer options should ensure that its :command:`python3`
   will be used instead of the system :command:`python3`.

Linked PRs
  • gh-128040
  • gh-129930

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.