[issue18222] os.path.abspath should accept multiple path parts and join them

2013-07-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ditto, for reasons given -- nosy: +terry.reedy resolution: -> rejected status: open -> closed ___ Python tracker ___ __

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-15 Thread Łukasz Langa
Łukasz Langa added the comment: Would you expect to make the following also accept a sequence of path elements? - normpath, realpath, relpath - dirname - exists, lexists - expanduser, expandvars - isdir, isfile, islink - getsize, etc. I agree with R. David's sentiment. Moreover, relpath takes a

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-15 Thread R. David Murray
R. David Murray added the comment: I'm -1 on this. It doesn't make sense to me to conflate two functions like that. If you need that functionality often in your application, just write a small helper function. -- nosy: +r.david.murray ___ Python t

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-15 Thread Łukasz Balcerzak
New submission from Łukasz Balcerzak: 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