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/2007-March/071720.html below:

[Python-Dev] splitext('.cshrc')

[Python-Dev] splitext('.cshrc') [Python-Dev] splitext('.cshrc')"Martin v. Löwis" martin at v.loewis.de
Thu Mar 8 01:36:57 CET 2007
Josiah Carlson schrieb:
>> Now it's becoming difficult: several people in favor, some opposed...
> 
> What about changing the semantics of splitext and creating a new
> function (available on all platforms) that does what the Windows version
> currently does?
> 
> For people who want the one semantic on all platforms, they can pick
> their semantic explicitly.

Most people object because of the potential breakage; this change 
wouldn't remove the breakage (people asking for the old, compatible,
behavior still need to change their code).

> Alternatively, offer a flag argument in splitext to differentiate
> between the two cases.

This isn't compatible, either, as older versions will raise an exception
because of the extra argument.

Regards,
Martin
More information about the Python-Dev mailing list

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