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 paul.moore
Recipients paul.moore, pitrou, projetmbc
Date 2015-05-06.09:15:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430903730.39.0.476527730869.issue24132@psf.upfronthosting.co.za>
In-reply-to
Content
One issue with your code - what would you expect str(test) to produce? "dir/test.txt" or "dir\test.txt"? That's the point of the "flavour" - is it a Windows path or a Unix path?

Agreed that an easier method of creating Path subclasses that handle this type of thing would be useful, but any solution needs to make sure that developers don't overlook the Windows vs Unix implications.

Can you give an actual use case (as opposed to the toy example)?
History
Date User Action Args
2015-05-06 09:15:30paul.mooresetrecipients: + paul.moore, pitrou, projetmbc
2015-05-06 09:15:30paul.mooresetmessageid: <1430903730.39.0.476527730869.issue24132@psf.upfronthosting.co.za>
2015-05-06 09:15:30paul.moorelinkissue24132 messages
2015-05-06 09:15:30paul.moorecreate