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 Ł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.Balcerzaksetrecipients: + Łukasz.Balcerzak
2013-06-15 12:40:14Łukasz.Balcerzaksetmessageid: <1371300014.52.0.302689191901.issue18222@psf.upfronthosting.co.za>
2013-06-15 12:40:14Łukasz.Balcerzaklinkissue18222 messages
2013-06-15 12:40:14Łukasz.Balcerzakcreate