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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com