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


Groups > comp.lang.python > #2271

Re: delete namespaces

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <riteshn@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'namespace': 0.09; 'pm,': 0.11; 'received:74.125.82.44': 0.14; 'received:mail- ww0-f44.google.com': 0.14; 'wrote:': 0.14; 'monkeys': 0.16; 'ritesh': 0.16; 'subject:delete': 0.16; 'tue,': 0.20; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'variable': 0.21; 'header:In- Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'modification': 0.23; 'url:mailman': 0.27; 'message-id:@mail.gmail.com': 0.28; 'changes': 0.29; 'cc:addr:python.org': 0.31; 'import': 0.32; 'url:listinfo': 0.33; 'module': 0.33; 'there': 0.35; 'url:python': 0.37; 'received:google.com': 0.38; 'delete': 0.38; 'url:org': 0.38; 'how': 0.39; 'header:Received:5': 0.40; '2011': 0.62; 'mar': 0.64; 'url:us': 0.64; 'banner': 0.80
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Uv9X4NM6zQ8hRQZW567ttaKVDMJ5ib95Ck/45lsWB2o=; b=uNhbBMb8aO/U3toe/ebnZYWledGyfSE6v+opCwWrguskKrq91MWFUQRk4Dn9uTXnk0 vw0DaVYZmVBhaJjfmIwHd0VEdTKlwHqY/3JZgs+C24QKlrX+iIh1ZQOrx3y6Ml+XzhLo Odes1HdByqba9m+QwISQT7vGmnELW/fR7Sy40=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fax1yPhK4OVCQSasRk4K7QCI3cTwyEmLJgBwN/CGp+mOBLQDQQ9fErm01W47XP/esd kPlOAFEYY3t75dnUD2a/8i1jI7hekl2ZOgA8Rrq7qSCDqZKChbSLx3WwltTrscyRH8JC zFvT87paBJePyOvFb1+E6NmrmwBmGDBNmAdMU=
MIME-Version 1.0
In-Reply-To <UtydnQbv7-6IGQ_QnZ2dnUVZ_hWdnZ2d@insightbb.com>
References <UtydnQbv7-6IGQ_QnZ2dnUVZ_hWdnZ2d@insightbb.com>
Date Wed, 30 Mar 2011 21:22:21 -0700
Subject Re: delete namespaces
From Ritesh Nadhani <riteshn@gmail.com>
To monkeys paw <monkey@joemoney.net>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.26.1301545343.2990.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 82.94.164.166
X-Trace 1301545344 news.xs4all.nl 81483 [::ffff:82.94.164.166]:48528
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2271

Show key headers only | View raw


On Tue, Mar 29, 2011 at 6:14 PM, monkeys paw <monkey@joemoney.net> wrote:
> How do i delete a module namespace once it has been imported?
>
> I use
>
> import banner
>
> Then i make a modification to banner.py. When i import it again,
> the new changes are not reflected. Is there a global variable i can
> modify?
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Have a look at:

http://washort.twistedmatrix.com/2011/01/introducing-exocet.html

-- 
Ritesh
http://www.beamto.us

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


Thread

delete namespaces monkeys paw <monkey@joemoney.net> - 2011-03-29 21:14 -0400
  Re: delete namespaces Raymond Hettinger <python@rcn.com> - 2011-03-29 18:32 -0700
  Re: delete namespaces Tim Chase <python.list@tim.thechases.com> - 2011-03-29 20:41 -0500
  Re: delete namespaces Terry Reedy <tjreedy@udel.edu> - 2011-03-30 00:57 -0400
    Re: delete namespaces Raymond Hettinger <python@rcn.com> - 2011-03-30 17:11 -0700
      Re: delete namespaces Chris Angelico <rosuav@gmail.com> - 2011-03-31 14:06 +1100
  Re: delete namespaces Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-03-30 11:10 +0200
  Re: delete namespaces Terry Reedy <tjreedy@udel.edu> - 2011-03-30 15:03 -0400
  Re: delete namespaces Tim Golden <mail@timgolden.me.uk> - 2011-03-30 20:08 +0100
  Re: delete namespaces Ritesh Nadhani <riteshn@gmail.com> - 2011-03-30 21:22 -0700
  Re: delete namespaces rusi <rustompmody@gmail.com> - 2011-03-30 22:11 -0700

csiph-web