GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Possible issue in multiprocessing doc · Issue #76232 · python/cpython

Possible issue in multiprocessing doc #76232

New issue
Copy link
New issue
Copy link
Closed
Closed
Possible issue in multiprocessing doc#76232
Copy link
Labels
3.7 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc direasytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

1a1a11a
mannequin
opened on Nov 16, 2017
Issue body actions
BPO 32051
Nosy @berkerpeksag, @1a1a11a
PRs
  • bpo-32051: update multiprocessing doc #4469
  • [3.6] bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469) #4577
  • 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 = None
    closed_at = <Date 2017-11-27.01:23:18.907>
    created_at = <Date 2017-11-16.17:27:04.327>
    labels = ['easy', 'type-bug', '3.7', 'docs']
    title = 'Possible issue in multiprocessing doc'
    updated_at = <Date 2017-11-27.01:23:18.906>
    user = 'https://github.com/1a1a11a'
    

    bugs.python.org fields:

    activity = <Date 2017-11-27.01:23:18.906>
    actor = 'berker.peksag'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-11-27.01:23:18.907>
    closer = 'berker.peksag'
    components = ['Documentation']
    creation = <Date 2017-11-16.17:27:04.327>
    creator = '1a1a11a'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32051
    keywords = ['patch', 'easy']
    message_count = 7.0
    messages = ['306389', '306408', '306409', '306509', '307030', '307031', '307032']
    nosy_count = 3.0
    nosy_names = ['docs@python', 'berker.peksag', '1a1a11a']
    pr_nums = ['4469', '4577']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32051'
    versions = ['Python 3.6', 'Python 3.7']
    

    Activity

    1. 1a1a11a commented on Nov 16, 2017

      @1a1a11a
      1a1a11amannequin
      on Nov 16, 2017
      MannequinAuthor
      More actions

      in multiprocessing doc https://docs.python.org/3.6/library/multiprocessing.html

      under 17.2.2.7.2. Using a remote manager, 
      >>> from multiprocessing.managers import BaseManager
      >>> import queue
      >>> queue = queue.Queue()
      >>> class QueueManager(BaseManager): pass
      >>> QueueManager.register('get_queue', callable=lambda:queue)
      >>> m = QueueManager(address=('', 50000), authkey=b'abracadabra')
      >>> s = m.get_server()
      >>> s.serve_forever()
      

      queue is used as both module name and variable name, should this be avoided?

    2. 1a1a11a
      added
      type-featureA feature request or enhancementA feature request or enhancement
      on Nov 16, 2017
    3. 1a1a11a
      assigned
      docspython
      on Nov 16, 2017
    4. 1a1a11a
      added
      docsDocumentation in the Doc dirDocumentation in the Doc dir
      on Nov 16, 2017
    5. berkerpeksag commented on Nov 17, 2017

      @berkerpeksag
      berkerpeksag
      on Nov 17, 2017
      Member
      More actions

      The example itself works fine, but I agree that it would be better to use a better name. We could replace ('foo.bar.org', 50000) in the following examples with ('', 50000) too.

      Would you like to send a PR? The documentation file is located at Doc/library/multiprocessing.rst.

    6. berkerpeksag
      added
      easy
      3.7 (EOL)end of lifeend of life
      type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      and removed
      type-featureA feature request or enhancementA feature request or enhancement
      on Nov 17, 2017
    7. 1a1a11a commented on Nov 17, 2017

      @1a1a11a
      1a1a11amannequin
      on Nov 17, 2017
      MannequinAuthor
      More actions

      Thank you for answering!
      Yes, I would be very happy to do that, this is going to be my first contribution! :)

    8. 1a1a11a commented on Nov 19, 2017

      @1a1a11a
      1a1a11amannequin
      on Nov 19, 2017
      MannequinAuthor
      More actions

      Hi Berker,
      I didn't update "following examples with ('', 50000) too." because this is different than the previous one, this is client connecting to server, so hostname cannot be empty string.

    9. berkerpeksag commented on Nov 27, 2017

      @berkerpeksag
      berkerpeksag
      on Nov 27, 2017
      Member
      More actions

      New changeset c172fc5 by Berker Peksag (Jason Yang) in branch 'master':
      bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)
      c172fc5

    10. berkerpeksag commented on Nov 27, 2017

      @berkerpeksag
      berkerpeksag
      on Nov 27, 2017
      Member
      More actions

      New changeset 8a95753 by Berker Peksag (Miss Islington (bot)) in branch '3.6':
      bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)
      8a95753

    11. berkerpeksag commented on Nov 27, 2017

      @berkerpeksag
      berkerpeksag
      on Nov 27, 2017
      Member
      More actions

      Thanks!

    12. berkerpeksag
      closed this as completedon Nov 27, 2017
    13. ezio-melotti
      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

    No one assigned

      Labels

      3.7 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc direasytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.