[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]>
<http://bugs.python.org/issue2478>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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()
Traceback (most recent call last):
  File "", line 1, in 
  File "f:\Python25\lib\decimal.py", line 2330, in sqrt
return ans._fix(context)
  File "f:\Python25\lib\decimal.py", line 1461, in _fix
Etiny = context.Etiny()
AttributeError: 'NoneType' object has no attribute 'Etiny'

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2478>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com