durusmail: quixote-users: newcomer to the list
newcomer to the list
2004-11-04
2004-11-04
2004-11-05
newcomer to the list
Neil Schemenauer
2004-11-04
On Thu, Nov 04, 2004 at 06:12:52PM +0100, Michele Simionato wrote:
> It is pretty confusing to have http://localhost/cgi-bin/demo.cgi
> and http://localhost/cgi-bin/demo.cgi/ display the same page, but
> with the first form not working properly with the links.

Ah, that's a bug in the demo (or maybe Quixote 1.x).  Accessing
http://localhost/cgi-bin/demo.cgi should not give you a page.  That
will be fixed in Quixote 2.

> Care to expand? What's the rationale for having .ptlc files
> different from ...pyc files?

I'm not sure there is a good reason any more.  At one time I think
..ptl files had lower priority than .py files.  Because of the way
import hooks work, if .ptl were turned into .pyc files then updating
a .ptl files would not cause the .pyc to be regenerated.

My memory is a little fuzzy since it's been a long time since I
played with the import hooks.  Anyhow, since the file extension was
different, I decided use a different file format.  Also, the magic
number in .ptlc files uses both the Python version and the PTL
version.

  Neil

reply