A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-June/036077.html below:

[Python-Dev] towards a faster Python

[Python-Dev] towards a faster Python [Python-Dev] towards a faster PythonNeil Schemenauer nas@python.ca
Mon, 9 Jun 2003 14:09:54 -0700
Phillip J. Eby wrote:
> Presumably, if somebody writes to __dict__ in order to bypass the
> warning, they either know what they're doing or deserve what they get.

I'm not sure about that.  Think about using globals().  Eg.

    exec somecode in globals()

or:

    d = globals()
    d['range'] = 'ha ha'

I especially worried about code that provides an interactive interface
(e.g IDLE and pyrepl).

  Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4