[issue32239] decimal module exception args incorrect for c module

2017-12-07 Thread Stefan Krah
Stefan Krah added the comment: This is known and was deliberate when I wrote the module. The list contains conditions that trigger the exception. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> decimal C module's exceptions

[issue32239] decimal module exception args incorrect for c module

2017-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +skrah ___ Python tracker ___ ___

[issue32239] decimal module exception args incorrect for c module

2017-12-06 Thread Joshua Ringer
New submission from Joshua Ringer : Exception instance args for decimal errors are supposed to be a descriptive string. However, in the c module, they are currently a list of one containing the underlying exception class. The pure python module is correct. See the