Message309619
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. |
|
Date |
User |
Action |
Args |
2018-01-07 14:15:32 | Thermi | set | recipients:
+ Thermi |
2018-01-07 14:15:32 | Thermi | set | messageid: <1515334532.4.0.467229070634.issue32510@psf.upfronthosting.co.za> |
2018-01-07 14:15:32 | Thermi | link | issue32510 messages |
2018-01-07 14:15:32 | Thermi | create | |
|