I see no reason why this shouldn't be allowed. It seems like a straight-forward feature request, and one that is compatible with the basic idea that Path objects should be usable anywhere you need a file name.
You should just add an enhancement request on the bug tracker (but check to see if there is already one there first!) and, if possible, a patch or PR. -- Steven _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/A2UJ5HGGAZPWRWCNOUIVPANQNL7WY5OH/ Code of Conduct: http://python.org/psf/codeofconduct/
