[issue7233] decimal.py: two rotate() issues

2009-10-29 Thread Mark Dickinson
Mark Dickinson added the comment: Merged (along with a test numbering fix in extra.decTest) in r75946 (release26-maint), r75947 (py3k) and r75948 (release31-maint). Thanks for the report! -- components: +Library (Lib) priority: -> normal resolution: -> fixed stage: -> committed/rej

[issue7233] decimal.py: two rotate() issues

2009-10-29 Thread Mark Dickinson
Mark Dickinson added the comment: And the shift and rotate bugs for large arguments are fixed in r75945. -- ___ Python tracker ___ ___

[issue7233] decimal.py: two rotate() issues

2009-10-29 Thread Mark Dickinson
Mark Dickinson added the comment: There were a number of Decimal methods that failed to accept an integer second argument. I've fixed that in r75944. -- ___ Python tracker ___

[issue7233] decimal.py: two rotate() issues

2009-10-29 Thread Mark Dickinson
Mark Dickinson added the comment: The shift function should also accept an integer 2nd argument. -- ___ Python tracker ___ ___ Python-

[issue7233] decimal.py: two rotate() issues

2009-10-29 Thread Mark Dickinson
Mark Dickinson added the comment: Agreed on both counts. I'll take a look. -- assignee: -> mark.dickinson ___ Python tracker ___ ___

[issue7233] decimal.py: two rotate() issues

2009-10-29 Thread Stefan Krah
New submission from Stefan Krah : Hi, I got two issues with the all-important function rotate(): 1. It should probably convert an integer argument: >>> from decimal import * >>> c = getcontext() >>> c.prec = 4 >>> Decimal("10").rotate(1) Traceback (most recent call last): File "", li