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 cool-RR
Recipients Arfrever, barry, brett.cannon, bronger, cool-RR, daniel.ugra, ezio.melotti, georg.brandl, gvanrossum, pitrou, python-dev, serhiy.storchaka, tshepang
Date 2016-01-10.15:09:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452438575.1.0.0322840740513.issue22570@psf.upfronthosting.co.za>
In-reply-to
Content
Here's an alternate idea I thought of now. Maybe `path.path` should be a pointer to the same `Path` object, so every function will do this: 

    str(arg.path) if hasattr(arg, 'path') else arg

What I like about this is that it avoids having the path argument be a string. I don't like misnomers :)

I'd understand though if people won't like this suggestion since it introduces another step, of turning the path back into a string.
History
Date User Action Args
2016-01-10 15:09:35cool-RRsetrecipients: + cool-RR, gvanrossum, barry, brett.cannon, georg.brandl, pitrou, bronger, ezio.melotti, Arfrever, daniel.ugra, tshepang, python-dev, serhiy.storchaka
2016-01-10 15:09:35cool-RRsetmessageid: <1452438575.1.0.0322840740513.issue22570@psf.upfronthosting.co.za>
2016-01-10 15:09:35cool-RRlinkissue22570 messages
2016-01-10 15:09:34cool-RRcreate