[New-bugs-announce] [issue24662] While condition not satisfied embarrassingly

Agniva Roychowdhury report at bugs.python.org
Sat Jul 18 17:24:24 CEST 2015


New submission from Agniva Roychowdhury:

A simple while loop that prints a variable 'test' (initialized by 0.0 and incremented by 0.1 in the loop) with a condition test<1.0 prints values UPTO 1.0.
It is a serious error.
Please check attached file and the output.

----------
components: Interpreter Core
files: python1.py
messages: 246903
nosy: Agniva Roychowdhury
priority: normal
severity: normal
status: open
title: While condition not satisfied embarrassingly
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file39946/python1.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24662>
_______________________________________


More information about the New-bugs-announce mailing list