[Python-Dev] why do we allow this syntax? (original) (raw)
Ian Cordasco graffatcolmingov at gmail.com
Fri Feb 8 22:35:59 CET 2013
- Previous message: [Python-Dev] why do we allow this syntax?
- Next message: [Python-Dev] why do we allow this syntax?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Feb 8, 2013 3:37 PM, "Xavier Morel" <catch-all at masklinn.net> wrote:
On 2013-02-08, at 18:45 , Chris Withers wrote: > On 08/02/2013 16:17, Oscar Benjamin wrote: >> Decimal.pos uses it to return a Decimal instance that has the >> default precision of the current Decimal context: >> >>>>> from decimal import Decimal >>>>> d = Decimal('0.33333333333333333333333333333333333333') >>>>> d >> Decimal('0.33333333333333333333333333333333333333') >>>>> +d >> Decimal('0.3333333333333333333333333333') > > That's the answer I was hoping wouldn't be coming... > > Oh well, guess I'll have to improve on my sloppy typing. Or just run flake8 (with a bit of configuration to disable the annoying stuff).
As flake8's maintainer, I second this. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130208/57dc00ba/attachment.html>
- Previous message: [Python-Dev] why do we allow this syntax?
- Next message: [Python-Dev] why do we allow this syntax?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]