[issue6415] warnings.warn segfaults on bad formatted string

2009-07-19 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you, I've fixed it in r74091. I should have checked test results on all branches. -- ___ Python tracker ___ __

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-18 Thread R. David Murray
R. David Murray added the comment: The backport to 2.6 needs adjustment. The test fails: Traceback (most recent call last): File "/home/rdmurray/python/release26-maint/Lib/test/test_warnings.py", line 350, in test_bad_str with self.assertRaises(ValueError): TypeError: failUnlessRaises()

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-17 Thread Brett Cannon
Brett Cannon added the comment: On Fri, Jul 17, 2009 at 00:03, Hirokazu Yamamoto wrote: > > Hirokazu Yamamoto added the comment: > > I've committed in r74040(trunk), r74043(release26-maint), r74046(py3k), > r74047(release31-maint). Is release30-maint still active? > No, 3.0 is dead. Thanks,

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I've committed in r74040(trunk), r74043(release26-maint), r74046(py3k), r74047(release31-maint). Is release30-maint still active? -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed versions: +Python 2.7, Pytho

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-16 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch for test_warning to test for the failure. Hirokazu, since you found the fix, do you want to do the commit, or do you want me to handle it since this will need to be applied to all active branches? -- assignee: brett.cannon -> ocean-city

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-16 Thread Brett Cannon
Changes by Brett Cannon : -- components: +Interpreter Core priority: -> release blocker stage: -> patch review ___ Python tracker ___ ___

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-04 Thread Jerry Chen
Jerry Chen added the comment: 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 cau

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> brett.cannon nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I hope attached patch will fix this issue. -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file14448/warnings_segfault.patch ___ Python tracker

[issue6415] warnings.warn segfaults on bad formatted string

2009-07-04 Thread wiesenth
New submission from wiesenth : The interpreter crashes with an segmentation fault when warnings.warn shall output a Warning instance, whose string representation is bad formatted. Don't know if this is fixed in a minor 2.6 release or in 2.7, I use the Ubuntu 9.04 python2.6 package. An easy repr