Brett Cannon <br...@python.org> added the comment:

If it were `.` would we then always check if the prompt was a folder and then 
use the folder's name in that case? Or would it only apply to `.`?

As for `__curdir__`, it could work, but I don't know how easy would that be to 
remember or explain to new users compared to `.`?

My vote is to support `.` and make the rule that if you specify a folder it 
will use the basename automatically.

----------

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

Reply via email to