Westley, I was responding to msg162168 and didn't see msg162169 yet.
PEP11 mentions MacOS 9 support was removed in 2.4. Is ":" still invalid in OSX?
I'll need to think about the approach of using an "INVALID_CHARS" list. It looks like it might be a better way to do this. However, here are some issues with the patch.
I received this error:
AttributeError: 'str' object has no attribute 'relpace'
I fixed this minor mistype, but noticed that file auto-completion no longer works for the following:
>>> "/
Pressing tab after the forward slash should show a drop-down with the root filesystem. Changing INVALID_CHARS to be:
if os.name == 'posix':
INVALID_CHARS = '\0'
allows the root filesystem to show.