On 4/28/2021 1:05 PM, Guido van Rossum wrote:
On UNIX-oid platforms (e.g. BSD, Linux, Mac), ~user/ should be reasonably reliable, after all the shell does it. On Windows, only ~/ can be relied upon -- the rest is "best effort". I'd be okay with deprecating ~user/ on Windows, but on UNIX-oid it should not be deprecated IMO.
On all systems, IDLE uses expanduser('~') and expanduser(path). On Mac, it uses expanduser('~/Library/Preferences/.GlobalPreferences.plist'). So I presume deprecating ~something only on Windows should not affect IDLE.

--
Terry Jan Reedy

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ZWXDZ23TUXFRB4WFTCC6LRVK36CJO4XR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to