Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'try:': 0.09; 'python': 0.11; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'nameerror:': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'print': 0.22; '"you': 0.24; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'program,': 0.31; 'allows': 0.31; 'except': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'error.': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'received:50.22': 0.84 Date: Thu, 18 Apr 2013 13:48:41 -0500 From: Tim Chase To: python-list@python.org Subject: Re: equivalent to C pointer In-Reply-To: References: <51702AB6.30609@gmail.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366310836 news.xs4all.nl 2198 [2001:888:2000:d::a6]:55754 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43852 On 2013-04-18 18:07, Neil Cerutti wrote: > There's no linking stage in Python. Everything you use must be > defined before you use it. "must be defined", only if you don't want an error. But in python, it isn't even REQUIRED that it be defined: some_undefined_function("args go here") will bomb out your program, but Python graciously allows you to do so: >>> try: ... hello(42) ... except NameError: ... print "You had me at hello" ... You had me at hello -tkc