Different byte-code in same major version (2.6.x)?

Thomas Jollans thomas at jollans.com
Wed Jun 16 17:30:16 EDT 2010


On 06/16/2010 10:36 PM, Hartmut Goebel wrote:
> Am 15.06.2010 20:43, schrieb Paul Rubin:
>> Hartmut Goebel <h.goebel at crazy-compilers.com> writes:
>>> I'm facing a curious problem: 2.6, 2.6.1 and 2.6.4 are generating
>>> different byte-code for the same source. I can not find the reason for.
>>
>> Why should they generate the same bytecode?  All that you should expect
> 
> Because
> a) they are only maintenance releases and changes to bytecode
>    generation would eb a functional change

is this python policy ? If so, references ?

> b) bytcode-changes should change the magic-number, which is unchanged
>    in this case

isn't the code 100% compatible ?

> c) there is no change to be found in SVN.
> 

There is a difference somewhere, you just haven't found it. Maybe it's a
vendor-specific patch, maybe it's a bit of platform-specific code.



More information about the Python-list mailing list