Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error #47335

Closed
afoo mannequin opened this issue Jun 11, 2008 · 5 comments
Closed

chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error #47335

afoo mannequin opened this issue Jun 11, 2008 · 5 comments
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@afoo
Copy link
Mannequin

afoo mannequin commented Jun 11, 2008

BPO 3085
Nosy @birkenfeld, @humitos
Files
  • libsubprocess.diff: Changes in documentation
  • 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/birkenfeld'
    closed_at = <Date 2008-06-23.00:19:37.636>
    created_at = <Date 2008-06-11.23:01:23.680>
    labels = ['type-feature', 'docs']
    title = "chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error"
    updated_at = <Date 2008-06-23.00:19:37.578>
    user = 'https://bugs.python.org/afoo'

    bugs.python.org fields:

    activity = <Date 2008-06-23.00:19:37.578>
    actor = 'benjamin.peterson'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-06-23.00:19:37.636>
    closer = 'benjamin.peterson'
    components = ['Documentation']
    creation = <Date 2008-06-11.23:01:23.680>
    creator = 'afoo'
    dependencies = []
    files = ['10681']
    hgrepos = []
    issue_num = 3085
    keywords = ['patch']
    message_count = 5.0
    messages = ['68032', '68496', '68570', '68572', '68574']
    nosy_count = 3.0
    nosy_names = ['georg.brandl', 'humitos', 'afoo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue3085'
    versions = ['Python 2.5']

    @afoo
    Copy link
    Mannequin Author

    afoo mannequin commented Jun 11, 2008

    the 'from' examples contain non-keyword args after keyword args:

    pipe = os.popen(cmd, mode='r', bufsize)

    should be

    pipe = os.popen(cmd, 'r', bufsize)

    and

    pipe = os.popen(cmd, mode='w', bufsize)

    should be

    pipe = os.popen(cmd, 'w', bufsize)

    @afoo afoo mannequin assigned birkenfeld Jun 11, 2008
    @afoo afoo mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Jun 11, 2008
    @humitos
    Copy link
    Mannequin

    humitos mannequin commented Jun 21, 2008

    I fixed this error, I attach the patch.

    @birkenfeld
    Copy link
    Member

    Fixed in r64461. Thanks!

    @humitos
    Copy link
    Mannequin

    humitos mannequin commented Jun 22, 2008

    This bug was reported on Python 2.5 version and was applied on 2.6
    branch. That's correct?

    @birkenfeld
    Copy link
    Member

    I don't maintain the 2.5 docs anymore, at least for such minor bugs.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants