Backwards Compatibility of Python versions

Joshua Marshall jmarshal at mathworks.com
Mon Feb 4 09:02:14 EST 2002


Steve Holden <sholden at holdenweb.com> wrote:

>> If I type "3//4" into 1.5.2 or 2.1, I get a SyntaxError exception, so
>> it isn't backwards compatible.
>>
> Erm, don't you seem to be using a different version of backwards
> compatibilty from most people? As far as I'm concerned, if I run version
> 1.5.2 of a language, and all my programs continue to run, then the new
> release provides backwards compatibility.

It is backwards-incompatible in that someone may be relying on the
SyntaxError being raised.  Though it's probably likely that there
aren't many such programs out there.



More information about the Python-list mailing list