RE: [Webware-discuss] Tools for introspection

2002-02-20 Thread Patrick K. O'Brien
Have you looked at PyCrust? If you can manipulate Webware from a Python shell, then you should be able to get quite a bit of introspection features (autocomplete, calltips and more) using PyCrust. PyCrust requires (and ships with) wxPython. In a nutshell, it is a modular Python shell and namespac

Re: [Webware-discuss] Tools for introspection

2002-02-20 Thread Edmund Lian
Tim wrote: >>I don't know of any existing well-developed tool, take a look at the "inspect" module from 2.1.<< Argh, you're right. I just did a quick search, looking at OS and commercial IDEs, Emacs add-ins, etc. there's nothing out there that seems to offer the power and convenience of the cla

Re: [Webware-discuss] Re: Introspection

2002-02-20 Thread Edmund Lian
Kevin wrote: >>Found it - http://groups.google.com/groups?q=inspect+group:comp.lang.python. *+group:comp.lang.python. *&hl=en&scoring=d&selm=mailman.1014044043.5689.clpa-moderators%40python.org&rnum=1 << PySpy looks interesting but it looks more likea runtime visusualization tool than an intros

Re: [Webware-discuss] clustered webservers?

2002-02-20 Thread Edmund Lian
Geoff, >>A SQL SessionStore would also need the same sort of locking, but maybe it could be smarter since it doesn't necessarily have to store all values in one big pickle. But still, that means that servlet code can no longer simply access sessions as though they are a simple Python dictionar

Re: [Webware-discuss] Absolute path to current context

2002-02-20 Thread Edmund Lian
Geoff wrote: >>Nothing that fancy. HTTPRequest is sort-of hardwired into Application. I say sort-of because in the constructor for Application, you could pass in a different request class to be used. [snip] Application calls servlet.awake(transaction). Page's awake() stores the transaction o

Re: [Webware-discuss] Hosting

2002-02-20 Thread Patrick Giagnocavo
On Wed, Feb 20, 2002 at 04:10:06PM -0800, Mike Orr wrote: > On Wed, Feb 20, 2002 at 03:49:23PM -0800, Kevin Dahlhausen wrote: > > Does anyone know any inexpensive Webware-friendly > > hosts? > > I don't know if they're Webware-friendly or inexpensive, but Hostway > (www.hostway.com) was a

Re: [Webware-discuss] Hosting

2002-02-20 Thread Mike Orr
On Wed, Feb 20, 2002 at 03:49:23PM -0800, Kevin Dahlhausen wrote: > Does anyone know any inexpensive Webware-friendly > hosts? I don't know if they're Webware-friendly or inexpensive, but Hostway (www.hostway.com) was a sponsor of the Python conference, and they use Python internally to so

[Webware-discuss] Hosting

2002-02-20 Thread Kevin Dahlhausen
Ok, I'm pulling my hair out with my third provider. Does anyone know any inexpensive Webware-friendly hosts? I would especially like to be able to load C/C++ language Python extensions from my own directory. (All 3 said sure you can do that, but it turned out not to be the case). Thanks

RE: [Webware-discuss] clustered webservers?

2002-02-20 Thread Jeff Johnson
> > When we first started up they bought a hardware load balancer even > > though I told them not as we didn't have any traffic yet and may never. > > It cost $15k. Two years later when I went to use it, I see that for > > another $5k they could have bought the better model that used cookies to >

RE: [Webware-discuss] clustered webservers?

2002-02-20 Thread Tripp Lilley
On Tue, 19 Feb 2002, Jeff Johnson wrote: > When we first started up they bought a hardware load balancer even > though I told them not as we didn't have any traffic yet and may never. > It cost $15k. Two years later when I went to use it, I see that for > another $5k they could have bought the b

Re: [Webware-discuss] SourceForge-like system using WebWare?

2002-02-20 Thread Tavis Rudd
On Wednesday 20 February 2002 12:08, Greg Wilson wrote: > Hello. Has anyone thought about (or better yet, done anything > about) building a SourceForge-like system using WebWare? I've > had some bad experiences installing and setting up SourceForge > on local machines, and would be very interest

[Webware-discuss] SourceForge-like system using WebWare?

2002-02-20 Thread Greg Wilson
Hello. Has anyone thought about (or better yet, done anything about) building a SourceForge-like system using WebWare? I've had some bad experiences installing and setting up SourceForge on local machines, and would be very interested in a cleaner re-working of it. Thanks, Greg -

Re: [Webware-discuss] FunFormKit default button

2002-02-20 Thread Clark C . Evans
On Wed, Feb 20, 2002 at 10:45:51AM -0800, Tim Roberts wrote: | >IE and Mozilla seem to choose the first button in | >the tab order as the default. | | What makes you say this? I don't think it is true. I just | tried this web page: | | | | | | | | | | | Perhaps P

Re: [Webware-discuss] FunFormKit default button

2002-02-20 Thread Tim Roberts
On Tue, 19 Feb 2002 21:57:52 -0500, "Clark C . Evans" <[EMAIL PROTECTED]> wrote: > >On Tue, Feb 19, 2002 at 02:53:38PM -0600, Ian Bicking wrote: >| >| No, rather when no submit button field was found, a default submit >| button should be assumed. IE and Mozilla will submit a form when an >| ent

[Webware-discuss] Re: Introspection

2002-02-20 Thread Kevin Dahlhausen
Found it - http://groups.google.com/groups?q=inspect+group:comp.lang.python.*+group:comp.lang.python.*&hl=en&scoring=d&selm=mailman.1014044043.5689.clpa-moderators%40python.org&rnum=1 An announcement for Python Journal (http://pythonjournal.com/) , has an article about PySpy: First -- The pytho

Re: [Webware-discuss] Tools for introspection

2002-02-20 Thread Tavis Rudd
I've never used it, but the 'inspect' module in the standard library does a bit of this sort of stuff. On Wednesday 20 February 2002 01:23, Edmund Lian wrote: > This is a bit off topic, but... does anybody know if there is > anything out there that can help inspect a live Python app? For > examp

RE: [Webware-discuss] Re: Introspection

2002-02-20 Thread Stefan Kuzminski
I found some good introspection pointers in here.. http://starship.python.net/crew/gandalf/DNET/classes/DynamicObject.py.html Stefan -Original Message- From: Kevin Dahlhausen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 7:26 AM To: [EMAIL PROTECTED] Subject: [Webware-d

Re: Re: [Webware-discuss] Making __init__.py invisible.

2002-02-20 Thread John Smith
On Wed, 20 Feb 2002 Tavis Rudd wrote : > See the FilesToHide setting in the Application.config > file. Come to > think of it, we should add '__init__.py*' to the > default list Ah, OK, thanks, looks like this is in CVS. I was using 0.6.1b1. JJS ___

[Webware-discuss] Re: Introspection

2002-02-20 Thread Kevin Dahlhausen
I just saw an announcement for a tool to do that within the last few days. It was either on comp.lang.python, Dr Dobbs summary, or the python announce list. I just checked all three but couldn't locate it though. The description had the word 'live' in it. = ~~~

Re: [Webware-discuss] Tools for introspection

2002-02-20 Thread Luke Opperman
I don't know of any existing well-developed tool, take a look at the "inspect" module from 2.1. There are a number of introspection tricks you can do using various hidden variables of objects, classes, etc. take a look at attributes starting with func_, co_, and im_. The book "Python Programming

Re: [Webware-discuss] clustered webservers?

2002-02-20 Thread Geoffrey Talvola
On Wednesday February 20, 2002 01:48 am, Edmund Lian wrote: > Geoff wrote: > >>But it seems to me that in general, you'd have to lock the row for the > > entire duration of the servlet's processing. What if a user accesses a > servlet that takes 20 seconds to process, then in a different window o

Re: [Webware-discuss] Absolute path to current context

2002-02-20 Thread Geoffrey Talvola
On Wednesday February 20, 2002 01:41 am, Edmund Lian wrote: > Chuck, > > >>You should also review the summaries of the classes so you can see what > > their methods are. These come with your local docs.<< > > Thanks... I've actually been doing this. But the class summaries did not > show why a sub

Re: [Webware-discuss] Making __init__.py invisible.

2002-02-20 Thread Geoffrey Talvola
On Tuesday February 19, 2002 05:05 pm, Tavis Rudd wrote: > On Tuesday 19 February 2002 12:39, John Smith wrote: > > Hello, > > > > If a user specifies __init__ as the servlet in a > > context which has a __init__.py, an exception is > > raised (since there is no class called __init__ in the > > f

Re: [Webware-discuss] `loginid' field in LoginPage.py/SecurePage.py.

2002-02-20 Thread Geoffrey Talvola
On Tuesday February 19, 2002 03:04 pm, John Smith wrote: > Hello, > > I'm trying to understand the mechanism of password > secured pages as implemented in the SecurePage.py > example (Webware 0.6.1b1). > > The purpose of the `loginid' field in these pages is not > clear. Is it to provide some ki

[Webware-discuss] LXP and Webware combination?

2002-02-20 Thread Magnus Lie Hetland
Just a quick question -- it would be possible to combine lxp with Webware, right? (lxp is an xml-based preprocessor.) Since lxp is an Apache module, it would have to be the first in the chain, but since it can include Apache subrequests, including a Python-file would make that file be executed by

[Webware-discuss] Tools for introspection

2002-02-20 Thread Edmund Lian
This is a bit off topic, but... does anybody know if there is anything out there that can help inspect a live Python app? For example, given an instance of an object, list its methods, attributes, and base classes, show which methods were inherited and from where, etc.? Something like this would s