[issue30906] os.path.join misjoins paths

Eric V. Smith report at bugs.python.org
Wed Jul 12 13:22:02 EDT 2017


Eric V. Smith added the comment:

We absolutely cannot change this to give an error if the second or subsequent parameters is absolute. I have code that reads user-named config files. If the path is relative, it's relative to a config directory, but it's allowed to be absolute:

config_filename = os.path.join(config_dir, user_supplied_name)

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30906>
_______________________________________


More information about the Python-bugs-list mailing list