[
https://issues.apache.org/jira/browse/MODPYTHON-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Graham Dumpleton closed MODPYTHON-198.
--
> Python 2.5 nested auth functions in publis
orrectly for older
versions of Python.
> Python 2.5 nested auth functions in publisher.
> --
>
> Key: MODPYTHON-198
> URL: http://issues.apache.org/jira/browse/MODPYTHON-198
> Project: mod
Got access to Python 2.5 finally. My test script works on it so they
have
fixed the ordering issue.
2.5 (r25:51908, Oct 29 2006, 01:52:52)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
()
('req', '__auth__', '__access__', '__auth_realm__')
1
__auth__ (1, line 7>)
__access__ (1, line 9>)
__aut
On 29/10/2006, at 12:05 PM, Graham Dumpleton wrote:
On 28/10/2006, at 10:01 PM, Dan Eloff wrote:
On 10/28/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
Dan, the code that needs to be updated is:
if "__auth__" in func_code.co_names:
i = list(func_code.co_names).index
of Python, so will need to
check both co_names and co_varnames.
> Python 2.5 nested auth functions in publisher.
> --
>
> Key: MODPYTHON-198
> URL: http://issues.apache.org/jira/browse/MODPYTHON-198
>
[ http://issues.apache.org/jira/browse/MODPYTHON-198?page=all ]
Work on MODPYTHON-198 started by Graham Dumpleton.
> Python 2.5 nested auth functions in publisher.
> --
>
> Key: MODPYTHON-198
>
On 28/10/2006, at 10:01 PM, Dan Eloff wrote:
On 10/28/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
Dan, the code that needs to be updated is:
if "__auth__" in func_code.co_names:
i = list(func_code.co_names).index("__auth__")
__auth__ = func_code.co_const
On 10/28/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
Dan, the code that needs to be updated is:
if "__auth__" in func_code.co_names:
i = list(func_code.co_names).index("__auth__")
__auth__ = func_code.co_consts[i+1]
if hasattr(__auth__, "co_nam
On 27/10/2006, at 11:03 PM, Dan Eloff wrote:
On 10/27/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
Unless they have really screwed things around, co_varnames is
specifically
for function argument names and is unlikely to contained nested
constant
names. If it did, then I would expect a l
Python 2.5 nested auth functions in publisher.
--
Key: MODPYTHON-198
URL: http://issues.apache.org/jira/browse/MODPYTHON-198
Project: mod_python
Issue Type: Bug
Components: publisher
On 10/27/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
Unless they have really screwed things around, co_varnames is
specifically
for function argument names and is unlikely to contained nested constant
names. If it did, then I would expect a lot of the publisher code to
break in
other ways as
On 27/10/2006, at 9:31 PM, Dan Eloff wrote:
On 10/27/06, Graham Dumpleton <[EMAIL PROTECTED]> 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.
On 10/27/06, Graham Dumpleton <[EMAIL PROTECTED]> 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
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 cas
14 matches
Mail list logo