Jim Jewett wrote:
defmacro myresource(filename):
<make explicit calls to named callback "functions", but within the same locals() scope.>
with myresource("thefile"):
def reader(): ...
def writer():
...
def fn():
....
-1. This is ugly.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
