[Python-Dev] what level of backward compatibility? how

"Martin v. Löwis" martin at v.loewis.de
Thu May 6 17:34:47 EDT 2004


Jewett, Jim J wrote:
> Unfortunately, it breaks client code that did
> 
>     urlparse.uses_relative.append('my_protocol')
> 
> which was as close to a documented API as existed.

Why are you saying that (or: what does that mean)?

The uses_relative attribute of urlparse was never
documented, AFAICT.

> (1)  Is this an OK breakage with the 2.4 switch?

If it wasn't documented, it is OK to break it, but
it should be mentioned in whatsnew24.tex.

Regards,
Martin




More information about the Python-Dev mailing list