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.

Author eryksun
Recipients Drekin, amaury.forgeotdarc, casevh, davidsarah, eryksun, neologix, pitrou, python-dev, santoso.wijaya, terry.reedy, vstinner
Date 2020-04-12.12:35:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586694930.89.0.613828306104.issue11395@roundup.psfhosted.org>
In-reply-to
Content
> the problem (or at least with these numbers) occurs only when 
> the code is saved in a script, and this is run by double-
> clicking the file

The .py file association is probably using a different version of Python, or it's associated with the py launcher and there's a shebang in the file that runs 2.7. Verify the version that's executing the script. If it's running in 3.7, follow up in a new issue or on python-list. Please do not follow up on this resolved issue. Also, please try to reproduce the issue on a supported, updated system. Windows Vista is not supported by 3.7, and the latest 3.7 release is 3.7.7.
History
Date User Action Args
2020-04-12 12:35:30eryksunsetrecipients: + eryksun, terry.reedy, amaury.forgeotdarc, pitrou, vstinner, casevh, davidsarah, neologix, santoso.wijaya, python-dev, Drekin
2020-04-12 12:35:30eryksunsetmessageid: <1586694930.89.0.613828306104.issue11395@roundup.psfhosted.org>
2020-04-12 12:35:30eryksunlinkissue11395 messages
2020-04-12 12:35:30eryksuncreate