Hi there,
I am reading Learning Python 3e from Mark Lutz and just found out that
reassigning to builtins is possible.
What is the reason, why Python allows this ? IMO this is very risky
and can lead to hard to find errors.
(see also Learning Python 3e, Chapter 16, Page 315)
>>> True
True
>>> Fals
On Jan 3, 2:07 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> This hal always been possible. But it's not reassigning, it's shadowing -
> which is a totally different beast. Shadowing builtins is bad style, but
> lokal to your context. Which can get nasty of course, if you do the above
> on e.
On Jan 3, 8:06 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> In Py3k this will be a syntax error, like assigning to None is now.
> Possibly also in 2.6.
thanks. I feed much better with that :-)
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
think %Subject says all.
I am wondering if there is some tool to check dependencies within
python programs.
(something like jdepend for python ;-)
Of course the dependencies are at runtime (dynamic) and not statically
+dynamically (as in Java), but anyway it would be interesting to kno
On Jan 4, 1:57 pm, "Stefan Schukat" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> try to look at py2exe. This module scans all dependencies to pack them
> into one executable.
my intention is to _know_ (or display or list or whatever) the
dependencies.
(see also my original posting).
The aim is to control