Florent Aide schrieb: > Hi all, > > I would like to propose something for our coding standards: I would > like to ban "import *" from our code and impose the use of explicit > import everywhere. > This will greatly enhance readability and maintenability in the long run. > > Any suggestions?
I would like to go even further and impose a requirement for an "__all__" definition at the start of all TurboGears code files meant to be imported as modules. This serves as a further security measure against importing unwanted symbols and also a kind of documentation of the public interface of a module. 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 -~----------~----~----~----~------~----~------~--~---
