ANNOUNCE: Mod_python 3.2.5 Beta

  • Thread starter Gregory (Grisha) Trubetskoy
  • Start date
G

Gregory (Grisha) Trubetskoy

The Apache Software Foundation and The Apache HTTP Server Project are
pleased to announce the 3.2.5 Beta release mod_python.

Version 3.2.5b of mod_python features several new functions and attributes
providing better access to apache internals, file-based sessions and other
session improvements, as well as many bug fixes and various performance
and security improvements. A detailed description of the changes is
available in Appendix A of the mod_python manual, also available here:

http://www.modpython.org/live/mod_python-3.2.5b/doc-html/node97.html

Beta releases are NOT considered stable and usually contain bugs.

This release is intended to solicit widespread testing of the code. We
strongly recommend that you try out your existing applications and
experiment with new features in a non-production environment using this
version and report any problems you may encounter so that they can be
addressed before the final release.

Preferred method of reporting problems is the mod_python user list
(e-mail address removed).

Mod_python 3.2.5b is available for download from:

http://httpd.apache.org/modules/python-download.cgi

For more information about mod_python visit http://www.modpython.org/

Regards,

Grisha Trubetskoy and the Apache mod_python team.
 
G

grahamd

Damjan said:
http://www.modpython.org/live/mod_python-3.2.5b/doc-html/hand-pub-alg-auth.html

says "Since functions cannot be assigned attributes,..."

But that's not true (at least in 2.3 and 2.4):

... return 'a'
...

The documentation was originally written when mod_python supported 2.1
and 2.2. :)

Anyway, whether it can now be done is irrelevant as the next part of
the documentation states:

Note that this technique will also work if __auth__ or __access__ is
a constant, but will not work is they are a dictionary or a list.

Thus I suspect (but can't confirm right now), that your example will
not work anyway as __auth__ defined within the scope of the function as
a dictionary will not be seen as a constant as required.

Overall, I would not recommend relying on nesting __auth__ or
__access__ within the scope of a published function like this as the
code which supports this feature is somewhat fragile.

http://issues.apache.org/jira/browse/MODPYTHON-43

It is possible that now that mod_python requires at least mod_python
2.3 that new features in the language may be able to be utilised to
improve this feature of mod_python.

BTW, you are better off bringing up issue like this about mod_python on
the mod_python mailing list instead of the general Python group.

Graham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top