Re:How to Port from Python 2 to Python 3 (2019)
by classified on Thursday January 23, 2020 @09:27AM
(#22127770)
IIRC, the Python used in the macOS vim(1) is still 2.x. So at least on a Mac it won't be possible to just move on to Py3 and forget / uninstall Py2 for the foreseeable future.
[ Parent
| on HN ]
Re:How to Port from Python 2 to Python 3 (2019)
by cinnamonheart on Thursday January 23, 2020 @09:58AM
(#22127997)
I think you can just do
brew install vim -- --with-override-system-vi --with-python3
To get a vim with python 3 on mac os. You are correct that it defaults to python 2, though.
Re:How to Port from Python 2 to Python 3 (2019)
by throwaway333444 on Thursday January 23, 2020 @10:42AM
(#22128387)
Additionally, the next version of macOS, out this fall, will remove/hide the system version of python (python2) from users.
Look under Scripting Language Runtimes
https://developer.apple.com/documentation/macos_release_note...