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 jcsalterego
Recipients brett.cannon, jcsalterego, ocean-city, wiesenth
Date 2009-07-04.17:23:24
SpamBayes Score 6.074863e-12
Marked as misclassified No
Message-id <1246728205.69.0.659365082157.issue6415@psf.upfronthosting.co.za>
In-reply-to
Content
Bug and patch confirmed on both py3k and python2.7 branches

Before:

$ ./python.exe warnsegfault.py 
this exception is caught: incomplete format
this exception is also caught: incomplete format
Bus error

After:

$ ./python.exe warnsegfault.py this exception is caught: incomplete format
this exception is also caught: incomplete format
Traceback (most recent call last):
  File "warnsegfault.py", line 21, in <module>
    warnings.warn(MyWarning())
  File "warnsegfault.py", line 10, in __str__
    return "A bad formatted string %(err)" % {"err" : "there is no %(err)s"}
ValueError: incomplete format
History
Date User Action Args
2009-07-04 17:23:25jcsalteregosetrecipients: + jcsalterego, brett.cannon, ocean-city, wiesenth
2009-07-04 17:23:25jcsalteregosetmessageid: <1246728205.69.0.659365082157.issue6415@psf.upfronthosting.co.za>
2009-07-04 17:23:24jcsalteregolinkissue6415 messages
2009-07-04 17:23:24jcsalteregocreate