[New-bugs-announce] [issue46199] Calculation influenced by print

wby78826 report at bugs.python.org
Wed Dec 29 21:23:22 EST 2021


New submission from wby78826 <wby78826 at boofx.com>:

(Could be a numpy bug)
##Just run the script, then uncomment Line 14 and run again
The result of "supertrend" is different, depending on whether I print "LB" first or not.
If I don't print it first, the result is wrong.

It also does'nt matter if I print it to stdout or stderr, it only works this way.

(sry if I did something wrong)

----------
components: Windows
files: supertrend.py
messages: 409343
nosy: paul.moore, steve.dower, tim.golden, wby78826, zach.ware
priority: normal
severity: normal
status: open
title: Calculation influenced by print
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file50527/supertrend.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46199>
_______________________________________


More information about the New-bugs-announce mailing list