On Oct 05, 2010, at 11:38 PM, Sebastian Billaudelle wrote: >> Use the same coding style as your language. If libraries for your >> language normally uses underscores do that as well. For instance, >> Java bindings should have a method on it's GtkButton wrapper called >> setLabel and not set_label. > >Following this statement, wouldn't it be better to have something like > > from gi.repository import gtk > >which would fullfill PEP8's requirements and be more pythonic? This >would help people to port their apps a lot. Python and PEP 8 would prefer lowercase module names, and underscores instead of camelCase. -Barry
Attachment:
signature.asc
Description: PGP signature