[Python-Dev] PEP 376 : Changing the .egg-info structure

Antoine Pitrou solipsis at pitrou.net
Sun May 17 00:29:58 CEST 2009


MRAB <google <at> mrabarnett.plus.com> writes:
> 
> I'd probably say that TAB is s reasonable character to use, even though
> it's OK in POSIX; after all, should anyone really be using a control
> character in a filename?

Even newline characters are valid characters in a filename.
Why not go for the safe choice of encoding all filenames using e.g. 
urllib.quote()?
(which has the advantage that usual filenames will stay perfectly readable)




More information about the Python-Dev mailing list