…PM is loaded.
…to client Without the "expires" attribute in the _valid_attr list, cookie expirations are never returned by the __str__ method, and consequently are never sent to the browser.
generated (skip it if it's a tag or no git available or we are not working with a checkin), also fix a bash-dependency (helps on Solaris), and a couple of cross-platform awk fixes in configure.
is all str now. Added a couple of Unicode notes to the docs.
process as well.
Directory and Location.
encourage using Location instead of wsgi.base_uri.
of mod_python.wsgi.base_uri is still suppored, but discouraged, as using Location is much cleaner, as well as faster.
path. Fix a bug where accessing an invalid attribute in hlist would segfault. There is no need to do any directory-related stuff if we are in a Location context. Added d_is_location flag to the hlist structure, and added checks for it. Skip map-to-storage phase when we are wrapped in a Location (it attempts to do a directory_walk). The implication is that Location trumps all Directory configs which have no effect. But it's much faster this way. Track down where in core.c the trailing slash is added as part of the why-are-we-doing-this research with respect to appending trailing slashes to all directories.
member, which keeps track of whether the config directive is wrapped in a Location block. This is that when we're in a location, we can omit running the map_to_storage phase and not touch the fs at all during a request. This has a potentially unusual side-effect of disabling all fs-based Directive config parts, this is yet-to-be-documented. Also remove trailing blanks from a lot of lines - this makes it a mess of a commit, but oh well.
the request object, move the path_info/script_name creation into C
The rules are simple - avoid function calls at all cost, especially for Python code that runs at every request, replace all had_key() and get() with something using "in", avoid string to integer conversions and other string manipulation, etc.