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
On Wed, 28 Apr 2021 10:05:32 -0700
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, b
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.
(Spoken as an old U
On Wed, Apr 28, 2021 at 05:44:06PM +0100, Barney Gale wrote:
> From a bit of googling, Python seems to be an outlier in having a function to
> retrieve another user’s home directory.
> Any views on this? Is expanduser(‘~other’) fixable and worth fixing? If not,
> should we deprecate this functiona