A few comments:

1. If you have an older version of flex than that expected, it gives message:

checking flex version... configure: WARNING: Flex version 2.5.31 or greater is required. The one you have seems to be 2.5.4. Use --with-flex to specify another.

There is nothing in the README describing why such a requirement exists.
The only veiled comment is in the "configure" script itself where it
says:

  # check for correct flex version
  # requires flex 2.5.31 for reentrant support

A more prominent explanation is required in the README with "configure"
outputing with the message above a pointer to consult the README for
further details.

What also isn't at all clear, is whether the flex warning is relevant
anyway if pre-generated code for the lexical analyser is provided in the
tar ball and that is used.

Thus, what is the real story, am I going to have a problem or not if
I have an older version of flex?

2. Publisher still doesn't check special extensions supplied by the
AddHandler or PythonHandler directives. Ie.,

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

This may mean that code that previously worked no longer works. Ie., this feature was in there before. Only caveat is that the feature may not have worked properly before anyway, so existing code may not be affected after
all. See:

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

Bit unsure on this one.

3. Only other issue at the moment I can think of is whether or not anything prominent has been put in main documentation about changed behaviour of module loading in mod_python.publisher. In the main the changes are for the better
and things will actually work better.

There is one case though where existing code can stop working. This is where code makes an assumption that global data within a publisher module is preserved
across module reloads.

I am not saying this change is wrong, but it perhaps may need to be clearly
explained in documentation else we will get lots of questions about it
no doubt, with the common answer probably being that they shouldn't be storing
such persistent module data in a module that can be reloaded anyway.

Thats all for now until I can get some real time to look at it. :-)

Graham



On 18/08/2005, at 4:03 AM, Jim Gallacher wrote:

Here are the rules:

In order for a file to be officially announced, it has to be tested by developers on the dev list. Anyone subscribed to this list can (and should feel obligated to :-) ) test it, and provide feedback *to _this_ list*! (Not the [EMAIL PROTECTED] list, and preferably not me personally).

The files are (temporarily) available here:

http://www.modpython.org/dist/

Please download it, then do the usual

$ ./configure --with-apxs=/wherever/it/is
$ make
$ (su)
# make install

Then (as non-root user!)

$ cd test
$ python test.py

And see if any tests fail. If they pass, send a +1 to the list, if they
fail, send the details (the versions of OS, Python and Apache, the test
output, and suggestions, if any).

Thank you,

Jim

Reply via email to