quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Eloff" <dan.el...@gmail.com>
Subject Re: Python 2.5 nested auth functions in publisher.
Date Fri, 27 Oct 2006 11:31:08 GMT
On 10/27/06, Graham Dumpleton <grahamd@dscpl.com.au> wrote:
> Jim sent this to me when the python-dev list was down for maintenance.
> Can anyone with Python 2.5 who knows something about function internals
> enlighten us about what may have changed here. Previously the names
> of nested functions appeared in func_code.co_names but that doesn't
> appear to be the case in Python 2.5.

Confirmed. Try func_code.co_varnames instead. I don't know why the
change, and a quick search wasn't very enlightening, other than they
python guys mentioned something about co_names and co_varnames
changed, and some people fixing this problem by using co_varnames in
python 2.5.


View raw message