Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.051 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; '16,': 0.03; 'subject:code': 0.07; 'assuming': 0.09; 'constructor': 0.09; 'python': 0.11; 'itself,': 0.16; 'longs': 0.16; 'say.': 0.16; 'subject:More': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'header:User-Agent:1': 0.23; 'mon,': 0.24; 'header :In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'code': 0.31; '3.x': 0.31; 'long.': 0.31; 'doubt': 0.36; 'subject:?': 0.36; 'clear': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'course.': 0.60; 'dave': 0.60; "you're": 0.61; 'size.': 0.65; 'talking': 0.65; 'charset:windows-1252': 0.65; 'mar': 0.68; 'received:74.208': 0.68; '2015': 0.84; 'received:74.208.4.194': 0.84; 'angel': 0.91 Date: Mon, 16 Mar 2015 03:44:51 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: More or less code in python? References: <8412cc81-fbd2-4590-9db3-12c65ba2ee35@googlegroups.com> <53b202e7-327b-412a-a5e0-debca5c3b489@googlegroups.com> <87h9tmt796.fsf@jester.gateway.sonic.net> <5506870E.8070809@davea.name> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:kAeANoDhavz6SZrGrhcN+UIHcu6qony886bX1yMYPj/M+IRgE7A k2hdPwrXIieTB03wnzyZx4Drv3okIXBKvphg3YJqy2nY6aEkRSW33eCA6QICses7Siqv47R XTUDIS4Grk0AeVh+lKLn4HlgnVtG2RkMEml+Ym55iZPI1SfNjp32jSdzBQOkdwPfwHuxLoO gtS6fidKKBHLrQVahpO+g== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1426491913 news.xs4all.nl 2884 [2001:888:2000:d::a6]:39564 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87522 On 03/16/2015 03:36 AM, Chris Angelico wrote: > On Mon, Mar 16, 2015 at 6:32 PM, Dave Angel wrote: >> Assuming Python 3.x of course. if you're in Python 2, you'd use "long" >> rather than int. > > Not sure you need to bother. Even in Py2, you can use the int > constructor to get a long. > Actually I was talking about the terminology. In Python 2.x, you'd be talking about longs to make it clear that they were (essentially) unlimited in size. For the code itself, I doubt if you'd want to make any distinction at all, as you say. -- DaveA