Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

cheetah-archive · Cheetah Template System Archive

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 3
  • Category: Web Design
  • Founded: Jul 18, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 981 - 1010 of 5012   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
981 Tavis Rudd
tavis@... Send Email
Apr 3, 2002
4:07 pm
Hi, I've just released 0.9.12. There are no changes to the code since beta 2, but Mike has done some more work on the Users' Guide. ...
982 Mike Orr
iron@... Send Email
Apr 3, 2002
5:10 pm
... The documentation changes are some updates to chapters 1 & 2 (introduction, getting started). I also put dummy text in the Developers&#39; Guide and...
983 Tavis Rudd
tavis@... Send Email
Apr 5, 2002
7:27 pm
Hi, Edmund's been having problems getting the pdf version of the Users' Guide to print. Has anyone else experienced this? Tavis ...
984 Mike Orr
iron@... Send Email
Apr 6, 2002
4:55 am
... The .awake() method in Template is prob'ly overriding yours. This is the problem I've been complaining about with the current #extends rule that the first...
985 Edmund Lian
elian@... Send Email
Apr 6, 2002
4:59 am
I have a logic mix-in that defines an awake method, but when the Cheetah template that uses the mix-in is run, it's pretty obvious that my attempt to override...
986 Edmund Lian
elian@... Send Email
Apr 6, 2002
5:18 am
... Yup, you hit the nail on the head. ... I actually do this, but just not in the code I posted since it wasn't relevant. The mix-in I have doesn't actually...
987 Mike Orr
iron@... Send Email
Apr 6, 2002
2:49 pm
... I think the Python 2.2 way to do this is to call super(MyClass, self).awake(transaction) in every .awake() except the very top superclass, and it will get...
988 Mike Orr
iron@... Send Email
Apr 6, 2002
2:59 pm
... Actually, Edmund, can you try it on your running copy of Cheetah? It's Compiler.py line 700. Then reverse your #extends line to list the Template class...
989 Edmund Lian
elian@... Send Email
Apr 6, 2002
4:54 pm
... Yes, it's a lot uglier to do this in Python < 2.2. Makes me want to switch right away... ... Are you sure this is right? AFAIK, there are no implied...
990 Mike Orr
iron@... Send Email
Apr 6, 2002
5:19 pm
... I don't know what you mean by "implied semantics". As that page says, if you have a class class MyClass(Mixin, Base): ... it will look first in MyClass,...
991 Mike Orr
iron@... Send Email
Apr 6, 2002
10:37 pm
Finished updating chapter 4 ("How it works", Template objects, cheetah compile). -- -Mike (Iron) Orr, iron@... (if mail problems: mso@...) ...
992 Mike Orr
iron@... Send Email
Apr 7, 2002
6:37 am
The following template and its output show that the behavior of lines with directives-followed-by-comments is weird. I think that if a line contains only a...
993 Edmund Lian
elian@... Send Email
Apr 7, 2002
8:27 pm
... http://www.python.org/doc/current/tut/node11.html#SECTION0011510000000000000000 ... I've been educating myself over the weekend about this issue. It's not...
994 Mike Orr
iron@... Send Email
Apr 7, 2002
9:50 pm
... Is that a problem? Cheetah's responsibility is to initialize the template class, which it expects in a certain location. It's the programmer&#39;s...
995 Mike Orr
iron@... Send Email
Apr 7, 2002
9:55 pm
... The place where it would make the biggest difference (not that I necessarily think it would be better), would be to split out this "a template is a...
996 Edmund Lian
elian@... Send Email
Apr 7, 2002
10:43 pm
... It sure looks like this... After all, the Cheetah servlet's class def is of the form: class ClassName(SiteTemplate, MixInClass): Which will mean that any...
997 Mike Orr
iron@... Send Email
Apr 8, 2002
12:22 am
- With an #extends listing multiple superclasses, the one that's a subclass of Template must now be last instead of first; e.g., '#extends MyMixIn,...
998 Tavis Rudd
tavis@... Send Email
Apr 8, 2002
12:45 am
Hi, I've being following this inheritance discussion out of the corner of my eye as I work on other stuff ... Edmund's problem seems to be one more reason why ...
999 Edmund Lian
elian@... Send Email
Apr 8, 2002
1:40 am
... eye ... why ... Python ... doing ... I was all for keeping multiple inheritance, or at least separate template and logic inheritance hierarchies....
1000 Edmund Lian
elian@... Send Email
Apr 8, 2002
2:15 am
... #extends ... like ... I haven't checked out your CVS mods yet, does this mean that you've also modified the compiler so that the last base class's __init__...
1001 Edmund Lian
elian@... Send Email
Apr 8, 2002
2:28 am
I just sync'd my local copy of Cheetah with the SF repository, but Cheetah is broken now. The compiler no longer produces anything. I've appended the error...
1002 Mike Orr
iron@... Send Email
Apr 8, 2002
3:49 am
... That's exactly what I did. ... -- -Mike (Iron) Orr, iron@... (if mail problems: mso@...) http://iron.cx/ English * Esperanto * Russkiy *...
1003 Mike Orr
iron@... Send Email
Apr 8, 2002
4:02 am
... The errors must be related to one of these files: U src/DummyTransaction.py U src/Filters.py U src/SettingsManager.py U src/_properties.py because my tests...
1004 Mike Orr
iron@... Send Email
Apr 8, 2002
4:40 am
... Weird. The culprit was DummyTransaction.py: # @@MO: Backed out this change because it made the tests fail # for me and Edmund. # #try: # from cStringIO...
1005 Mike Orr
iron@... Send Email
Apr 8, 2002
4:43 am
... Note that these two files also had their cStringIO/StringIO import strategy changed at the same time, but they didn't contribute to the problem. -- -Mike...
1006 Edmund Lian
elian@... Send Email
Apr 8, 2002
4:50 am
... on? Yes. Debian (Woody), Python 2.1, Webware 0.7. ...Edmund. _______________________________________________ Cheetahtemplate-discuss mailing list ...
1007 Edmund Lian
elian@... Send Email
Apr 8, 2002
5:17 am
FYI, I experimented with delegation to try to get around not being able to override the awake method in a Cheetah servlet. The inheritance structure I used...
1008 Edmund Lian
elian@... Send Email
Apr 9, 2002
3:54 am
The UG says that "The #import and #from directives are used to import Python modules or stuff from inside module.s The syntax is identical to the import syntax...
1009 Mike Orr
iron@... Send Email
Apr 9, 2002
2:17 pm
... It doesn't look do-able with the current implementation of Cheetah. #from math import * $atan produces: # At the top of the file. from math import * # In...
1010 Edmund Lian
elian@... Send Email
Apr 9, 2002
5:15 pm
... I understand what you mean. IOW, without doing an import, the compiler doesn't have any means of determining where to--in effect--bind the variable name...
Messages 981 - 1010 of 5012   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help