Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; '16,': 0.03; 'subject:code': 0.07; 'assuming': 0.09; 'constructor': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:More': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '3.x': 0.31; 'long.': 0.31; 'received:google.com': 0.35; 'subject:?': 0.36; 'pm,': 0.38; 'rather': 0.38; 'sure': 0.39; 'even': 0.60; 'course.': 0.60; 'dave': 0.60; "you're": 0.61; 'mar': 0.68; '2015': 0.84; 'angel': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=7da18skDHzd9rOhydt2/+aj5Vcd1r2MoUzcIB3BdWpc=; b=z+hq/Yp/JePCK6LL16/vT6hHVwngdPEF3llleGMvMfyus/X4bsvuCIyfk0p2hczRHq lQyClX8nT+6eHNxF+BY0ZPfYx3cVR5Lp0iWCyLKbArx2OVKiCpQ7LIIyo786jPIY/SeM apkfmTI5hV6sGuFSnddhaP4G3hZGcAhEQwvyk/TbsJ0mhRtVxZD6tJWZUXWC8d3wTm0i L9uwH8RVXDAWPC9WLV84SWzyJc82nGJ/JtUaxxmuXZ72HhOaOVz8asTaVRQCR3bG1ZtS oht+pk7vgjnZ/LkRRr0D9LV7PJVxvbRseKhjJIM9c0iPNd49+gFLGUdVWfdoFlCFZgWs jqEg== MIME-Version: 1.0 X-Received: by 10.107.160.212 with SMTP id j203mr107544537ioe.43.1426491414338; Mon, 16 Mar 2015 00:36:54 -0700 (PDT) In-Reply-To: <5506870E.8070809@davea.name> 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> Date: Mon, 16 Mar 2015 18:36:54 +1100 Subject: Re: More or less code in python? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1426491416 news.xs4all.nl 2976 [2001:888:2000:d::a6]:34007 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87519 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. ChrisA