Fixed in the cvs. It was due to Cheetah.Template:_genUniqueModuleName(), which keeps a cache of recently used cheetah module names to prevent collisions...
3527
Tavis Rudd
tavis@...
Feb 3, 2006 7:13 pm
I'm seeing it as well. Looking into it now. It's something in the compilation process as this doesn't leak: from Cheetah.Template import Template src =...
3526
Andrea Arcangeli
andrea@...
Feb 3, 2006 6:41 pm
I noticed a memory leak during benchmarks, and I tracked it down to Cheetah. Here how to reproduce: save this file to /tmp/z.py and execute it. Then monitor...
3525
Jeff Bauer
jbauer@...
Feb 3, 2006 12:53 pm
Apologies in advance if this is the wrong forum, but I'm attempting to use Cheetah as an alternative to Kid in a CherryPy application, e.g.: from...
3524
Shannon -jj Behrens
jjinux@...
Feb 3, 2006 2:10 am
(By the way, I'm not replying to your other email. I've stated my points, and I trust you to come up with something good.) ... Excellent point! (By the way,...
3523
Tavis Rudd
tavis@...
Feb 2, 2006 10:39 pm
... nope. If you don't use NameMapper you have to be explicit everywhere. ... This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for...
3522
Tavis Rudd
tavis@...
Feb 2, 2006 10:36 pm
Done in the cvs: cheetah -c -R --templateAPIClass="Cheetah.Template:Template" somePath/ cheetah -c -R --settings="useNameMapper=True" somePath/ cheetah -c -R...
3521
James Robinson
jlrobins@...
Feb 2, 2006 10:01 pm
... We were (and are) -- we were also passing dummyTrans=False. No big deal at all. ... No. Don't humor terribly code in this fashion. It has since been ...
3520
Tavis Rudd
tavis@...
Feb 2, 2006 9:48 pm
... I'm going to add some command line options for doing this, along with one for defining compiler settings directly. ... This SF.net email is sponsored by:...
3519
Tavis Rudd
tavis@...
Feb 2, 2006 9:32 pm
... You should use the `trans` arg for that. I.e. if you want to provide a dummytrans that cheetah should use for its buffering, create an instance of ...
3518
James Robinson
jlrobins@...
Feb 2, 2006 9:16 pm
Hit two bumps in upgrading to 2.0rc4 from 1.0 which didn't seem documented anywhere else: writeBody() / render() looses the dummyTrans argument. Our web ...
3517
Tavis Rudd
tavis@...
Feb 2, 2006 8:55 am
Hi, my partners and I need a contractor with QA and technical writing experience to work with us part-time. We're working on a challenging project with a ...
3516
Tavis Rudd
tavis@...
Feb 2, 2006 8:54 am
... hehe, you at least need to have fewer typos per email than me ;) ... This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for...
3515
Tavis Rudd
tavis@...
Feb 2, 2006 5:07 am
Btw, there is a security risk in exposing Cheetah code to the translation team. Fortunately, it's fairly simple to implement a configurable system that ...
3514
Tavis Rudd
tavis@...
Feb 2, 2006 5:01 am
... It would be a strictly optional override. The default would be set application wide. You'd also be able to override it at the template level. ... taken...
3513
Shannon -jj Behrens
jjinux@...
Feb 2, 2006 2:50 am
... I hope you wouldn't have to do this per message :-/ This is generally something that should be decided application wide. == What's the "id" argument to...
3512
James Robinson
jlrobins@...
Feb 2, 2006 1:20 am
Tavis, In the call for any other additions (you asked, hey!), could the cmdline cheetah compiler, in its recursive traverse the filesystem mode, be taught a...
3511
Tavis Rudd
tavis@...
Feb 2, 2006 12:55 am
... Unfortunately, reloadability depends more on usage of a module than on the module itself. If any client code has imported from the module via 'from module...
3510
Jose Galvez
jose@...
Feb 2, 2006 12:51 am
... One more thing, just to echo what Guido said in his blog I really like a render method which can be used to pass the namespaces and return the "rendered"...
3509
Jose Galvez
jose@...
Feb 2, 2006 12:47 am
... The code that I currently use with Cheetah (I rolled my own version of something similar to importhooks a while ago) basically just does a recompile and...
3508
Tavis Rudd
tavis@...
Feb 2, 2006 12:39 am
... The #i18n directive will support that extreme case. See below. ... Not at all! This is exactly the type of input I need :) I've checked in a stub version...
3507
Shannon -jj Behrens
jjinux@...
Feb 2, 2006 12:19 am
... Ian, check out the clearModules function <http://aquarium.sourceforge.net/api/public/aquarium.util.InternalLibrary-module.html> if you haven't already....
3506
Tavis Rudd
tavis@...
Feb 2, 2006 12:12 am
I agree this is nice, but, as jj points out, it's very difficult and is more a framework issue. To do it in a completely safe manner you have to restart the...
3505
Ian Bicking
ianb@...
Feb 1, 2006 11:59 pm
... Oh, I know, I know. I use the "change one thing and we'll just kill the entire server" approach, but sometimes that is annoying. __reloadable__ (or maybe...
3504
Ian Bicking
ianb@...
Feb 1, 2006 11:39 pm
... It would be nice if there was a convention on reloadability. Like if getattr(mod, '__reloadable__', False) is true, then that module can be reloaded with...
3503
Shannon -jj Behrens
jjinux@...
Feb 1, 2006 11:33 pm
... I think code to do this should go deeper than just templates. What about controllers? In Aquarium, I let the user pick the types of modules that can be...
3502
Jose Galvez
jose@...
Feb 1, 2006 11:28 pm
Dear Tavis, I've finally gotten to play with importhooks and I have a couple of feature suggestions to make. 1) need to allow users to change the template...
3501
Tavis Rudd
tavis@...
Feb 1, 2006 9:06 pm
Aside from the import hooks, updated documentation, and something with Deferred for Twisted, are there any other issues with 2.0 at this stage? Bugs, missing...
3500
Todd Thomas
caliban19@...
Feb 1, 2006 7:15 pm
... False alarm, it wasn't cheetah, issue I was having with callbacks. If error happens in function you call back it seems, that it traps the output. I removed...
3499
tavis@...
Feb 1, 2006 6:00 pm
What version of Cheetah? I suspect this is some config issue with twisted as I've never seen anything like this. When did it last work? ... This SF.net...