Guido van Rossum wrote: > > > revision 1.34 > > date: 2000/07/19 17:09:51; author: montanaro; state: Exp; lines: +18 -23 > > added rewritten normpath from Moshe Zadka that does the right thing with > > paths containing .. > [...] > > Revision 1.33 clearly leaves initial slashes untouched. > > I guess we should restore this... > > Yes, please! (Just the "leading extra slashes stay" behavior.) Checked in a patch which preserves '/' and '//' but converts more than 3 initial slashes into one (see Fredrik's note about POSIX standard on this). -- Marc-Andre Lemburg ______________________________________________________________________ Company: http://www.egenix.com/ Consulting: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4