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.

classification
Title: print unexpected values in infinite loop
Type: behavior Stage: resolved
Components: Versions: Python 3.9
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: rafihassan190041234, steven.daprano, zach.ware
Priority: normal Keywords:

Created on 2021-04-23 16:45 by rafihassan190041234, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
main.py rafihassan190041234, 2021-04-23 17:29
Messages (2)
msg391721 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2021-04-23 18:19
Without a description, it is impossible to tell what you're trying to report.  You'll need to provide some details, such as what you're trying to do, what you expected to happen, what actually happened, and how you ran the code to get that result.

As is, I don't see anything wrong here.
msg391752 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2021-04-24 01:29
I'm closing this as "Works for me".

rafihassan190041234, if you still think it is a bug in the language, rather than a bug in your code or a mistake in your understanding, you can re-open this with more details. As Zach already commented, you need to give us an explanation of:

- what you expected the code to do;

- why you expected that;

- what it actually did instead;

- your environment (did you run this in an IDE, the plain Python interactive interpreter, from a script, something else?);

- and your operating system.
History
Date User Action Args
2022-04-11 14:59:44adminsetgithub: 88090
2021-04-24 01:29:54steven.dapranosetstatus: open -> closed

nosy: + steven.daprano
messages: + msg391752

resolution: works for me
stage: resolved
2021-04-23 18:19:43zach.waresettype: behavior

messages: + msg391721
nosy: + zach.ware
2021-04-23 17:29:10rafihassan190041234setfiles: + main.py
2021-04-23 17:29:05rafihassan190041234setfiles: - main.py
2021-04-23 17:28:55rafihassan190041234setfiles: - main.py
2021-04-23 17:28:48rafihassan190041234setfiles: + main.py
2021-04-23 17:27:55rafihassan190041234setfiles: + main.py
2021-04-23 16:57:20rafihassan190041234setfiles: - main.py
2021-04-23 16:55:16rafihassan190041234settype: behavior -> (no value)
2021-04-23 16:45:51rafihassan190041234create