Module naming convention about StringIO

Discussion in 'Python' started by Peng Yu, Oct 15, 2009.

  1. Peng Yu

    Peng Yu Guest

    It says on http://www.python.org/dev/peps/pep-0008/

    Package and Module Names

    Modules should have short, all-lowercase names. Underscores can be used
    in the module name if it improves readability. Python packages should
    also have short, all-lowercase names, although the use of underscores is
    discouraged.

    But StringIO does not following this convention. Although on the same
    page, it also mentions the following. However, since StringIO is in
    the library, shall its name be rectified?

    The naming conventions of Python's library are a bit of a mess, so we'll
    never get this completely consistent -- nevertheless, here are the
    currently recommended naming standards. New modules and packages
    (including third party frameworks) should be written to these standards,
    but where an existing library has a different style, internal consistency
    is preferred.
     
    Peng Yu, Oct 15, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Skip Montanaro
    Replies:
    0
    Views:
    174
    Skip Montanaro
    May 30, 2013
  2. Cameron Simpson
    Replies:
    0
    Views:
    121
    Cameron Simpson
    May 31, 2013
  3. Göktuğ Kayaalp
    Replies:
    0
    Views:
    131
    Göktuğ Kayaalp
    May 31, 2013
  4. Skip Montanaro
    Replies:
    0
    Views:
    128
    Skip Montanaro
    May 31, 2013
  5. Serhiy Storchaka
    Replies:
    0
    Views:
    99
    Serhiy Storchaka
    May 31, 2013
Loading...

Share This Page