Message242651
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)? |
|
Date |
User |
Action |
Args |
2015-05-06 09:15:30 | paul.moore | set | recipients:
+ paul.moore, pitrou, projetmbc |
2015-05-06 09:15:30 | paul.moore | set | messageid: <1430903730.39.0.476527730869.issue24132@psf.upfronthosting.co.za> |
2015-05-06 09:15:30 | paul.moore | link | issue24132 messages |
2015-05-06 09:15:30 | paul.moore | create | |
|