This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Thermi
Recipients Thermi
Date 2018-01-07.14:15:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515334532.4.0.467229070634.issue32510@psf.upfronthosting.co.za>
In-reply-to
Content
With Python 3.6.4 on Arch Linux, on three different hosts (one Skylake CPU, one i7-3820, one Xeon E5-2680, all running Arch Linux with the same Python version), the Python 3 interpreter behaves erratically in a script of mine.

The following symptoms occur:
1) Comparisons fail, although they logically need to succeed. The comparisons work a lot of the times, but sometimes, they don't.
2) Integers magically increase without ever being written to in the code after initially assigned in the constructor.

The behaviour changes if code is rearranged, variables and lines are added that do not pertain the broken comparisons, making accidental writes to memory or reads from unitialized memory likely.

The breakage occurs in the code between line 114 and the execution of the code in the recurse() method of the class Branch.

The script is here (https://gist.github.com/Thermi/05bc671436841670ac81b3b86217dd62). It basically only does some arithmetic with translation tables.
History
Date User Action Args
2018-01-07 14:15:32Thermisetrecipients: + Thermi
2018-01-07 14:15:32Thermisetmessageid: <1515334532.4.0.467229070634.issue32510@psf.upfronthosting.co.za>
2018-01-07 14:15:32Thermilinkissue32510 messages
2018-01-07 14:15:32Thermicreate