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 noxdafox
Recipients noxdafox, sbt
Date 2013-10-07.06:53:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381128831.19.0.349348666878.issue19185@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with your point, I've probably made my considerations too quickly.

The consideration was based on the fact that returning any value previously was a misuse (without consequences) of the initializer itself.

Now the misuse would be exposed by the new implementation, probably meeting the requirements that leds to the misuse itself.

Aim of the patch is to give an alternative to the use of global variables.
Global variables usage is a pattern which might lead to code errors and many developers discourage from following it.
I do believe that forcing such pattern in order to accomplish the desired goals is quite restrictive from an API.
History
Date User Action Args
2013-10-07 06:53:51noxdafoxsetrecipients: + noxdafox, sbt
2013-10-07 06:53:51noxdafoxsetmessageid: <1381128831.19.0.349348666878.issue19185@psf.upfronthosting.co.za>
2013-10-07 06:53:51noxdafoxlinkissue19185 messages
2013-10-07 06:53:50noxdafoxcreate