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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/A2UJ5HGGAZPWRWCNOUIVPANQNL7WY5OH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to