I sat down and wrote up a proposal for a change to the #from/#import functionality that Tavis and I had discussed with regards to supporting both styles of...
4605
Bogdano Arendartchuk
debogdano@...
Jun 7, 2009 10:42 pm
... Indeed, with Python 2.4 it requires some kind of cheating to reproduce it: import sys import Cheetah sys.path[:] = ["/foo/bar"] import Cheetah._namemapper ...
4604
R. Tyler Ballance
tyler@...
Jun 7, 2009 8:05 pm
... One more thing, this doesn't reproduce the error for me, since the 'level39; parameter is only passed in 2.6+ when using relative or absolute imports. If I...
4603
R. Tyler Ballance
tyler@...
Jun 7, 2009 7:16 pm
... I'm assuming by your mentioning of the level parameter you're talking about Python 2.6 and up. ... Fair enough, I'll write a quick regression test for this...
... Interesting, do you have a test case that causes the import of `pprint` to raise an exception like this? I would also say that using PyErr_Occurred() and...
4600
Bogdano Arendartchuk
debogdano@...
Jun 7, 2009 6:47 pm
Hello, An exception raised by __import__ could result in a segfault by _namemapper because it doesn't check the returned pointer from PyImport_ImportModule. ...
4599
Tavis Rudd
tavis@...
Jun 6, 2009 6:03 am
Mike, setuptools has improved a lot in the years since I added that note and it's safe to consider it a 'supported39; installation method now. Support for it...
4598
Mike Bonnet
mikeb@...
Jun 5, 2009 6:06 pm
I was curious about this comment in SetupTools.py if 'CHEETAH_USE_SETUPTOOLS39; in os.environ: # @@TR: Please note that this is for testing purposes only! PEAK...
4597
mobiledreamers@...
Jun 5, 2009 7:18 am
can you or tavis or one of the cheetah masters please show us how to use cheetah from webpy the only useful thing webpy cheetah.py does is replace the #include...
4596
mobiledreamers@...
Jun 5, 2009 2:23 am
Hey Tyler and Tavis 1. I do not refuse to show steps, my goal with my reports and cookbook is to help the cheetah community be more accessible and useful to...
4595
R. Tyler Ballance
tyler@...
Jun 4, 2009 4:01 pm
... I want you to keep in mind, that despite the fact you cannot read and still do not provide reproduction *code* or *steps* like I continue to ask, I'm going...
4594
mobiledreamers@...
Jun 4, 2009 9:11 am
the same page Works fine with Cheetah-2.0.1.tar.gz ... -- Bidegg worlds best auction site http://bidegg.com ... OpenSolaris 2009.06 is a cutting edge...
4593
mobiledreamers@...
Jun 4, 2009 9:08 am
Got this error on running THe latest Cheetah ibuteError: _methodBodyChunks 192.168.0.193:51404 - - [04/Jun/2009 02:04:22] "HTTP/1.1 GET /" - 500 Internal...
4592
Gerold Penz
penz@...
Jun 4, 2009 6:34 am
... What a good message! :D Thank you! -- Waldhart Software A-6405 Pfaffenhofen, Unterdorf 145 Tel: +43 5262 64574, Fax: +43 5262 64514 ... OpenSolaris 2009.06...
4591
R. Tyler Ballance
tyler@...
Jun 4, 2009 3:35 am
A little bit earlier than originally planned, I'm happy to introduce Cheetah v2.2.1. Why so soon you might be asking in your head, why not! Well, there's a...
4590
Tavis Rudd
tavis@...
Jun 3, 2009 12:11 am
use Python's enumerate() ... OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that...
4589
mobiledreamers@...
Jun 2, 2009 11:46 pm
In smarty (directly from the documentation): *index* contains the current array index, starting with zero *iteration* contains the current loop iteration and...
4588
R. Tyler Ballance
tyler@...
Jun 2, 2009 6:25 pm
... If you can grok the code, you can find uot what macros are for. Otherwise, I'd like to leave them thoroughly undocumented and unfit for public consumption...
4587
R. Tyler Ballance
tyler@...
Jun 2, 2009 5:12 pm
... Short answer, no. #for and #while map directly to their Python equivalents. Long answer, noooooooooo ;) WHy doy ou need them? -- -R. Tyler Ballance Slide,...
4586
Malix
malix0@...
Jun 2, 2009 5:45 am
Does Cheetah has internal counter like those present in Smarty? They are very useful when you need to print a line number or made logic on that. I know that I...
4585
paul jobs
webjogger@...
Jun 2, 2009 4:22 am
2.0rc4 (Jan 31, 2006) !!!THIS RELEASE REQUIRES RECOMPILATION OF ALL COMPILED CHEETAH TEMPLATES!!! Core Changes: [TR] - fixed a typo-bug in the compile hashing...
4584
paul jobs
webjogger@...
Jun 2, 2009 4:21 am
#macro What does it do? thanks ... -- BidEgg - Worlds best low price Auction site http://bidegg.com ... OpenSolaris 2009.06 is a cutting edge operating system...
4583
R. Tyler Ballance
tyler@...
Jun 2, 2009 4:17 am
... Not quite, I was using macros as a way of further extending Cheetah syntax via Cheetah itself :) Very "turtles all the way down" sort of stuff ;) I was...
4582
Tavis Rudd
tavis@...
Jun 2, 2009 4:10 am
... It sounds like you were trying to use the macro stuff for something it's not intended for: embedding raw chunks of cheetah source that should not be parsed...
4581
Tavis Rudd
tavis@...
Jun 2, 2009 2:22 am
Sorry about that! I think it's fixed now. http://cheetahtemplate.org/learn.html ... OpenSolaris 2009.06 is a cutting edge operating system for enterprises ...
4580
Uka Mata
ukamata@...
Jun 1, 2009 10:05 pm
ok, thank you!! 2009/6/2 R. Tyler Ballance <tyler@...> ... -- -- ukamata ... OpenSolaris 2009.06 is a cutting edge operating system for enterprises ...
4579
R. Tyler Ballance
tyler@...
Jun 1, 2009 10:04 pm
... Yes, this is a side effect of the vhost move that Tavis started last night. Until he has a chance to fix it, I suggest hitting the Google Cache :) ...
4578
mobiledreamers@...
Jun 1, 2009 10:01 pm
Will that me made documented and complete Cheetah macros What is it used for ? is it like #def? ... -- Bidegg worlds best auction site http://bidegg.com ... ...
4577
Uka Mata
ukamata@...
Jun 1, 2009 10:00 pm
Hi, I'm Ukamata, from Madrid/Spain, I am upgrading a CMS. We developed it to make the management of Art Galleries. In the new version 3.0 we have included...