Re: Debugging failed tests with pylons globals

2008-07-11 Thread Justin Tulloss
On Jul 11, 8:23 am, Alberto Valverde [EMAIL PROTECTED] wrote: I honestly don't find them *that* hard to understand, and I'm not that bright either. Granted, I've fought them a lot and have implemented several libraries (one of them is open source, ToscaWidgets) that use them so I probably

Re: Debugging failed tests with pylons globals

2008-07-10 Thread Justin Tulloss
So SOPs are here to stay for now but nobody thinks they're ideal.  The trouble is, we don't know what would be better. I understand that pylons 1.0 will be breaking backwards compatibility. That might be a good time to look at what might be a better option. If 98% of cases are served by

Expired Beaker Values and Memory

2008-07-10 Thread Justin Tulloss
Hello, I'm using the pylons global cache object to cache a variety of data. I've noticed that beaker never clears expired values. It will refresh expired values with the passed create function when the are accessed, but expired values are never removed. This makes it hard to use beaker as a

Re: best way to send email w/o blocking?

2008-07-07 Thread Justin Tulloss
On Jul 6, 12:35 am, kevin [EMAIL PROTECTED] wrote: What are your recommendations for sending email without blocking? Because I can imagine several ways, but maybe there's some niceness I'm not aware of. I actually spawn off a new thread that does some verification and then sends the email