Re: [Web-SIG] Announcing bobo

2009-06-16 Thread C. Titus Brown
xote as (I thought) an attempt to return to Bobo-style programming, and so I'm curious about what sort of choices Bobo has made. thanks, --titus -- C. Titus Brown, c...@msu.edu ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.o

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-10 Thread Titus Brown
On Mon, Mar 10, 2008 at 11:55:04PM -0500, Massimo Di Pierro wrote: -> It would also be nice to have a common interface to all modules that -> do serialization. For example pickle, cPickle, marshall has dumps, so -> json should also have dumps. Doesn't it? Or did you want something additional?

Re: [Web-SIG] Dealing with urllib, urllib2, and urlparse

2008-02-20 Thread Titus Brown
On Wed, Feb 20, 2008 at 09:38:16PM -0500, Fred Drake wrote: -> On Wed, Feb 20, 2008 at 8:57 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: -> > A quick grep shows that I use "quote", "quote_plus", "unquote", and -> > "unquote_plus" from urllib. Not sure how representative that is, but -> -> Those

[Web-SIG] RELEASE: twill 0.9

2007-12-27 Thread Titus Brown
ANNOUNCING twill v0.9. twill is a simple language for browsing the Web. It's designed for automated testing of Web sites, but it can be used to interact with Web sites in a variety of ways. In particular, twill supports form submission, cookies, redirects, and HTTP authentication. This release

Re: [Web-SIG] about WSGI adoption

2007-11-18 Thread Titus Brown
On Sun, Nov 18, 2007 at 09:03:23PM +0100, Manlio Perillo wrote: -> Titus Brown ha scritto: -> > -> -> > -> However I still consider remarkable that there is not a "trac.wsgi" script. -> > -> Can this be caused by the lack of a standardized

Re: [Web-SIG] about WSGI adoption

2007-11-18 Thread Titus Brown
-> Thanks, very good guide. -> -> -> However I still consider remarkable that there is not a "trac.wsgi" script. -> -> Can this be caused by the lack of a standardized deployment of WSGI -> applications? What would a trac.wsgi script contain? WSGI is a programming interface, not a script inte

Re: [Web-SIG] The web dudes pad is open for business

2007-02-23 Thread Titus Brown
now doesn't everyone wish they were at PyCon, too? ;) On Fri, Feb 23, 2007 at 08:06:48AM -0500, Chad Whitacre wrote: -> > The jacuzzi's open, too, if you brought trunks. -> -> We have a jacuzzi!? Please tell me it's not heart-shaped ... -> -> You guys have fun today, I don't get in until tonight

Re: [Web-SIG] wsgiref and wsgi.multithread/wsgi.multiprocess

2007-02-09 Thread Titus Brown
On Fri, Feb 09, 2007 at 12:10:00PM -0500, Phillip J. Eby wrote: -> At 11:54 PM 2/8/2007 -0800, Titus Brown wrote: -> >Hi folks, -> > -> >I just ran into an interesting sanity check problem, and I was hoping -> >you could all cross-check *my* sanity. -> > ->

[Web-SIG] wsgiref and wsgi.multithread/wsgi.multiprocess

2007-02-09 Thread Titus Brown
Hi folks, I just ran into an interesting sanity check problem, and I was hoping you could all cross-check *my* sanity. Should the WSGI environ variables 'wsgi.multithread' and 'wsgi.multiprocess' be set to 'True' in wsgiref.simple_server.WSGIServer? They are, currently, but I see no indication i

Re: [Web-SIG] WSGI Components Mailing List

2006-10-17 Thread Titus Brown
On Tue, Oct 17, 2006 at 08:42:36PM -0400, Luke Arno wrote: -> I set up a mailing list for WSGI component users -> and developers. I have had a few emails asking -> questions and looking for help. I thought it would -> be good to have a list with that scope. What's wrong with keeping WSGI discussio

[Web-SIG] 'scotch' WSGI recording & proxy.

2006-05-18 Thread Titus Brown
Hi folks, here's a project I've been working on: http://issola.caltech.edu/~t/scotch/doc/ 'scotch' currently consists of two modules, WSGI recording middleware and a WSGI proxy application. See the docs above for some minimal information. You can grab it via darcs at darcs.idy

[Web-SIG] wsgiref problems & quibbles

2006-05-03 Thread Titus Brown
Hi, Phillip, so I threw together a few WSGI apps recently, and used wsgiref to serve them. I ran into two problems, and had a few quibbles to raise as well. === First, a patch to fix the existing unit tests is attached. === Second, there's a bug in handlers.BaseHandler.finish_response, line 1

Re: [Web-SIG] [Python-Dev] Adding wsgiref to stdlib

2006-04-28 Thread Titus Brown
On Fri, Apr 28, 2006 at 02:36:11PM -0400, Phillip J. Eby wrote: -> At 11:03 AM 4/28/2006 -0700, Guido van Rossum wrote: -> >(I'm asking Phillip to post the URL for the current -> >source; searching for it produces multiple repositories.) -> -> Source browsing: http://svn.eby-sarna.com/wsgiref/ ->

Re: [Web-SIG] [Fwd: Summer of Code preparation]

2006-04-17 Thread Titus Brown
On Mon, Apr 17, 2006 at 11:47:12AM -0500, Ian Bicking wrote: -> Titus Brown wrote: -> > On Mon, Apr 17, 2006 at 10:39:59AM -0500, Ian Bicking wrote: -> > -> Hi guys... looks like Google SoC is back on again. I'm hoping we get -> > -> some good web stuff going on,

Re: [Web-SIG] [Fwd: Summer of Code preparation]

2006-04-17 Thread Titus Brown
On Mon, Apr 17, 2006 at 10:39:59AM -0500, Ian Bicking wrote: -> Hi guys... looks like Google SoC is back on again. I'm hoping we get -> some good web stuff going on, so people should start thinking. Also -> there's two wiki pages where you can add project ideas: -> http://wiki.python.org/moin/

Re: [Web-SIG] Standalone WSGI form framework.

2006-03-16 Thread Titus Brown
oriented, so that it is easier -> > to mock and unittest. -> -> [Titus Brown] -> > I'm confused by this -- this could mean that you want to separate the -> > quixote forms lib from the Quixote 'request' object, I guess. What -> > else? -> -> Hi

Re: [Web-SIG] Standalone WSGI form framework.

2006-03-15 Thread Titus Brown
-> I'm looking for a framework-independent form library. I'm using the -> Quixote forms library at the moment, inside my own framework, but -> would ideally like something more WSGI oriented, so that it is easier -> to mock and unittest. hi, Alan, I'm confused by this -- this could mean that you

[Web-SIG] [twill] ANNOUNCE: twill v0.8

2005-11-29 Thread C. Titus Brown
ANNOUNCING twill v0.8. twill is a simple language for testing Web applications. It's designed for automated testing of Web sites, but it can be used to interact with Web sites in a variety of ways. twill has an interactive shell, 'twill-sh', and can also run scripts. twill is a reimplementation

[Web-SIG] ANNOUNCE: twill v0.7.4, Web testing language.

2005-11-11 Thread C. Titus Brown
ANNOUNCING twill v0.7.4. twill is a simple Web scripting language built on top of Python and John J. Lee's 'mechanize'. It's designed for automated testing of Web sites, but it should prove useful for anybody who needs to interact with Web sites (especially those using logins and cookies) on the

[Web-SIG] RELEASE: session2 v0.6

2005-10-24 Thread Titus Brown
Hello all, I've just released version 0.6 of session2, our (Mike Orr's and mine) rewrite of session management for Quixote 2.x. Visit the Web site at http://quixote.idyll.org/session2/ session2 offers a (in our opinion) vastly improved session management API that more cleanly *supports* SQL-base

Re: [Web-SIG] Global Variables

2005-09-10 Thread Titus Brown
-> I second the statement about multi-threading headaches if you use -> globals in this way. -> -> In Aquarium, since I have to support different threading API's (no -> threads, Python threads, coroutines), I put everything in a Context -> object, and then pass that Context object to everything's

Re: [Web-SIG] Session interface

2005-08-17 Thread Titus Brown
-> Wow! I'm dumbfounded by this whole conversation! I thought session -> backends were something innane enough that we could agree on them! I -> have the same use cases as Geoffrey. No, cookies are not a good -> replacement for sessions since you have to validate them everytime you -> use them.

Re: [Web-SIG] and now for something completely different!

2005-08-15 Thread Titus Brown
-> I've also got reams of code in Zope for sessions. -> -> Maybe we should just wait til the next PyCon and have a consolidation -> sprint. -> -> On Mon, 2005-08-15 at 10:17 -0700, Shannon -jj Behrens wrote: -> > Heh, I'm overwhelmed by too much code and not enough direction. -> > Naturally, I'v

Re: [Web-SIG] and now for something completely different!

2005-08-14 Thread Titus Brown
-> I think that would be useful. Flup has a fairly decoupled session store -> (http://www.saddi.com/software/flup/ in -> http://svn.saddi.com/flup/trunk/flup/middleware/session.py). Is there -> other current work that should be considered? PythonWeb has a session -> module, but I don't know

[Web-SIG] WSGI adapter for Quixote 2.0.

2005-04-28 Thread Titus Brown
Hi all, pursuant to my Quixote2 tutorial and a private request, I've updated my WSGI wrapper for Quixote to work for Quixote 2.0. It's been greatly simplified in the process. It's called QWIP2, and there's a not-very-updated Web page here: http://www.idyll.org/~t/www-tools/wsgi/ The so

Re: [Web-SIG] Re: Just lost another one to Rails

2005-04-27 Thread Titus Brown
-> > Martijn Faassen: -> > One can hardly expect people to drop the frameworks they've invested a -> > lot in and all converge upon another one. You can't even expect Python -> > programmers to actually stop creating new frameworks. -> -> Expect? No. Ask? Yes. Believe that if they don't, they'l

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Titus Brown
-> I use relative URLs because of this, but I understand why this might -> cause you problems. Perhaps we can add a 'root namespace' parameter -> to WSGI... duh. That's what SCRIPT_NAME is. Sorry. ;) --titus ___ Web-SIG mailing list Web-SIG@python.o

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Titus Brown
-> > The CP-Location trick is not needed (I should remove it from this page -> > as it confuses people). -> -> Hmm, I wrote that part of the page. My specific reason for using a -> custom header is that it's the only way I can see to locate a CherryPy -> application *not* at the root of a virtual

[Web-SIG] wsgiMemcached and wsgiAdvogato.

2005-02-12 Thread Titus Brown
Hi all, I continued my hobby of implementing simple WSGI apps for fun, and implemented one piece of middleware, wsgiMemcached, and once piece of endware, wsgiPullAdvogato. wsgiMemcached uses the Python API to memcached, http://www.danga.com/memcached/ to cache pages by their URL (accord

Re: [Web-SIG] WSGI middleware library

2005-02-04 Thread Titus Brown
-> What do people think about collaborating on a kind of "standard" library -> of WSGI middleware? Hi, Ian, ok, here's another response ;). I slept on it a bit, and I would like to suggest one modification: make it a cookbook of examples, rather than a library. This implies that we don't need

Re: [Web-SIG] Web Client

2005-02-03 Thread Titus Brown
-> I'm currently trying to retrieve a webpage in order to extract -> information from it. The problem is that this page is _behind_ a POST -> formular. -> -> Does someone know a module or a tutorial that can help me ? There are several: urllib2 is probably the place to start. Check out this po

Re: [Web-SIG] Fun with WSGI -- commenting middleware.

2005-02-01 Thread Titus Brown
-> >I sat down today to hack out a simple commenting system for HTML -> >articles, and ended up using WSGI to implement a pipe-style solution. -> > -> >You can see the results at -> > -> >http://www.idyll.org/~t/articles.cgi/ -> > -> >This CGI script serves HTML files from a directory hierarchy

[Web-SIG] Fun with WSGI -- commenting middleware.

2005-01-29 Thread Titus Brown
Hi all, I sat down today to hack out a simple commenting system for HTML articles, and ended up using WSGI to implement a pipe-style solution. You can see the results at http://www.idyll.org/~t/articles.cgi/ This CGI script serves HTML files from a directory hierarchy. Anyone can attac

Re: [Web-SIG] Application framework shootout?

2005-01-02 Thread Titus Brown
On Sun, Jan 02, 2005 at 11:04:37PM -0500, Brian Beck wrote: -> Hi. -> -> I've recently started a project which is intended to become a pretty big -> web application. So far I've been winging it with my own simple system -> using mod_python, Vampire and SQLObject, but I would hardly call it a -