[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: It'd be nice to have it, but actually I'm not sure that this is doable without some heavy editing of decimal's test framework. Thanks! -- nosy: +facundobatista __ Tracker <[EMAIL PROTECTED]>

[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Fixed in r61892 (2.6) and r61893 (2.5). Thanks for the report! This bug exposes a flaw in the decimal testsuite: the thousands of testcases in Lib/test/decimaltestdata are only ever run with an explicitly given context. Would it be worth

[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread Mark Dickinson
Changes by Mark Dickinson <[EMAIL PROTECTED]>: -- versions: +Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list maili

[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: I'll fix this. -- nosy: +marketdickinson __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> rhettinger nosy: +rhettinger __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-lis

[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread glathoud
New submission from glathoud <[EMAIL PROTECTED]>: I got a crash with Python 2.5.2 : Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import decimal >>> decimal.Decimal( 0 ).sqrt() Trac

[issue2478] decimal.Decimal( 0 ).sqrt() fails

2008-03-25 Thread glathoud
Changes by glathoud <[EMAIL PROTECTED]>: -- components: Library (Lib) nosy: glathoud severity: normal status: open title: decimal.Decimal( 0 ).sqrt() fails type: crash versions: Python 2.5 __ Tracker <[EMAIL PROTECTED]>