This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients DahlitzFlorian, brett.cannon, mdk, vinay.sajip, xtreak
Date 2019-12-08.22:55:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575845726.06.0.490506872976.issue38901@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-12-08 22:55:26brett.cannonsetrecipients: + brett.cannon, vinay.sajip, mdk, DahlitzFlorian, xtreak
2019-12-08 22:55:26brett.cannonsetmessageid: <1575845726.06.0.490506872976.issue38901@roundup.psfhosted.org>
2019-12-08 22:55:26brett.cannonlinkissue38901 messages
2019-12-08 22:55:25brett.cannoncreate