[Guido van Rossum] > > > +1 on the allvars() suggestion also. > > I have no idea what you are talking about. :-( François Pinard made the following suggestion and I think something along the lines of allvars() would be very handy, especially with the html stuff I've been doing lately: > This is an interesting idea. However, there are other contexts where the > concept of a compound dictionary of all globals and locals would > be useful. > Maybe we could have some allvars() similar to globals() and locals(), > and use `... % allvars()' instead of `.sub()'? So this would serve both > string interpolation and other avenues. -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python software development." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien -----------------------------------------------
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