Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87522
| Date | 2015-03-16 03:44 -0400 |
|---|---|
| From | Dave Angel <davea@davea.name> |
| Subject | Re: More or less code in python? |
| References | (2 earlier) <53b202e7-327b-412a-a5e0-debca5c3b489@googlegroups.com> <87h9tmt796.fsf@jester.gateway.sonic.net> <dbdd7715-7418-49d1-9c52-e7cfdf16d733@googlegroups.com> <5506870E.8070809@davea.name> <CAPTjJmpH9wdRrUOvwgMDve9myKOg2wsAX+QDe+ge-GjNRXy3=w@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.421.1426491913.21433.python-list@python.org> (permalink) |
On 03/16/2015 03:36 AM, Chris Angelico wrote: > 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. > 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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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