Christopher Arndt schrieb: > In this case, I like option 2 (importing only the names used) better. > Otherwise we end up with huge sections of import statements at the start > of each file, which makes the code hard to scan. Admitted, it is > difficult to keep this list up-to-date (i.e. forgetting to remove unused > symbols form the import statement), but that's what pychecker is for IMHO.
Absolutly. Option 1 or 3 were only interesting for som eof the quickstart template files such as model.py serving as stubs that need to be modified and added to anyway. Maybe we can go with option 2, but add a few more explicit imports, but leave them commented out, as Florent suggested. -- Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
