Message191203
| Author |
Łukasz.Balcerzak |
| Recipients |
Łukasz.Balcerzak |
| Date |
2013年06月15日.12:40:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1371300014.52.0.302689191901.issue18222@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|