Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.070 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'python.': 0.02; 'python': 0.11; 'concurrency': 0.16; 'subject:recursion': 0.16; 'trying': 0.19; 'machine': 0.22; 'to:name:python-list@python.org': 0.22; 'load': 0.23; 'certainly': 0.24; 'received:65.55.116': 0.24; 'subject:problem': 0.24; 'looks': 0.24; "i've": 0.25; 'header:In- Reply-To:1': 0.27; 'skip:- 40': 0.29; '[1]': 0.29; "doesn't": 0.30; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'mac': 0.33; 'date:': 0.34; 'core': 0.34; 'subject:the': 0.34; 'problem': 0.35; 'no,': 0.35; 'shows': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'apple': 0.38; 'solving': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'subject:': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'email addr:gmail.com': 0.63; 're:': 0.63; 'more': 0.64; 'email name:python-list': 0.65; 'it!': 0.67; 'normal.': 0.68; '2013': 0.98 X-TMN: [P7SRBhQtVue8bV4Xy5v1ZyRRIdjOdf/w] X-Originating-Email: [carlosnepomuceno@outlook.com] From: Carlos Nepomuceno To: "python-list@python.org" Subject: RE: Solving the problem of mutual recursion Date: Sun, 26 May 2013 21:22:19 +0300 Importance: Normal In-Reply-To: <074eac8a-1bc4-4fe0-afa9-1f52405f81d5@k3g2000vbn.googlegroups.com> References: <55942e65-e4a5-45fc-b2fc-ceb4020959dd@k4g2000vba.googlegroups.com>, , , , , , <074eac8a-1bc4-4fe0-afa9-1f52405f81d5@k3g2000vbn.googlegroups.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 26 May 2013 18:22:19.0844 (UTC) FILETIME=[F57D0840:01CE5A3D] X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369592548 news.xs4all.nl 15958 [2001:888:2000:d::a6]:49353 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46098 ----------------------------------------=0A= > Date: Sun=2C 26 May 2013 11:13:12 -0700=0A= > Subject: Re: Solving the problem of mutual recursion=0A= > From: peter.h.m.brooks@gmail.com=0A= > To: python-list@python.org=0A= [...]=0A= >> How can you get 140% of CPU? IS that a typo??=0A= >>=0A= > No=2C on a multi-core machine it's normal. The machine shows python=0A= > running multiple threads - and the number of threads change as the=0A= > program runs. Perhaps the OS/X implementation of python does allow=0A= > concurrency when others don't. It certainly looks like it!=0A= =0A= =0A= I pretty sure it doesn't run on multiple cores on Linux and Windows.=0A= =0A= I've tested it and have been trying to find a better way achieve concurrenc= y in Python. One of the ways is the multiprocessing module[1].=0A= =0A= Do Mac OS shows "140%" CPU load when more than a single core is been used? = lol Apple sucks!!! lol=0A= =0A= =0A= [1] http://docs.python.org/2/library/multiprocessing.html =