Issue 6711: macurl2path has typos that raise AttributeError (original) (raw)

In a few spots, "urllib.parse" misses a "." after the package name.

e.g., "urllib.parse.quote" is spelled "urllib.parsequote", which generates an AttributeError when run.

To reproduce, open up a python3.x interpreter and execute: from macurl2path import * url2pathname('doesnt_matter_what') pathname2url('some_string') _pncomp2url('something_else')

Attaching a patch that will fix the issue.