Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Geoffrey Talvola
At 05:30 PM 12/6/01 -0800, Tavis Rudd wrote: >I've attached a copy of the old .webkit_config_annotated file >translated to the proposed format. It seems to work with all >versions of Python, not just 2.1 and up. This file contains all the >settings and is more complicated than the average user w

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 06:05 am, Geoffrey Talvola wrote: > As far as naming conventions, these are valid Python > modules/packages, so .py would probably be best.  But it would be > nice to be able to identify config files from their filename, so it > could look like this for a multiple-file c

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Geoffrey Talvola
At 10:55 AM 12/7/01 -0800, Chuck Esterbrook wrote: >On Friday 07 December 2001 06:05 am, Geoffrey Talvola wrote: > > As far as naming conventions, these are valid Python > > modules/packages, so .py would probably be best. But it would be > > nice to be able to identify config files from their fi

[Webware-devel] SessionDynamicStore

2001-12-07 Thread Geoffrey Talvola
I'm taking a closer look at the implementation of SessionDynamicStore. It looks like it actually checks the filesystem on _every_ request, even if the session is in memory. This would seem to slow it down considerably. That plus the concurrency issue and it looks like SessionDynamicStore coul

[: Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Mike Orr
On Fri, Dec 07, 2001 at 10:55:20AM -0800, Chuck Esterbrook wrote: > On Friday 07 December 2001 06:05 am, Geoffrey Talvola wrote: > > As far as naming conventions, these are valid Python > > modules/packages, so .py would probably be best. ?But it would be > > nice to be able to identify config fil

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 10:55, Chuck Esterbrook wrote: > On Friday 07 December 2001 06:05 am, Geoffrey Talvola wrote: > > As far as naming conventions, these are valid Python > > modules/packages, so .py would probably be best.  But it would be > > nice to be able to identify config files from

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 11:26, Chuck Esterbrook wrote: > On Friday 07 December 2001 11:04 am, Geoffrey Talvola wrote: > > >The plan I was changing for Configurable was simply to do an > > > exec, unless the first char was a {, in which case I would do > > > an eval. > > > > Just make sure to ch

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 11:04 am, Geoffrey Talvola wrote: > The __init__.py was just so that the config files could be imported > as a package.  But if there are good reasons to stick with *.config, > then obviously you can't just import the files as a package, so the > reason for __init__.py g

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 12:49 pm, Tavis Rudd wrote: > Why not just go for only the assignment style and get rid of the old > dictionary parsing method completely?  Transitioning an app from one > to the other is a matter of a few minutes.  Keeping both around just > makes the code more complex

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 06:05 am, Geoffrey Talvola wrote: > The WebKit launcher would accept either a "Configs" directory, or a We could also take the same route that Python and other apps follow when searching for files: - look in standard places - WebKit/Configs

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 13:15, Chuck Esterbrook wrote: > On Friday 07 December 2001 06:05 am, Geoffrey Talvola wrote: > > The WebKit launcher would accept either a "Configs" directory, or > > a > > We could also take the same route that Python and other apps follow > when searching for files: >

Re: [Webware-devel] ServletFactory method name weirdness

2001-12-07 Thread Geoffrey Talvola
At 01:22 PM 12/7/01 -0800, Chuck Esterbrook wrote: >On Thursday 06 December 2001 03:49 pm, Geoffrey Talvola wrote: > > At 06:43 PM 12/6/01 -0500, Geoffrey Talvola wrote: > > >At 12:32 PM 12/6/01 -0800, Tavis Rudd wrote: > > >>Why are method names different between ServletFactory and > > >>PythonSe

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 12:43 pm, Tavis Rudd wrote: > The scheme we were talking about yesterday would allow the end user > to make the choice of whether to go for a single file or split it up. > To Webware and its components it would be transparent. I think > option 2 or 3 should be the defau

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Chuck Esterbrook
On Thursday 06 December 2001 08:16 pm, Tavis Rudd wrote: > It seems we're not the only ones having this debate: > > http://groups.google.com/groups?hl=en&threadm=pan.2001.12.06.13.23.30 >.752127.1733%40uchicago.edu&prev=/groups%3Fhl%3Den%26group%3Dcomp.lang >.python > > ;) Okay, on more positive

Re: [Webware-devel] mod_webkit bug?

2001-12-07 Thread Chuck Esterbrook
On Thursday 06 December 2001 12:04 pm, Love, Jay wrote: > From memory, with cgi, if there is a location header, a redirect is > assumed. With mod_webkit, you need to set the response code, I think. Yipee! That was it. Thanks, Jay. def _respond(self, trans): trans.response

Re: [Webware-devel] ServletFactory method name weirdness

2001-12-07 Thread Chuck Esterbrook
On Thursday 06 December 2001 03:49 pm, Geoffrey Talvola wrote: > At 06:43 PM 12/6/01 -0500, Geoffrey Talvola wrote: > >At 12:32 PM 12/6/01 -0800, Tavis Rudd wrote: > >>Why are method names different between ServletFactory and > >>PythonServletFactory? > >> > >>ServletFactory.createServletForTransa

Re: [Webware-devel] some surprises for 0.7

2001-12-07 Thread Chuck Esterbrook
On Tuesday 04 December 2001 06:01 pm, Tavis Rudd wrote: > * It requires Python 2.0 and up.  I don't see any compelling reason > to continue support for 1.5.2.  If people can install Webware they > can also install 2.0!  If they're concerned about breaking existing > Apps by making that change, why

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 13:34, Chuck Esterbrook wrote: > On Friday 07 December 2001 12:43 pm, Tavis Rudd wrote: > > The scheme we were talking about yesterday would allow the end > > user to make the choice of whether to go for a single file or > > split it up. To Webware and its components it

Re: [Webware-devel] some surprises for 0.7

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 13:55, Chuck Esterbrook wrote: > On Tuesday 04 December 2001 06:01 pm, Tavis Rudd wrote: > > * It requires Python 2.0 and up.  I don't see any compelling > > reason to continue support for 1.5.2.  If people can install > > Webware they can also install 2.0!  If they're c

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 02:45 pm, Tavis Rudd wrote: > But Geoff suggested that it might be better to require an explicit > arg to the start script to make damn sure it doesn't get them from > the wrong place.  I don't think it's that likely. Nonetheless the > launcher script should loudly decla

Re: [Webware-devel] SessionDynamicStore

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 11:08 am, Geoffrey Talvola wrote: > I'm taking a closer look at the implementation of > SessionDynamicStore.  It looks like it actually checks the filesystem > on _every_ request, even if the session is in memory.  This would > seem to slow it down considerably. > > That

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Ian Bicking
On Fri, Dec 07, 2001 at 01:38:52PM -0800, Chuck Esterbrook wrote: > Okay, on more positive note without getting into flamewars again, I > have been thinking the following, but need help from emacs users in the > answers: > > - Recently, I saw a text file where someone included special comments

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 14:30, Ian Bicking wrote: > The '''-quoted doc strings are still also a problem for Emacs. Those and the unwrapped lines (usually docstrings) actually bother me much more than the tabs. ___ Webware-devel mailing list [EMAI

Re: [Webware-devel] SessionDynamicStore

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 13:12, Chuck Esterbrook wrote: > On Friday 07 December 2001 11:08 am, Geoffrey Talvola wrote: > > I'm taking a closer look at the implementation of > > SessionDynamicStore.  It looks like it actually checks the > > filesystem on _every_ request, even if the session is in

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Tavis Rudd
Chuck, like Ian said it works fine if you set the tab width to 8 instead of 4. This is the default, in fact. The problem then, however, is that the line wrapping is totally screwed up. This wouldn't be such a problem (and we wouldn't complain so much) if several other conventions were foll

RE: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Darryl VanDorp
-Original Message- what editor do you guys use when programming python? Linux preferred... Thanks -darryl ___ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 04:08 pm, Darryl VanDorp wrote: > -Original Message- > what editor do you guys use when programming python? > Linux preferred... http://webware.colorstudy.net/twiki/bin/view/Webware/TextEditors ___ Webware-devel maili

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Chuck Esterbrook
On Friday 07 December 2001 02:30 pm, Ian Bicking wrote: > I've also found that as long as I leave the tabwidth at 8, the > auto-tab-detection works correctly -- i.e., Emacs inserts tabs in > files that use tabs, and spaces in files that use spaces.  I don't > know why it doesn't work with a tabwid

Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-07 Thread Tavis Rudd
On Friday 07 December 2001 16:58, Chuck Esterbrook wrote: > > The '''-quoted doc strings are still also a problem for Emacs. > - Since emacs already handles multi-line strings with double > quotes, would it be possible to fix it to handle multi-line strings > with single quotes? As far as I know