|
Re: Cheetah test failure: msg#00006python.cheetah
On Sat, Oct 04, 2003 at 12:28:15PM -0700, Robert Lilly wrote: > I will make it a point to know the dictionary > method names so as not to use them as $placeholder names. Are there any > other key words or method names I should avoid using? Those are the only ones that have come up. There was a problem previously with names identical to Python builtins, but that was fixed several months ago. There aren't any "reserved words" in Cheetah (to answer Jamieson's question). The "dictionary methods" problem was an oversight in the implementation: Cheetah prepends the "#set globals" dictionary to the searchList, so its methods are visible, oops. The only other potential problem is if you override a Template or Webware method, you'll lose access to that service. That won't hurt Cheetah because it doesn't use the searchList to access its essential services, but does mean possibly losing a convenience method. See the "Tips, Tricks and Troubleshooting" section in the Users' Guide. Especially 12.4 (Calling superclass methods, and why you have to) and 12.5 (All methods). -- -Mike Orr (aka. Sluggo), mso@xxxxxx (iron@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Cheetah test failure, Jamieson Becker |
|---|---|
| Next by Date: | Is Cheetah thread safe?, JZ |
| Previous by Thread: | Re: Cheetah test failure, Jamieson Becker |
| Next by Thread: | Re: Cheetah test failure, Robert Lilly |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |