Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87519

Re: More or less code in python?

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 <rosuav@gmail.com>
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> <mailman.399.1426444300.21433.python-list@python.org> <53b202e7-327b-412a-a5e0-debca5c3b489@googlegroups.com> <87h9tmt796.fsf@jester.gateway.sonic.net> <dbdd7715-7418-49d1-9c52-e7cfdf16d733@googlegroups.com> <5506870E.8070809@davea.name>
Date Mon, 16 Mar 2015 18:36:54 +1100
Subject Re: More or less code in python?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.419.1426491416.21433.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Mon, Mar 16, 2015 at 6:32 PM, Dave Angel <davea@davea.name> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

More or less code in python? jonas.thornvall@gmail.com - 2015-03-15 11:07 -0700
  Re: More or less code in python? Joel Goldstick <joel.goldstick@gmail.com> - 2015-03-15 14:31 -0400
    Re: More or less code in python? jonas.thornvall@gmail.com - 2015-03-15 11:56 -0700
    Re: More or less code in python? jonas.thornvall@gmail.com - 2015-03-15 12:00 -0700
      Re: More or less code in python? Paul Rubin <no.email@nospam.invalid> - 2015-03-15 12:01 -0700
        Re: More or less code in python? jonas.thornvall@gmail.com - 2015-03-15 12:03 -0700
        Re: More or less code in python? jonas.thornvall@gmail.com - 2015-03-15 12:09 -0700
          Re: More or less code in python? Dave Angel <davea@davea.name> - 2015-03-16 03:32 -0400
          Re: More or less code in python? Chris Angelico <rosuav@gmail.com> - 2015-03-16 18:36 +1100
          Re: More or less code in python? Dave Angel <davea@davea.name> - 2015-03-16 03:44 -0400
  Re: More or less code in python? Peter Otten <__peter__@web.de> - 2015-03-15 20:15 +0100

csiph-web