Andrei Kulakov <andrei....@gmail.com> added the comment:

If CWD=/a/b and pycache_prefix=c, the resulting dir is /a/b/c as I would expect.

If CWD=/a/b and pycache_prefix='', I would expect resulting dir to be /a/b 
 instead of /a/b/a/b .

For example as the shell `cd` command accepts relative path as arg, I would 
expect that `cd c` changes to /a/b/c ; but it would be very strange to expect 
`cd ` with empty arg to change to /a/b/a/b .

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45977>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to