Message191203
In projects I work on I constantly end up creating something like:
abspath = lambda *p: os.path.abspath(os.path.join(*p))
This could be easily avoided by allowing abspath to accept multiple arguments. This would be:
1. Backward compatibile (calls with single argument would remain the same)
2. Very simple to fix (just join given path parts before doing anything else)
I can document this, do most of the coding and test on Mac and linux, however would not be able to test on other platforms.
Let me know if this is acceptable. Attaching a diff with posixpath update. |
|
Date |
User |
Action |
Args |
2013-06-15 12:40:14 | Łukasz.Balcerzak | set | recipients:
+ Łukasz.Balcerzak |
2013-06-15 12:40:14 | Łukasz.Balcerzak | set | messageid: <1371300014.52.0.302689191901.issue18222@psf.upfronthosting.co.za> |
2013-06-15 12:40:14 | Łukasz.Balcerzak | link | issue18222 messages |
2013-06-15 12:40:14 | Łukasz.Balcerzak | create | |
|