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


Groups > comp.lang.python > #41703

Re: Change in Python 3.3 with the treatment of sys.argv

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'main()': 0.07; 'python': 0.09; 'defined.': 0.09; 'sat,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guessing': 0.16; 'mark.': 0.16; 'subject:3.3': 0.16; 'subject:Change': 0.16; 'wrote:': 0.17; 'versions': 0.20; 'please?': 0.22; 'defined': 0.22; 'somewhere': 0.24; 'header:In- Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'actual': 0.28; 'run': 0.28; 'post': 0.28; "i'm": 0.29; 'code': 0.31; 'gets': 0.32; 'extract': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'compare': 0.36; 'subject:with': 0.36; 'problems': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'called': 0.39; 'between': 0.63; '2013': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=7Juu2I1alTMthzOROg75gEKqeUhGHqN9uUbYaMZTm24=; b=QnTGRCgYkkA7+iIiYfz51/goJf593r7n/XdHfU6SfT4i0S+WGBw5g39tXpq68Z6vd0 BQoQj3chywQh+ro0EDzZA0kdZdElbye2+z50nkZPNaX7NBuc85NInBDqwSNFaEjQjSUd RDyYn3nZN2QCtIrCPLUGP7U9gNL/o6RDiMSv9wty53Wu9+hjueIWaAYWK2lvwz1/pTdV pXWsjkCAy0bcP8RJqsDNkIyAkjMnvN98929dkhN9kECvkLCSCE3RcMVtg2Y48ZKuriKT K0iepfLxStJlO7JmG8XWYzUI342w1WzjPEEWJhxvgH8nvVP2FmhF1v2/yMEM1R7JQdOm hwsQ==
MIME-Version 1.0
X-Received by 10.52.29.209 with SMTP id m17mr3794689vdh.111.1363990417283; Fri, 22 Mar 2013 15:13:37 -0700 (PDT)
In-Reply-To <kiik4o$s8b$1@theodyn.ncf.ca>
References <kiik4o$s8b$1@theodyn.ncf.ca>
Date Sat, 23 Mar 2013 09:13:37 +1100
Subject Re: Change in Python 3.3 with the treatment of sys.argv
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3617.1363990419.2939.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363990419 news.xs4all.nl 6845 [2001:888:2000:d::a6]:58765
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41703

Show key headers only | View raw


On Sat, Mar 23, 2013 at 8:57 AM, Colin J. Williams <cjw@ncf.ca> wrote:
> Below is an extract from some code to run on Python 2.7.3, 3.2.3 and 3.3.0
> to compare speeds, both between versions and machines:

Can you post the actual code in question, please? There are several
problems with the code as posted: main() isn't defined when it gets
called up top, idM vs idMachine, and now isn't defined. I'm guessing
that the difference is somewhere in idM vs idMachine, but that may be
completely off the mark.

ChrisA

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


Thread

Change in Python 3.3 with the treatment of sys.argv "Colin J. Williams" <cjw@ncf.ca> - 2013-03-22 17:57 -0400
  Re: Change in Python 3.3 with the treatment of sys.argv Chris Angelico <rosuav@gmail.com> - 2013-03-23 09:13 +1100
  Re: Change in Python 3.3 with the treatment of sys.argv Ethan Furman <ethan@stoneleaf.us> - 2013-03-22 15:11 -0700
    Re: Change in Python 3.3 with the treatment of sys.argv "Colin J. Williams" <cjw@ncf.ca> - 2013-03-23 06:43 -0400
      Re: Change in Python 3.3 with the treatment of sys.argv Peter Otten <__peter__@web.de> - 2013-03-23 11:59 +0100
    Re: Change in Python 3.3 with the treatment of sys.argv "Colin J. Williams" <cjw@ncf.ca> - 2013-03-23 06:43 -0400
    Re: Change in Python 3.3 with the treatment of sys.argv "Colin J. Williams" <cjw@ncf.ca> - 2013-03-23 08:27 -0400
      Re: Change in Python 3.3 with the treatment of sys.argv Chris Angelico <rosuav@gmail.com> - 2013-03-23 23:34 +1100
    Re: Change in Python 3.3 with the treatment of sys.argv "Colin J. Williams" <cjw@ncf.ca> - 2013-03-23 08:27 -0400
  Re: Change in Python 3.3 with the treatment of sys.argv Peter Otten <__peter__@web.de> - 2013-03-22 23:33 +0100
  Re: Change in Python 3.3 with the treatment of sys.argv Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-22 23:45 +0000

csiph-web