On Jul 28, 2008, at 6:21 PM, Phillip J. Eby wrote:
At 04:57 PM 7/28/2008 -0700, Donovan Preston wrote:
On Jul 28, 2008, at 12:52 PM, Etienne Robillard wrote:
On Mon, 18 Feb 2008 04:23:38 -0800 (PST)
est <[EMAIL PROTECTED]> wrote:
I am writing a small 'comet'-lik
On Jul 28, 2008, at 12:52 PM, Etienne Robillard wrote:
On Mon, 18 Feb 2008 04:23:38 -0800 (PST)
est <[EMAIL PROTECTED]> wrote:
I am writing a small 'comet'-like app using flup, something like
this:
So is WSGI really synchronous? How can I handle asynchronous outputs
with flup/WSGI ?
WSGI
On Jul 8, 2008, at 2:31 PM, Phillip J. Eby wrote:
At 11:35 AM 7/8/2008 -0700, Donovan Preston wrote:
Obviously plenty of
people have a desire to have a place to store request-local data
without passing the environment everywhere. Using threading.local
is a
good way to do that, unless the
On Jul 8, 2008, at 11:45 AM, Manlio Perillo wrote:
Using greenlets, there is always a current greenlet, so you can use
this for local storage.
A library function can check if there is an active greenlet, and use
it as data key; otherwise it will use the current thread id.
Yes, this is ex
On Jul 7, 2008, at 6:11 PM, Phillip J. Eby wrote:
At 02:12 PM 7/7/2008 -0700, Donovan Preston wrote:
It seems to me that what is really needed here is an extension of
wsgi
that specifies how to get, set, and list request local storage, and
for people to use that instead of the threadlocal
On Jul 4, 2008, at 12:10 PM, Ian Bicking wrote:
Iwan Vosloo wrote:
Many web frameworks and ORM tools have the need to propagate data
depending on some or other context within which a request is dealt
with.
Passing it all via parameters to every nook of your code is
cumbersome.
A lot of th
On Jun 2, 2005, at 11:18 PM, Ian Bicking wrote:While we're on the topic of DOM-based templating...FormEncode has a module htmlfill (http://formencode.org/docs/htmlfill.html), which is basically like DOM-based templating that just knows about HTML forms. But currently it doesn't use a DOM, it uses
On Jun 2, 2005, at 8:58 PM, Phillip J. Eby wrote:
> At 08:13 AM 6/3/2005 +0530, Sridhar Ratna wrote:
>
>> On 6/3/05, mike bayer <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> referring to this one:
>>>
>>> http://freespace.virgin.net/hamish.sanderson/htmltemplate.html
>>>
>>> it looks very cool and elegan
On May 5, 2005, at 12:43 PM, Shannon -jj Behrens wrote:Well, guys, I like SF.net. I understand that many of you don't. I'm okay with that. I'm willing to bite the bullet and set things up, if we can all come to concensus about what should be done. Should I just setup a Plone instance somewhere?
On May 3, 2005, at 11:01 AM, Shannon -jj Behrens wrote:
> On 5/3/05, Donovan Preston <[EMAIL PROTECTED]> wrote:
>> I didn't say that I wanted to reinvent the wheel of javascript
>> libraries. What I was proposing was creating a mailing list and web
>> sit
On May 3, 2005, at 10:29 AM, Shannon -jj Behrens wrote:
> On 5/3/05, Martijn Faassen <[EMAIL PROTECTED]> wrote:
>
>> Donovan Preston wrote:
>> [snip]
>>
>>> The shared brain power of a new list and web site which attracted
>>> users from comm
On May 2, 2005, at 5:47 PM, Peter Hunt wrote:Hello everyone, A long time ago (before the advent of IronPython), I wrote a small Python module that compiled a python file to a JScript.NET file and compiled it. Seeing as JScript and _javascript_ are very similar, I bet this could be very helpful. Se
On May 2, 2005, at 2:29 PM, Carlos Ribeiro wrote:
> On 5/2/05, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:
>
>> It sure would be nice to have a common JavaScript library that we
>> could all share. People are wanting this for Aquarium, but I really
>> don't want Aquarium to have its own JavaS
On May 2, 2005, at 1:30 PM, Shannon -jj Behrens wrote:
> On 5/2/05, mike bayer <[EMAIL PROTECTED]> wrote:
>
>> what kind of features are you looking for in these javascript
>> libraries ?
>>
>
> The "Dynamic HTML" book from O'Reilly has the beginnings of what I'm
> looking for. It is a compati
On Apr 25, 2005, at 9:23 PM, Rene Dudfield wrote:repr works quite well, and I've used it with lots of different _javascript_... However I'm not completely confident in it as it fails for unicode.Ah, unicode, yes. Nevow handles unicode at a different abstraction level, in the main flatten loop, nevo
On Apr 25, 2005, at 7:34 PM, Ian Bicking wrote:
Donovan Preston wrote:
var s = '$jquote($s)'
Leaving it up to the developer to ensure every potentially unsafe
python string is quoted properly always makes me nervous. Nevow
has enough information to automatically safely quo
On Apr 26, 2005, at 1:19 AM, Jp Calderone wrote:
Nevow has liveevil.jquote(), which I believe does what you want.
It is strikingly simple and straightforward:
def jquote(jscript):
return jscript.replace('\\', ''
).replace("'", "\\'"
).replace('\n', '\\n')
I
17 matches
Mail list logo