[issue46199] Calculation influenced by print

Eric V. Smith report at bugs.python.org
Thu Dec 30 02:00:14 EST 2021


Eric V. Smith <eric at trueblade.com> added the comment:

This is likely not a bug in python. You might have better luck asking on a numpy support list.

That said, what results do you get, and what do you expect to get? We don't know what error you're seeing.

You might replace:
print("LB: ", LB)

with:
str(LB)

and see what happens. That's the only operation that's called on LB when you're printing.

----------
nosy: +eric.smith

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


More information about the Python-bugs-list mailing list