[Python-ideas] Working with Path objects: p-strings?

Random832 random832 at fastmail.com
Sat Mar 26 15:22:23 EDT 2016


On Fri, Mar 25, 2016, at 17:59, Greg Ewing wrote:
> >>>On 24.03.2016 22:06, Koos Zevenhoven wrote:
> >>>
> >>>Or even better, that you could do p"filename.txt", which would give you a
> >>>Path string object.
> 
> That would tie Path objects deeply into the parser and compiler,
> which I'm not sure is a good idea.

It's not obviously _not_ a good idea. Are float and complex more
"worthy" of being tied into the parser and compiler than Path?


More information about the Python-ideas mailing list