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 eric.smith
Recipients asvetlov, eric.smith, sebasbeco, yselivanov
Date 2019-11-09.01:20:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573262420.17.0.165798847397.issue38752@roundup.psfhosted.org>
In-reply-to
Content
This isn't a bug, it's how the language works. You're not forced to use the parameters to a function (in this case __init__), and you can reference any variable, including a global.
History
Date User Action Args
2019-11-09 01:20:20eric.smithsetrecipients: + eric.smith, asvetlov, yselivanov, sebasbeco
2019-11-09 01:20:20eric.smithsetmessageid: <1573262420.17.0.165798847397.issue38752@roundup.psfhosted.org>
2019-11-09 01:20:20eric.smithlinkissue38752 messages
2019-11-09 01:20:20eric.smithcreate