[Python-Dev] splitext('.cshrc') (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Mar 8 01:36:57 CET 2007
- Previous message: [Python-Dev] splitext('.cshrc')
- Next message: [Python-Dev] splitext('.cshrc')
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] splitext('.cshrc')
- Next message: [Python-Dev] splitext('.cshrc')
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]