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


Groups > comp.lang.python > #51319

Re: embedded python and threading

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripts,': 0.09; '"from': 0.16; 'ah,': 0.16; 'dict': 0.16; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'globals': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'thread,': 0.16; 'subject:python': 0.16; 'all.': 0.16; 'stefan': 0.19; 'import': 0.22; 'header:User-Agent:1': 0.23; 'script': 0.25; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'then.': 0.30; 'prints': 0.31; 'guess': 0.33; 'received:84': 0.35; 'explains': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'sample': 0.67; 'received:arcor-ip.net': 0.84; 'received:pools.arcor-ip.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: embedded python and threading
Date Fri, 26 Jul 2013 20:38:36 +0200
References <a6710206-8676-48c8-ad66-95139e695503@googlegroups.com> <mailman.5138.1374831002.3114.python-list@python.org> <965b463e-e5bf-4ccd-9a3c-b0cb964b3356@googlegroups.com> <ksu8eu$oh0$1@reader1.panix.com> <e7bf5211-bb6d-4379-bb1a-fba4e7007a31@googlegroups.com> <2c80d06f-6946-4624-ba3c-47ddfa9db117@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host dslb-084-056-045-139.pools.arcor-ip.net
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
In-Reply-To <2c80d06f-6946-4624-ba3c-47ddfa9db117@googlegroups.com>
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.5155.1374863932.3114.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374863932 news.xs4all.nl 15947 [2001:888:2000:d::a6]:42207
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51319

Show key headers only | View raw


David M. Cotter, 26.07.2013 19:28:
> DOH!  as my second thread, i had been using a sample script that i had copy-pasted without much looking at it.  guess what? it prints the time.  and yes, it did "from time import time", which explains it all.

Ah, and you were using the same globals dict for both scripts, I guess?
That explains it then.

Stefan

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


Thread

embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-25 23:15 -0700
  Re: embedded python and threading Stefan Behnel <stefan_ml@behnel.de> - 2013-07-26 11:29 +0200
    Re: embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-26 08:57 -0700
      Re: embedded python and threading David Robinow <drobinow@gmail.com> - 2013-07-26 12:14 -0400
      Re: embedded python and threading John Gordon <gordon@panix.com> - 2013-07-26 16:34 +0000
        Re: embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-26 10:25 -0700
          Re: embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-26 10:28 -0700
            Re: embedded python and threading Stefan Behnel <stefan_ml@behnel.de> - 2013-07-26 20:38 +0200

csiph-web