A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008395.html below:

[Python-Dev] Re: os.path.commonprefix breakage

[Python-Dev] Re: os.path.commonprefix breakageGreg Ewing greg@cosc.canterbury.ac.nz
Thu, 17 Aug 2000 16:34:01 +1200 (NZST)
Skip:

> The previous behavior was clearly broken, however, because it was
> advancing character-by-character instead of directory-by-directory.

I've just looked at the 1.5.2 docs and realised that this is
what it *says* it does! So it's right according to the docs,
although it's obviously useless as a pathname manipulating
function.

The question now is, do we change both the specification and the
behaviour, which could break existing code, or leave it be and
add a new function which does the right thing?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



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