Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Python': 0.05; 'python': 0.09; 'imports': 0.09; 'namespace': 0.09; 'portions': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'def': 0.10; 'aug': 0.13; 'locations.': 0.16; 'pythonwin': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Objects': 0.16; '(in': 0.18; '>>>': 0.18; 'module': 0.19; 'math': 0.20; 'versions': 0.20; 'bit': 0.21; 'import': 0.21; '3.2': 0.22; 'older': 0.27; 'fixed': 0.28; 'header:X-Complaints-To:1': 0.28; 'allowed,': 0.29; "d'aprano": 0.29; 'falls': 0.29; 'steven': 0.29; 'function': 0.30; '2008,': 0.33; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'really': 0.36; 'charset:us-ascii': 0.36; 'level': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'further': 0.61; 'back': 0.62; 'dennis': 0.91; 'received:108': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Objects in Python Date: Sun, 26 Aug 2012 16:12:40 -0400 Organization: > Bestiaria Support Staff < References: <87d32i1ntc.fsf@benfinney.id.au> <7df4c317-7ad8-4158-900a-b52f19c3caf2@k9g2000pbr.googlegroups.com> <503750b9$0$6574$c3e8da3$5496439d@news.astraweb.com> <503a2804$0$6574$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-68-179-67.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 1346011973 news.xs4all.nl 6916 [2001:888:2000:d::a6]:49658 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27945 On 26 Aug 2012 13:43:33 GMT, Steven D'Aprano declaimed the following in gmane.comp.python.general: > > (In some older versions of Python, wildcard imports are allowed, and the > function then falls back on a namespace instead of fixed locations. That > is no longer the case in Python 3.2 at least.) > Must be really old: PythonWin 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin' for further copyright information. >>> def ham(): ... from math import * :1: SyntaxWarning: import * only allowed at module level -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/