Message 358834 - Python tracker

Message358834

Author Marco Sulla
Recipients Marco Sulla, brandtbucher, cheryl.sabella, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2019-12-23.20:51:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577134302.21.0.896389515214.issue36095@roundup.psfhosted.org>
In-reply-to
Content
marco@buzz:~$ python3.9
Python 3.9.0a0 (heads/master-dirty:d8ca2354ed, Oct 30 2019, 20:25:01) 
[GCC 9.2.1 20190909] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from decimal import Decimal as Dec, BasicContext as Bctx
>>> a = Dec("1981", Bctx)
>>> b = Dec("nan", Bctx)
>>> a.max(b)
Decimal('1981')
>>> b.max(a)
Decimal('1981')
>>> Bctx.max(a, b)
Decimal('1981')
>>> Bctx.max(b, a)
Decimal('1981')
History
Date User Action Args
2019-12-23 20:51:42Marco Sullasetrecipients: + Marco Sulla, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, cheryl.sabella, brandtbucher
2019-12-23 20:51:42Marco Sullasetmessageid: <1577134302.21.0.896389515214.issue36095@roundup.psfhosted.org>
2019-12-23 20:51:42Marco Sullalinkissue36095 messages
2019-12-23 20:51:42Marco Sullacreate