Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'subject:Python': 0.06; 'string': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:184.172': 0.09; 'received:gator410.hostgator.com': 0.09; 'sys,': 0.09; '~ethan~': 0.09; 'python': 0.11; 'mean,': 0.16; 'opened.': 0.16; 'received:69.93': 0.16; 'uncommon': 0.16; 'url:gmane': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'discussion': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'subject:/': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'url:bugs': 0.29; '(including': 0.33; 'url:python': 0.33; "can't": 0.35; 'agree': 0.35; 'there': 0.35; 'really': 0.36; 'done': 0.36; 'url:org': 0.36; 'detail': 0.37; 'effort': 0.37; 'easily': 0.37; 'expected': 0.38; '8bit%:86': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'future': 0.60; 'received:173': 0.61; 'different': 0.65; 'worth': 0.66; 'hand': 0.80; 'subject:long': 0.84; 'versions)': 0.84; 'url:comments': 0.91; '2013': 0.98 Date: Sat, 06 Apr 2013 14:58:23 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Performance of int/long in Python 3 References: <87dff083-14d8-4163-89f3-d78a9be6c802@c15g2000vbl.googlegroups.com> <3qadncD4-6fcPsbMnZ2dnUVZ_rqdnZ2d@westnet.com.au> <515bbedb$0$29891$c3e8da3$5496439d@news.astraweb.com> <515be00e$0$29891$c3e8da3$5496439d@news.astraweb.com> <515c45ad$0$29966$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator410.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([173.12.184.235]) [173.12.184.235]:38671 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 2 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3I0MTAuaG9zdGdhdG9yLmNvbQ== X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365286584 news.xs4all.nl 6879 [2001:888:2000:d::a6]:36266 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42954 On 04/06/2013 02:24 PM, Chris Angelico wrote: > On Sat, Apr 6, 2013 at 8:09 PM, Serhiy Storchaka wrote: >> 04.04.13 00:57, Chris Angelico написав(ла): >>> http://bugs.python.org/issue17629 opened. >> >> >> See also the discussion at >> http://comments.gmane.org/gmane.comp.python.ideas/15640 . I agree with >> rejection. This is an implementation detail and different Python >> implementations (including future CPython versions) can have different >> internal string implementations. > > I really don't see why this means that there can't be a function in > sys, or something. I mean, other Pythons aren't expected to return the > exact same values from sys.getsizeof, are they? What it boils down to is: - it can easily be done by hand now - it's a very uncommon need ergo: - it's not worth the time and on-going effort required -- ~Ethan~