Am 03.02.2010 17:18 schrieb Jason Rennie: > Correct me if I'm wrong, but it appears that the TurboKid logic is still > broken. Consider line 119 of kidsupport.py of TurboKid 1.0.5: > > reload_modules = mtime > ttime > > > I've only spent ~5 minutes looking at the code, but it appears that > TurboKid only recompiles if the source file mtime is more recent than > the .pyc file mtime.
TurboKid actually only looks at the mtimes of the .kid templates and otherwise expects Kid to do the right thing with the .pyc file. This is so you can change .kid templates during development and have TurboKid automatically reload everything. This caching mechanism has recently been improved, I dont' think there's a problem here. TurboKid 1.0.5 should also work fine with older TurboGears versions. Do you still experience any problems after removing the .pyc files or "kidc -f"? -- Christoph ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss