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

[Python-Dev] PEP280 and my experiment

[Python-Dev] PEP280 and my experiment [Python-Dev] PEP280 and my experimentPhillip J. Eby pje@telecommunity.com
Sat, 14 Jun 2003 08:46:29 -0400
At 03:15 AM 6/14/03 +0200, Samuele Pedroni wrote:

>this is probably far from ideal for closures, OTOH with the right 
>infrastructure it should be possible to store created caches e.g. in code 
>objects and so reuse them.

Perhaps I'm misunderstanding, but wouldn't code objects be a bad place to 
put a cache, since the same code object can be used for more than one 
function object, each with different globals?  This would be problematic 
for code that uses 'exec code in dict' to load scripting code into a 
restricted execution space, for example.




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