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 vstinner
Recipients brett.cannon, pitrou, python-dev, vstinner
Date 2013年10月28日.17:53:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382982828.69.0.63624260753.issue19421@psf.upfronthosting.co.za>
In-reply-to
Content
> New changeset 1bbedfb20932 by Victor Stinner in branch 'default':
> Issue #19421: fix a check in warnings.warn() to be able to use it during Python
> http://hg.python.org/cpython/rev/1bbedfb20932
Without this fix, the following script crashs with an assertion error (Objects/typeobject.c:740: type_call: Assertion `!PyErr_Occurred()' failed.):
-------------
import warnings
warn = warnings.warn
class A:
 def __del__(self):
 warn("bla")
a=A()
-------------
History
Date User Action Args
2013年10月28日 17:53:48vstinnersetrecipients: + vstinner, brett.cannon, pitrou, python-dev
2013年10月28日 17:53:48vstinnersetmessageid: <1382982828.69.0.63624260753.issue19421@psf.upfronthosting.co.za>
2013年10月28日 17:53:48vstinnerlinkissue19421 messages
2013年10月28日 17:53:48vstinnercreate

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