Antoine Pitrou pit...@free.fr added the comment:
Committed in r79502, r79504 (trunk) and r79503 (py3k). Thank you!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
priority: - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8248
___
Antoine Pitrou pit...@free.fr added the comment:
Decimal tests should probably be in test_decimal, not test_bool.
Also, I'm not sure why the __index__ and format tests aren't in the py3k patch.
--
nosy: +pitrou
___
Python tracker
Gregory Nofi crackityjones200...@yahoo.com added the comment:
Indeed, the Decimal test is better off in
test_decimal.DecimalExplicitConstructionTest so I moved it there.
I forgot to include the index test for the py3k patch. That's in the updated
patch, too.
There is already a format test in
Changes by Gregory Nofi crackityjones200...@yahoo.com:
Added file: http://bugs.python.org/file16685/test_bool.v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8248
___
New submission from Gregory Nofi crackityjones200...@yahoo.com:
These patches add these new test cases to test_bool.py.
Python 2+3:
- Conversion to float
- Conversion to Decimal
- Calling bool() of built-in types
Python 2 only:
- __index__()
- Conversion to long
- sprintf formatting
NOTE: I'm
Changes by Gregory Nofi crackityjones200...@yahoo.com:
Added file: http://bugs.python.org/file16678/test_bool.v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8248
___