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

IDLE: Standard output and error from multiprocessing vanishes #66854

Closed
pppery mannequin opened this issue Oct 17, 2014 · 2 comments
Closed

IDLE: Standard output and error from multiprocessing vanishes #66854

pppery mannequin opened this issue Oct 17, 2014 · 2 comments
Labels
stdlib Python modules in the Lib dir topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@pppery
Copy link
Mannequin

pppery mannequin commented Oct 17, 2014

BPO 22664
Nosy @terryjreedy, @kbkaiser, @serwy, @serhiy-storchaka
Superseder
  • bpo-11820: idle3 shell os.system swallows shell command output
  • 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 2014-10-18.17:04:51.295>
    created_at = <Date 2014-10-17.22:25:41.199>
    labels = ['expert-IDLE', 'type-bug', 'library']
    title = 'IDLE: Standard output and error from multiprocessing vanishes'
    updated_at = <Date 2014-10-18.17:04:51.285>
    user = 'https://github.com/pppery'

    bugs.python.org fields:

    activity = <Date 2014-10-18.17:04:51.285>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-10-18.17:04:51.295>
    closer = 'serhiy.storchaka'
    components = ['IDLE', 'Library (Lib)']
    creation = <Date 2014-10-17.22:25:41.199>
    creator = 'ppperry'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 22664
    keywords = []
    message_count = 2.0
    messages = ['229611', '229645']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'kbk', 'roger.serwy', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '11820'
    type = 'behavior'
    url = 'https://bugs.python.org/issue22664'
    versions = ['Python 2.7']

    @pppery
    Copy link
    Mannequin Author

    pppery mannequin commented Oct 17, 2014

    Note: not sure whether this issue belongs as a "behavior" or an "enhancement"

    In IDLE:
    >>> def print_a_test_string():
         print "test"

    >>print_a_test_string()
    test
    >>threading.Thread(target=print_a_test_string).start()
    test
    >>multiprocessing.Process(target=print_a_test_string).start()
    [test is not said]
    >>
    Running this example in the standard interpreter will print "test" all three times (in current thread, new thread, new process). (Acutally, I got an AttributeError and had to work aroung it using functools.partial(print, "test"))

    OS: Windows XP

    @pppery pppery mannequin added topic-IDLE stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Oct 17, 2014
    @serhiy-storchaka
    Copy link
    Member

    This is a duplicate of bpo-11820.

    @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
    stdlib Python modules in the Lib dir topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant