Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43852
| Date | 2013-04-18 13:48 -0500 |
|---|---|
| From | Tim Chase <python.list@tim.thechases.com> |
| Subject | Re: equivalent to C pointer |
| References | <CAF3f0sQ_rsdKwaEOCmFHEeEwpVUaNUo-pOYgoqYA_F-k0CftcA@mail.gmail.com> <51702AB6.30609@gmail.com> <mailman.783.1366307409.3114.python-list@python.org> <atar34Fmv3jU2@mid.individual.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.788.1366310836.3114.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: equivalent to C pointer abdelkader belahcene <abelahcene@gmail.com> - 2013-04-18 18:50 +0100
Re: equivalent to C pointer Neil Cerutti <neilc@norwich.edu> - 2013-04-18 18:07 +0000
Re: equivalent to C pointer Tim Chase <python.list@tim.thechases.com> - 2013-04-18 13:48 -0500
csiph-web