[Web-SIG] ANNOUNCE: zc.wsgirunner, a simpler container for paste.deploy-defined WSGI applications.

2014-04-16 Thread Jim Fulton
airly important for performance older versions of Python (<3.2) on multi-processor machines. Jim -- Jim Fulton http://www.linkedin.com/in/jimfulton ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe

Re: [Web-SIG] OT: dotted names (Was: Re: A Python Web Application Package and Format)

2011-04-15 Thread Jim Fulton
the benefit, marginally easier parsing? An opportunity of using a colon is that it allows:: dotted.module.name:expression where expression may be more than just a name:: foo.bar:Bar() Jim -- Jim Fulton http://www.linkedin.com/in/jimfulton ___ Web

Re: [Web-SIG] announcing 'httpmessage'

2009-11-19 Thread Jim Fulton
for dealing with HTTP messages *without* being tied to any particular networking approach or library, then this is something I've been wanting to see someone do well for some time. Good luck! Jim -- Jim Fulton ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Re: [Web-SIG] Announcing bobo

2009-10-28 Thread Jim Fulton
hen the > goal (I suppose) should be to share along, and learn stuff... > > I'll dig further down on Bobo. Thanks for announcing this. > > Please accept my apologies, Sure. Thanks. Jim -- Jim Fulton ___ Web-SIG mailing list

Re: [Web-SIG] Web Framework

2009-10-05 Thread Jim Fulton
l but it looks like it's dead do you know a clone of it? > Not need a VPS to host it, just a server that has Python. > > I know it's almost impposbile but I seached everywhere! And creating your > own is that hard? Bobo's main goal is simplicity: http://bobo.digicool.co

Re: [Web-SIG] Getting back to WSGI grass roots.

2009-09-23 Thread Jim Fulton
On Wed, Sep 23, 2009 at 12:43 AM, Graham Dumpleton wrote: ... > Anyway, that is the thought. Should we be looking at WSGI as a set of > layers instead of assuming we have to push unicode into the gateway > interface layer? +1 Jim -- J

Re: [Web-SIG] WSGI 2

2009-08-04 Thread Jim Fulton
ng discussions and so haven't commented up to now, but I've always been uncomfortable with WSGI using anything but bytes or assuming any encoding. I agree that application frameworks should deal with conversion between bytes and unicode. Jim -- Jim Fulton __

[Web-SIG] Python hosting (was Re: [Distutils] "setup.py needs to go away" (was [PEP 376] - Open questions on python-dev))

2009-07-11 Thread Jim Fulton
On Jul 11, 2009, at 5:58 AM, David Lyon wrote: On Fri, 10 Jul 2009 10:02:39 -0400, Jim Fulton wrote: I was really just pointing out that there isn't anything special about web developers. Really the need relates to application development. That is, web application developer's ne

Re: [Web-SIG] Announcing bobo

2009-06-22 Thread Jim Fulton
ation) which probably helps make this story work well. Jim -- Jim Fulton Zope Corporation ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Re: [Web-SIG] Announcing bobo

2009-06-19 Thread Jim Fulton
On Jun 19, 2009, at 11:27 AM, Chris Withers wrote: Jim Fulton wrote: I'm working on another project, bozo, to facilitate using bobo resources in Zope and use Zope components with bobo applications. Cool, hopefully bozo can be used for non-Zope applications too :-) bozo.component wi

Re: [Web-SIG] Announcing bobo

2009-06-19 Thread Jim Fulton
job. It's one of many things they do and they don't want to have a lot to remember or re-learn. Many full-time web developers have more interesting things to focus on that publishing mechanics. I know I do. Jim -- Jim Fulton Zope Corporation _

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Jim Fulton
(Note that this discussion is getting rather dense. I suggest reading my reply all the way through befor responding to individual points. :) On Jun 17, 2009, at 6:42 PM, Sergey Schetinin wrote: On 2009-06-17, Jim Fulton wrote: On Jun 16, 2009, at 11:02 AM, Sergey Schetinin wrote

Re: [Web-SIG] Announcing bobo

2009-06-17 Thread Jim Fulton
oute maps onto an object and when a URL matches a route, we call the object. (Of course, there are other details, but they're covered by the bobo documentation.) I hope this helps and that I haven't totally misunderstood your original question. Jim -- Jim Fulton Zope Corporatio

Re: [Web-SIG] Announcing bobo

2009-06-17 Thread Jim Fulton
On Jun 17, 2009, at 5:12 AM, Chris Withers wrote: Hey Jim, Jim Fulton wrote: Bobo is a light-weight framework for creating WSGI web applications. Do you know if there are plans/possibilities to make the routing part of Bobo available for other frameworks I'm working on another pr

Re: [Web-SIG] Announcing bobo

2009-06-17 Thread Jim Fulton
be a genius to use other frameworks. It was intended to be a play on the name "bobo", which can be translated as "idiot" in Spanish. I absolutely don't want to bad-mouth other frameworks. I've removed this unnecessary sentence from the PyPI page and from the

[Web-SIG] Announcing bobo

2009-06-16 Thread Jim Fulton
ing language, a database integration layer, or a number of other features that can be provided by WSGI middle-ware or application-specific libraries. Bobo builds on other frameworks, most notably WSGI and WebOb. To learn more. visit: http://bobo.digicool.com Jim -- Jim Fulton Z

Re: [Web-SIG] RESTful Python email list?

2009-04-11 Thread Jim Fulton
is out of scope. ;-) -1 I'd be happy to see the discussions here. Jim -- Jim Fulton Zope Corporation ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/option

Re: [Web-SIG] Removal of Cookie in Python 3.0 OK?

2008-02-04 Thread Jim Fulton
hat there's this fairly large effort for people to redo lots of the standard library for Python 3, without necessarily knowing a lot about the libraries' histories, and motivation. I;m skeptical that this is going to lead to a high-quality product. I'

Re: [Web-SIG] Removal of Cookie in Python 3.0 OK?

2008-02-04 Thread Jim Fulton
hink most web frameworks use setuptools at this point. I'd rather get this as a distribution, rather than from the standard library. In fact, I'd prefer to see all web-development libraries distributed separate from the language in Python 3. Jim -- Jim Fulton Zope Corporation ___

Re: [Web-SIG] WebOb

2007-10-23 Thread Jim Fulton
> I redid the front page to make it more brief: http:// > pythonpaste.org/webob/ I suggest a paragraph saying what WebOb is, including what problem it is trying to solve. I'd find this interesting as it is not at all clear to me. Jim -- Jim Fulton Zope

Re: [Web-SIG] Can't we all just get along? (was: Re: wsgiconfig design)

2007-07-08 Thread Jim Fulton
On Jul 8, 2007, at 7:48 AM, Guido van Rossum wrote: > On 7/8/07, Jim Fulton <[EMAIL PROTECTED]> wrote: ... > I don't understand why your talks are assumed to be uninteresting to > non-Zope-users (how much evidence do you have? A fair bit. I've had people tell me, &

Re: [Web-SIG] wsgiconfig design

2007-07-08 Thread Jim Fulton
On Jul 7, 2007, at 3:01 PM, Ian Bicking wrote: > Jim Fulton wrote: .. >> I do have one potential complaint about the entry-point APIs. The >> applications my company builds have configurations that are too >> complex to fit in a single config-parser sect

[Web-SIG] Can't we all just get along? (was: Re: wsgiconfig design)

2007-07-08 Thread Jim Fulton
On Jul 7, 2007, at 3:01 PM, Ian Bicking wrote: > Jim Fulton wrote: >> On Jul 6, 2007, at 11:41 PM, Ian Bicking wrote: >>> Every so often I get in this cleanup/redux mood where I feel a >>> need to >>> revisit things I've done before in an attempt to Do

Re: [Web-SIG] entry points, etc

2007-07-07 Thread Jim Fulton
different delimiter between eggs and entry points and between modules and names, then we'd be able to tell the refrecnes apart. Again, I think this is more general than web applications. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! C

Re: [Web-SIG] wsgiconfig design

2007-07-07 Thread Jim Fulton
se and to track option access. A common mistake when writing configurations is to misspell something. You end up with options that are ignored because they are misspelled. This sort of error can be hard to spot. Handlers could complain about unused options, but this is hard to do if a DEFAULT

Re: [Web-SIG] Web Site Process Bus

2007-06-25 Thread Jim Fulton
also sends all events to all subscribers, instead of > partitioning the subscribers. Right. You need a dispatching layer behind this. The beauty of zope.event is that it puts very little requirement on people who publish events. > And finally, I don't want "import > zope

Re: [Web-SIG] windows, pywebd, webctl

2007-03-12 Thread Jim Fulton
the software install. We don't want deamons installed automatically when an application is installed. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Jim Fulton
On Mar 9, 2007, at 9:26 AM, Sidnei da Silva wrote: > On 3/9/07, Jim Fulton <[EMAIL PROTECTED]> wrote: >> On Mar 8, 2007, at 4:36 AM, Chris Withers wrote: ... >> For years, people word >> files ended up in the same directory with the word applications. > > I t

Re: [Web-SIG] more comments on Paste Deploy

2007-03-09 Thread Jim Fulton
On Mar 8, 2007, at 4:55 AM, Chris Withers wrote: > Jim Fulton wrote: >> On Mar 5, 2007, at 4:38 PM, Phillip J. Eby wrote: >> ... >>> Personally, I don't care for the Paste Deploy syntax -- frankly >>> it's almost barbaric. :) >> I don't

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Jim Fulton
On Mar 8, 2007, at 4:36 AM, Chris Withers wrote: > Jim Fulton wrote: >> Having everything in one folder is great for development. It >> isn't so good for deployment, at least not on Unix. > > Can you explain why? Yes. See my response to Chad. > I do a lot of uni

Re: [Web-SIG] windows, pywebd, webctl

2007-03-09 Thread Jim Fulton
layout faux pas? > >- As mentioned wrt PHP, users like familiar filesystem layouts. > Reaching agreement here improves our story for newcomers. I don't have a problem with people using whatever layout they want. I don't even object to having common layouts that ar

Re: [Web-SIG] more comments on Paste Deploy

2007-03-09 Thread Jim Fulton
tools to bear that would be appropriate to the problem. Maybe this would be a good place to start. Dang, I wish I had time to. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

Re: [Web-SIG] daemon tools

2007-03-08 Thread Jim Fulton
ink an event model, as Robert Brewer described is a good start. > As I mentioned on another thread, Zope uses 'signals' on *nix, and > 'named events' on Windows, by means of the 'Signals' package in Zope. I'm not familiar with that. :) So that unifies

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-07 Thread Jim Fulton
On Mar 6, 2007, at 2:56 PM, Chris Withers wrote: > Jim Fulton wrote: >> On Mar 3, 2007, at 11:27 PM, Chad Whitacre wrote: >> ... >>> Now, Jim: it looks like Zope still uses a Unix-y userland for >>> INSTANCE_HOME, yes? >> Yes, but I hate it. At Zope Corp

Re: [Web-SIG] more comments on Paste Deploy

2007-03-07 Thread Jim Fulton
/etc/php.d, /etc/httpd/conf.d and that ilk > come to > mind as examples of this kind of thing. FWIW, zc.buildout has a configuration model designed to support overriding. Often there is a base configuration that is overridden by specific configurations for development and deployme

Re: [Web-SIG] more comments on Paste Deploy

2007-03-07 Thread Jim Fulton
w much easier PHP applications are to deploy to hosting providers. I would *love* it is Python had a similar story, even if only for smaller applications. I'd love to get some input who know a lot about what makes deploying PHP apps so easy. Jim -- Jim Fulton mailto:[

Re: [Web-SIG] daemon tools

2007-03-07 Thread Jim Fulton
estion, we probably need to have an idea how this will work on windows. If Unix-specific daemonizing code is in the main application, then the application won't be portable. Of course, if the main program is generic, it might not be a big deal to have separate versions for Wind

Re: [Web-SIG] daemon tools

2007-03-07 Thread Jim Fulton
useful on Windows? IOW, do they map to services on windows? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.

Re: [Web-SIG] daemon tools

2007-03-07 Thread Jim Fulton
On Mar 5, 2007, at 12:25 PM, Joseph Tate wrote: > On Saturday 03 March 2007 11:08:24 Jim Fulton wrote: >> >> Anyway, I share this for your consideration. There are probably >> better tools out there than zdaemon and supervisor2, but I'm not >> aware of them. :

Re: [Web-SIG] [Proposal] "website" and first-level conf (was: more comments on Paste Deploy)

2007-03-05 Thread Jim Fulton
On Mar 5, 2007, at 12:25 PM, Sidnei da Silva wrote: > On 3/5/07, Jim Fulton <[EMAIL PROTECTED]> wrote: >> We don't deploy to win32 and I don't know enough about win32 to >> answer. I expect though that, like Unix, a production deployment is >> going to look

Re: [Web-SIG] [Proposal] "website" and first-level conf (was: more comments on Paste Deploy)

2007-03-05 Thread Jim Fulton
On Mar 5, 2007, at 9:16 AM, Sidnei da Silva wrote: > On 3/5/07, Jim Fulton <[EMAIL PROTECTED]> wrote: >> For production deployments, we (Zope Corporation) install files into >> the *real* Unix tree where site administrators want them. We'll >> typically have a d

Re: [Web-SIG] more comments on Paste Deploy

2007-03-05 Thread Jim Fulton
e more tools for browsing for and working with eggs, then I think entry points would provide greater advantages as they would allow the tools to guide someone deciding how to reuse an egg by telling them about the components available. Personally, I think that use of entry points makes

Re: [Web-SIG] My summary of a web-platform Open-Space discussion at PyCon 2007

2007-03-05 Thread Jim Fulton
;main application". > I assume you mean a common app server executable, as opposed to > best practice docs, entry point standards, maybe even libraries, > etc. Yes? Yes. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

Re: [Web-SIG] more comments on Paste Deploy

2007-03-05 Thread Jim Fulton
h not > well described in documentation); that's where you do something like > "use = other_section", and then add settings that override that other > section's settings. Yes, but the way it is overloaded with selecting an entry point and r

Re: [Web-SIG] [Proposal] "website" and first-level conf (was: more comments on Paste Deploy)

2007-03-05 Thread Jim Fulton
int to a > second, framework-specific configuration layer. We do something like this now. It don't require any particular file- system layout. The devil is in the details. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

Re: [Web-SIG] daemon tools

2007-03-05 Thread Jim Fulton
On Mar 3, 2007, at 6:19 PM, Robert Brewer wrote: > Jim Fulton wrote: > > For some time, Zope has used a daemon-management tool > > we wrote called zdaemon: > > > >http://www.python.org/pypi/zdaemon > > > > Ironically, this sort of tool isn't Py

[Web-SIG] daemon tools

2007-03-03 Thread Jim Fulton
Anyway, I share this for your consideration. There are probably better tools out there than zdaemon and supervisor2, but I'm not aware of them. :) I'm curious what other people have found or use. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Power

[Web-SIG] My summary of a web-platform Open-Space discussion at PyCon 2007

2007-03-03 Thread Jim Fulton
t think there were specific action items. A few tools were mentioned. (I'll send a separate brief note on my ideas about this). My impression is that there isn't a lot of appetite for standardizing on a common pain application. Jim -- Jim Fulton

Re: [Web-SIG] more comments on Paste Deploy

2007-03-03 Thread Jim Fulton
extra. > > > > > chad > ___________ > Web-SIG mailing list > Web-SIG@python.org > Web SIG: http://www.python.org/sigs/web-sig > Unsubscribe: http://mail.python.org/mailman/options/web-sig/jim% > 40zope.com -- Jim Fulton

Re: [Web-SIG] PasteDeploy comments

2007-03-03 Thread Jim Fulton
On Mar 2, 2007, at 8:17 PM, Ian Bicking wrote: > Jim Fulton wrote: >> What have you used global configuration data for? > > It's often meant for configuration that applies to many > components. For instance, a "debug" value that applies widely (or >

Re: [Web-SIG] WSGI, cgi.FieldStorage incompatibility

2006-10-26 Thread Jim Fulton
ing the server implementations, of course, where necessary. > But this kind of destabilizing breakage really shouldn't be allowed > to happen again. Once the error was discovered, the cgi.py change > should have been immediately reverted until either a decision was > made to

Re: [Web-SIG] WSGI Components Mailing List

2006-10-18 Thread Jim Fulton
ith that scope. > > What's wrong with keeping WSGI discussions on the web-sig list? Is it > off-topic? I don't think so. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope

Re: [Web-SIG] Python pickle and web security.

2006-09-18 Thread Jim Fulton
On Sep 18, 2006, at 2:34 PM, Python wrote: > On Mon, 2006-09-18 at 14:24 -0400, Jim Fulton wrote: >> On Sep 18, 2006, at 2:16 PM, Python wrote: >> >>> On Mon, 2006-09-18 at 10:27 -0700, Ben Bangert wrote: >>>> Why do you assume the session store is untrusted?

Re: [Web-SIG] Python pickle and web security.

2006-09-18 Thread Jim Fulton
is a very bad idea. Hopefully, no one is doing that. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation

Re: [Web-SIG] Python pickle and web security.

2006-09-15 Thread Jim Fulton
ckle is inherently insecure is like saying Python is inherently insecure. You don't want to execute Python from an untrusted source. If someone can tamper with your Python code, then you have a serious security problem as well. Jim -- Jim Fulton mailto:[EMAIL PROTEC

Re: [Web-SIG] Bowing out (was Re: A trivial template API counter-proposal)

2006-02-07 Thread Jim Fulton
ather than continuing to fight for a vision that > hardly anybody else believes in. And, I'd rather save whatever karma I > have left here for something with a better chance of success. > > Good luck with the spec. > > > ___ &g

Re: [Web-SIG] Standardized template API

2006-01-31 Thread Jim Fulton
would be appropriate for the web-sig to try to pick one. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org _

Re: [Web-SIG] Communicating authenticated user information

2006-01-25 Thread Jim Fulton
Michal Wallace wrote: > On Tue, 24 Jan 2006, Jim Fulton wrote: > > >>Michal Wallace wrote: >> >> >>>Maybe I just don't understand why this is important. Can someone (Jim) >>>explain why this >>>is a requirement in the first place? >&

Re: [Web-SIG] Communicating authenticated user information

2006-01-24 Thread Jim Fulton
Michal Wallace wrote: > On Tue, 24 Jan 2006, Jim Fulton wrote: > ... > Maybe I just don't understand why this is > important. Can someone (Jim) explain why this > is a requirement in the first place? We do our own authentication for lots of reasons, including: - Zope

Re: [Web-SIG] Communicating authenticated user information

2006-01-24 Thread Jim Fulton
d be guided by the common log file format. Log data are written to files and are thus not unicode. The user info is *just* documentation, so it is really up to the app what to show imo. Further, because the common log file format is space delimited, the user info cannot contain spaces. Jim -- Jim F

Re: [Web-SIG] Communicating authenticated user information

2006-01-22 Thread Jim Fulton
Ian Bicking wrote: > Jim Fulton wrote: > >> Typically, web servers provide access logs that include a label >> for the authenticated user. >> >> Often, WSGI applications (or middleware) provide their own user >> authentication facilities. Well, Zope does.

Re: [Web-SIG] Communicating authenticated user information

2006-01-22 Thread Jim Fulton
o an > application as. I might find out who I really am! ;) The point is that there's really no reason to send this to the client. It is certainly conceivable that some app could consider this information sensitive. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powe

[Web-SIG] Deployment tools

2006-01-22 Thread Jim Fulton
Who is working on deployment tools for WSGI? I'm aware of Paste Deploy. Are there any other efforts underway? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation

Re: [Web-SIG] Communicating authenticated user information

2006-01-22 Thread Jim Fulton
Phillip J. Eby wrote: > At 11:22 AM 1/22/2006 -0500, Jim Fulton wrote: > >> Typically, web servers provide access logs that include a label >> for the authenticated user. >> >> Often, WSGI applications (or middleware) provide their own user >> authent

[Web-SIG] Communicating authenticated user information

2006-01-22 Thread Jim Fulton
icate the information necessary for a server to log the authenticated user back to the server. Am I missing something? How do other people handle this? Is Zope the only WSGI application that performs authentication itself? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered

[Web-SIG] Should system environment variables appear in a WSGI environ?

2005-12-21 Thread Jim Fulton
pe currently exposes most of the environment it's given and I don't want to expose process environment variables. I'm wondering if I need to cleanse the environment I'm given. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 3

Re: [Web-SIG] Questions/suggestions on 'wsgi.file_wrapper'

2005-12-21 Thread Jim Fulton
Phillip J. Eby wrote: > At 01:06 PM 12/21/2005 -0500, Jim Fulton wrote: > >> Phillip J. Eby wrote: >> >>> At 11:25 AM 12/21/2005 -0500, Jim Fulton wrote: >>> >>>> Here are some questions and sugesstions on the 'wsgi.file_wrapper' &g

Re: [Web-SIG] Questions/suggestions on 'wsgi.file_wrapper'

2005-12-21 Thread Jim Fulton
Phillip J. Eby wrote: > At 11:25 AM 12/21/2005 -0500, Jim Fulton wrote: > >> Here are some questions and sugesstions on the 'wsgi.file_wrapper' >> part of the WSGI API: >> >> 1. Does this need to be optional? It seems that it would be >> easy fo

Re: [Web-SIG] Is the size argument to the input-stream read method optional?

2005-12-21 Thread Jim Fulton
Phillip J. Eby wrote: > At 10:20 AM 12/21/2005 -0500, Jim Fulton wrote: > >> Ian Bicking wrote: >> > Jim Fulton wrote: >> > >> >> The PEP is unclear on this and should be clarified, IMO. >> > >> > >> > My experience in us

[Web-SIG] Questions/suggestions on 'wsgi.file_wrapper'

2005-12-21 Thread Jim Fulton
r should be allowed to use the file wrapper in a different thread than the one used to run the application. This should be noted. Applications should not return file-like objects that rely on running in the same thread. This too should be noted. Jim -- Jim Fulton mailto:[EM

Re: [Web-SIG] Is the size argument to the input-stream read method optional?

2005-12-21 Thread Jim Fulton
Ian Bicking wrote: > Jim Fulton wrote: > >> The PEP is unclear on this and should be clarified, IMO. > > > My experience in using implementations is many servers do not require > the read size argument (they don't give a TypeError), but they block >

Re: [Web-SIG] Thread-management middleware components?

2005-12-15 Thread Jim Fulton
Ian Bicking wrote: > Jim Fulton wrote: > >>> Right now all threading and generally concurrency is handled by the >>> server. Since it *has* to be handled by the server, >> >> >> >> Why does it have to be handled by the server? > > > Be

Re: [Web-SIG] When must applications call the WSGI start_response callable.

2005-12-15 Thread Jim Fulton
Ian Bicking wrote: > Jim Fulton wrote: ... >> Why do I want this? It appears that this would be needed to enable >> middleware components that manage application threads. I can imagine >> though that there aren't any existing servers that handle what I've >>

Re: [Web-SIG] When must applications call the WSGI start_response callable.

2005-12-15 Thread Jim Fulton
James Y Knight wrote: > On Dec 15, 2005, at 3:01 PM, Jim Fulton wrote: > >> Normally an application will call the start_response callable when the >> application is called or when the result iterator is constructed, as >> shown in the first 2 examples. An applicat

Re: [Web-SIG] Thread-management middleware components?

2005-12-15 Thread Jim Fulton
Ian Bicking wrote: > Jim Fulton wrote: > >> Has anyone written any thread-management middleware components for WSGI? >> Many web applications need to run application code in separate threads. >> Often, the number of threads needs to be limited, either by throttling >&g

[Web-SIG] When must applications call the WSGI start_response callable.

2005-12-15 Thread Jim Fulton
t iterator has been constructed. In any case, I think the PEP needs to specify more clearly when start_response can be called. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation

[Web-SIG] Thread-management middleware components?

2005-12-15 Thread Jim Fulton
a capability that could be provided by a server, however, it seems that it might be functionality better provided at an intermediate layer to make it more pluggable. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

[Web-SIG] Is the size argument to the input-stream read method optional?

2005-12-15 Thread Jim Fulton
The PEP is unclear on this and should be clarified, IMO. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org