Apache Mod-Python - Commented: (MODPYTHON-55) Add a version attribute to the mod_python module.

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > May 2005 > Commented: (MODPYTHON-55) Add a version attribute to the mod_python module.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Commented: (MODPYTHON-55) Add a version attribute to the mod_python module.
Jim Gallacher (JIRA)

2005-05-31, 5:47 pm

[ http://issues.apache.org/jira/brows...ts#action_66631 ]

Jim Gallacher commented on MODPYTHON-55:
----------------------------------------

I think I messed up the referernce counting in the code for server_get_mp_version. I'm new at this and the Python documentation is just plain confusing. I *think* the correct code is:

static PyObject * server_get_mp_version(serverobject *self)
{

return PyString_FromString(MPV_STRING);

}

If someone can confirm this I'll attach a corrected patch.

> Add a version attribute to the mod_python module.
> -------------------------------------------------
>
> Key: MODPYTHON-55
> URL: http://issues.apache.org/jira/browse/MODPYTHON-55
> Project: mod_python
> Type: Improvement
> Versions: 3.1.4
> Reporter: Nicolas Lehuen
> Assignee: Nicolas Lehuen
> Fix For: 3.2.0
> Attachments: serverobject.c-jg20050531-1.diff
>
> (asked by dharana) There is no easy way to know the version of mod_python used from within an handler. Why not try to add a version string attribute to the mod_python module ?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com