homepage

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 oddthinking
Recipients oddthinking, pitrou
Date 2010年11月04日.13:26:52
SpamBayes Score 3.1129532e-09
Marked as misclassified No
Message-id <1288877219.02.0.394472590329.issue10306@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you, Antoine, you make a good point.
In my example, I am suppressing the warning, which, I agree isn't a good idea.
In my real life usage, I was getting an unexpected exception in a callback in code written by another person. I wanted not to suppress the warning, but to turn it into an exception to help trace the cause.
Thinking about this further, (if it was a warning, as I suggest,) I now believe that would raise that exception into the garbage collector which might have some unpredictable consequences. I have rejected my own Issue for this reason.
I maintain that the current solution isn't terribly helpful. Getting this output to stderr is neither helpful to me, in development (i.e. nothing in the error indicated it was related to the weakref functionality) nor my users in production (fortunately the problem was caught before then!)
However, I concede my proposal isn't the right solution.
Thank you again for your comment.
History
Date User Action Args
2010年11月04日 13:26:59oddthinkingsetrecipients: + oddthinking, pitrou
2010年11月04日 13:26:59oddthinkingsetmessageid: <1288877219.02.0.394472590329.issue10306@psf.upfronthosting.co.za>
2010年11月04日 13:26:53oddthinkinglinkissue10306 messages
2010年11月04日 13:26:52oddthinkingcreate

AltStyle によって変換されたページ (->オリジナル) /