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/036117.html below:

[Python-Dev] towards a faster Python

[Python-Dev] towards a faster Python [Python-Dev] towards a faster PythonSamuele Pedroni pedronis@bluewin.ch
Tue, 10 Jun 2003 16:04:43 +0200
At 10:26 10.06.2003 +0200, M.-A. Lemburg wrote:

>    (modules are often used as container for global variables and
>    state).


and that kind of usage is penalized maybe too much by the patch as it 
stands: e.g
[probably an application scripting scenario]

import new
import sys

userdata = new.module('userdata')
execfile('startupdata',userdata.__dict__)

sys.modules['userdata'] = userdata


user scripts:

import userdata

userdata.x=...


regards 




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