Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21191
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <A.Lloyd.Flanagan@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.038 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'to:addr:comp.lang.python': 0.09; '~ethan~': 0.09; 'jeff': 0.13; 'history:': 0.16; 'subject:possible': 0.16; 'cc:addr:python-list': 0.16; 'subject:skip:d 10': 0.17; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'subject:change': 0.24; 'import': 0.27; 'cc:addr:gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'generally': 0.30; 'subject:?': 0.31; 'header:User-Agent:1': 0.33; 'agree': 0.33; 'done.': 0.34; 'received:209.85.160': 0.36; 'cc:2**1': 0.36; 'friday,': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'doing': 0.38; 'should': 0.38; 'received:209': 0.39; 'march': 0.61; 'received:209.85.160.184': 0.67; 'received:mail-gy0-f184.google.com': 0.67; 'hand,': 0.76 |
| Received-SPF | pass (google.com: domain of A.Lloyd.Flanagan@gmail.com designates 10.52.94.100 as permitted sender) client-ip=10.52.94.100; |
| Authentication-Results | mr.google.com; spf=pass (google.com: domain of A.Lloyd.Flanagan@gmail.com designates 10.52.94.100 as permitted sender) smtp.mail=A.Lloyd.Flanagan@gmail.com |
| Newsgroups | comp.lang.python |
| Date | Sun, 4 Mar 2012 04:37:05 -0800 (PST) |
| In-Reply-To | <mailman.358.1330734881.3037.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=108.4.15.164; posting-account=95Qk6QoAAADsGF0DUse1OT4qrhfY2IJc |
| References | <15610330.329.1330728373676.JavaMail.geo-discussion-forums@ynlw24> <mailman.358.1330734881.3037.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| MIME-Version | 1.0 |
| Subject | Re: A possible change to decimal.Decimal? |
| From | "A. Lloyd Flanagan" <A.Lloyd.Flanagan@gmail.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org, Jeff Beardsley <jbeard565@gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.376.1330864634.3037.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1330864634 news.xs4all.nl 6964 [2001:888:2000:d::a6]:53981 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21191 |
Show key headers only | View raw
On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote: > Jeff Beardsley wrote: > > HISTORY: ... > > What you should be doing is: > > import decimal > from decimal import Decimal > > reload(decimal) > Decimal = decimal.Decimal # (rebind 'Decimal' to the reloaded code) > > ~Ethan~ Agree that's how the import should be done. On the other hand, removing gratuitous use of isinstance() is generally a Good Thing.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A possible change to decimal.Decimal? Jeff Beardsley <jbeard565@gmail.com> - 2012-03-02 14:46 -0800
Re: A possible change to decimal.Decimal? Ethan Furman <ethan@stoneleaf.us> - 2012-03-02 15:49 -0800
Re: A possible change to decimal.Decimal? "A. Lloyd Flanagan" <A.Lloyd.Flanagan@gmail.com> - 2012-03-04 04:37 -0800
Re: A possible change to decimal.Decimal? "A. Lloyd Flanagan" <A.Lloyd.Flanagan@gmail.com> - 2012-03-04 04:37 -0800
Re: A possible change to decimal.Decimal? Ethan Furman <ethan@stoneleaf.us> - 2012-03-04 07:38 -0800
Re: A possible change to decimal.Decimal? Ethan Furman <ethan@stoneleaf.us> - 2012-03-04 07:44 -0800
csiph-web