Skip to content

Document IO module #46782

Closed
Closed

Description

@benjaminp
BPO 2530
Nosy @gvanrossum, @birkenfeld, @mark-summerfield, @benjaminp
Files
  • io_doc.patch
  • io_doc2.patch
  • io_doc3.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/benjaminp'
    closed_at = <Date 2008-04-09.18:41:43.099>
    created_at = <Date 2008-04-01.20:41:46.934>
    labels = ['type-feature', 'docs']
    title = 'Document IO module'
    updated_at = <Date 2008-04-13.12:30:52.246>
    user = 'https://github.com/benjaminp'

    bugs.python.org fields:

    activity = <Date 2008-04-13.12:30:52.246>
    actor = 'benjamin.peterson'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2008-04-09.18:41:43.099>
    closer = 'georg.brandl'
    components = ['Documentation']
    creation = <Date 2008-04-01.20:41:46.934>
    creator = 'benjamin.peterson'
    dependencies = []
    files = ['9963', '9965', '9989']
    hgrepos = []
    issue_num = 2530
    keywords = ['patch']
    message_count = 13.0
    messages = ['64822', '64971', '65037', '65042', '65044', '65217', '65251', '65267', '65271', '65284', '65409', '65438', '65443']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'georg.brandl', 'mark', 'benjamin.peterson']
    pr_nums = []
    priority = 'critical'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2530'
    versions = ['Python 3.0']

    Activity

    1. benjaminp commented on Apr 1, 2008

      @benjaminp
      ContributorAuthor

      The IO module currently has some docs strings but no official RST docs.
      I'm willing to work on this.

    2. self-assigned this
      on Apr 1, 2008
    3. added
      docsDocumentation in the Doc dir
      type-featureA feature request or enhancement
      on Apr 1, 2008
    4. birkenfeld commented on Apr 5, 2008

      @birkenfeld
      Member

      Great!

    5. benjaminp commented on Apr 6, 2008

      @benjaminp
      ContributorAuthor

      Attaching a draft.

    6. birkenfeld commented on Apr 6, 2008

      @birkenfeld
      Member

      Looks good already! I can't review the full text now, but can you move
      member documentation into the indented block for the class? (I know
      other documents don't do this, but this is a legacy and I'd like new
      documents to adopt this style.)

      Additionally, the function description style is inconsistent ("Flushes
      the stream" vs "Return this").

    7. benjaminp commented on Apr 6, 2008

      @benjaminp
      ContributorAuthor

      Ok. attaching an improved patch. Do you think information about
      indenting classes and such can be added to the style guide? It'd be very
      helpful.

    8. benjaminp commented on Apr 8, 2008

      @benjaminp
      ContributorAuthor

      Attaching an updated patch from a review Mark Summerfield.

    9. birkenfeld commented on Apr 9, 2008

      @birkenfeld
      Member

      Reviewed, changed a few things and committed as r62252. Thanks!

    10. benjaminp commented on Apr 9, 2008

      @benjaminp
      ContributorAuthor

      Georg, I have a few questions:
      Just out of curiosity, what did you change? Are their markup things I
      missed or other things you're looking for that I just didn't get?

      Are we going to want to push some of this stuff back into the docstrings?

      Should I backport this to 2.6?

      Mark: It has been checked in.

    11. birkenfeld commented on Apr 9, 2008

      @birkenfeld
      Member

      Other than the "class.method" change you already noticed, I changed some
      "method"s to "attribute"s (since they are @Propertied in the source),
      removed parens in :meth:`` roles, moved the constructor description into
      the .. class block and did some spelling corrections.

      A backport to 2.6 would be great. If you also find time to put some
      docstrings in, very good.

    12. benjaminp commented on Apr 10, 2008

      @benjaminp
      ContributorAuthor

      When you remove the class from the method declaration, it shows up in
      the html as io.write? Is this correct?

    13. birkenfeld commented on Apr 12, 2008

      @birkenfeld
      Member

      It isn't. I'll have to investigate this -- I have a feeling of déjà-bug...

    14. birkenfeld commented on Apr 13, 2008

      @birkenfeld
      Member

      Should be fixed now with the latest Sphinx revision.

    15. benjaminp commented on Apr 13, 2008

      @benjaminp
      ContributorAuthor

      And I have fleshed out the doc strings and backported it to 2.6.

    16. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    docsDocumentation in the Doc dirtype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions