Re: TLP Name

2007-05-21 Thread Daniel J. Popowich
Gregory (Grisha) Trubetskoy writes: > > On Sun, 20 May 2007, Justin Erenkrantz wrote: > > > FWIW, the full name of the TLP will be: "Apache " - so "Apache > > PyPache" doesn't roll off the tongue very well... > > Yes, Apache PyPache does sound a bit silly. My vote is then: > > +1 Quetzalcoatl

Re: sys.path and htaccess change?

2007-05-18 Thread Daniel J. Popowich
Jorey Bump writes: > Graham Dumpleton wrote: > > > The whole point of the changes which were made was to draw a well > > defined line between the code modules used in the web application and > > which reside in the document tree, or other specially specified areas > > by way of mod_python module i

Re: sys.path and htaccess change?

2007-05-17 Thread Daniel J. Popowich
Graham Dumpleton writes: > And that is what the documentation I pointed you at states: > > """Note that with the new module importer, as directories associated > with Python*Handler directives are no longer being added automatically > to sys.path and they are instead used directly by the module i

Re: sys.path and htaccess change?

2007-05-17 Thread Daniel J. Popowich
Graham Dumpleton writes: > > When I go to http://localhost/~dpopowich/py/syspath, a simple > > mpservlet that writes out the current value of sys.path, I do NOT see > > /home/dpopowich/public_html/py in the path. > > You will not see the path listed in sys.path. The mod_python module > importer p

Re: sys.path and htaccess change?

2007-05-17 Thread Daniel J. Popowich
Graham Dumpleton writes: > Read: > > http://www.modpython.org/live/current/doc-html/pyapi-apmeth.html > > Especially the area which starts just before: > > PythonOption mod_python.importer.path "['~']" > > Your particular issue is mentioned just after this example. Doesn't work, either in

sys.path and htaccess change?

2007-05-17 Thread Daniel J. Popowich
In mod_python 3.2.x, if I set a directory to use mod_python with a .htaccess file, I will find that directory in sys.path. That is, if: /var/www/somedir/.htaccess contains: SetHandler python-program then sys.path will have "/var/www/somedir" as element zero. With 3.3.x this does not hap

sys.path and htaccess change?

2007-05-17 Thread Daniel J. Popowich
In mod_python 3.2.x, if I set a directory to use mod_python with a .htaccess file, I will find that directory in sys.path. That is, if: /var/www/somedir/.htaccess contains: SetHandler python-program then sys.path will have "/var/www/somedir" as element zero. With 3.3.x this does not hap

Python 2.x; what's x?

2006-02-16 Thread Daniel J. Popowich
Graham Dumpleton (JIRA) writes: > If mod_python is to still support Python 2.2, which it looks like we > are still because of Nokia work, then can't use the Python bool type > yet as that was only added to Python 2.3. But can't a decision be made? I think deciding by not deciding is less than an

Re: [DRAFT] ANNOUNCE: Mod_python 3.2.7

2006-02-10 Thread Daniel J. Popowich
Gregory (Grisha) Trubetskoy writes: > > On Thu, 9 Feb 2006, Jim Gallacher wrote: > > > Depending on Grisha's preference, I think we should either put the > > content in svn and have a cron job on modpython.org do a nightly update, > > or start using the Apache infrastructure for the website. Se

Re: mod_python 3.2.7 available for testing

2006-02-05 Thread Daniel J. Popowich
+1 Debian (testing, aka, etch), Apache 2.0.55-worker, Python 2.3.5

Re: 3.2.6 or not

2006-02-03 Thread Daniel J. Popowich
Jim Gallacher writes: > Graham Dumpleton wrote: > > To confirm Jim's arithmetic anyway, I say -1 on 3.2.6 as it stands. > > > > As to 3.2.7, I say +1, subject to removal of problematic test case > > as already raised and with us at least confirming tests run OK for > > version out of SVN prior to

Re: Version 3.3 and beyond .......

2006-02-02 Thread Daniel J. Popowich
Graham Dumpleton writes: > Daniel J. Popowich wrote .. > > PS > > If it's not obvious I'm gearing up to get way more involved...I've > > been waiting (patiently) for 3.2 to be released and jump in with new > > 3.3 development...I guess I'm chompi

Re: Python 2.2 support

2006-02-02 Thread Daniel J. Popowich
Jim Gallacher writes: > Daniel J. Popowich wrote: > > Regardless, I do not think it is within the scope of mod_python > > developers to keep users forward-compatible with the underlying python > > version. Sorry, but IMHO, this is not scalable software engineering. &

Re: Python 2.2 support

2006-02-01 Thread Daniel J. Popowich
Nicolas Lehuen writes: > I've just checked in some changes to the Python source code in order > to support Python 2.2. Now the test suite runs successfully on Python > 2.2.3 on Windows 2000. I've checked that no regressions were > introduced in later Python versions, too. > > The changes are pret

Re: Various musings about the request URL / URI / whatever

2005-11-30 Thread Daniel J. Popowich
Jim Gallacher writes: > Daniel J. Popowich wrote: > > Jim Gallacher writes: > > > >>Jim Gallacher wrote: > >> > >> > >>>Using an internal_redirect messes with some of these attributes but not > >>>others. Those that chang

Re: Various musings about the request URL / URI / whatever

2005-11-30 Thread Daniel J. Popowich
Jorey Bump writes: > > o req.hostname is set by the contents of the full URI, or in absence > >of a full uri, the value of the Host header (this is what is > >actually said in the mod_python docs). As mentioned before, in the > >case when HTTP/1.1 AND the full URI are not specified, r

Re: Various musings about the request URL / URI / whatever

2005-11-30 Thread Daniel J. Popowich
Gregory (Grisha) Trubetskoy writes: > I think a properly designed site should insist on its host name, i.e. "I > see you think I'm gobbledygook.bleh, but I'm going to redirect you to > http://www.modpython.org/ because that is my true name". This is very > common with sites that respond to both

Re: Various musings about the request URL / URI / whatever

2005-11-29 Thread Daniel J. Popowich
Gregory (Grisha) Trubetskoy writes: > > On Tue, 29 Nov 2005, Nicolas Lehuen wrote: > > > If I understand you correctly, req.hostname is not reliable in case where > > virtual hosting is not used. What about server.server_hostname, which seems > > to be used by the code from mod_rewrite you posted