Skip to content

Example examples/misc/multiprocess.py may not be python3 compatible? #7388

Closed

Description

@NelleV

It uses raw_input, which I believe has disappeared from python3.

Activity

  1. rishikksh20 commented on Jan 1, 2017

    @rishikksh20
    Contributor

    @NelleV How about this if I replace :
    raw_input('press Enter...')
    to

    try: input = raw_input
    except NameError: pass
    input('press Enter...')
    

    its working fine for both python2 and python3

  2. added this to the milestone on Jan 2, 2017
  3. tacaswell commented on Jan 2, 2017

    @tacaswell
    Member

    @rishikksh20 Can you open a PR with that change?

  4. rishikksh20 commented on Jan 2, 2017

    @rishikksh20
    Contributor

    @tacaswell Yes I do

  5. anntzer commented on Jan 17, 2017

    @anntzer
    Contributor

    There's also the use of the gtkagg backend (and explicit import of gobject), which is not supported on py3.

  6. naoyak commented on Jan 22, 2017

    @naoyak
    Contributor

    Looks like this should have been closed by #7729?

  7. anntzer commented on Jan 22, 2017

    @anntzer
    Contributor

    Not the issue I just mentioned.

  8. souravsingh commented on Apr 11, 2017

    @souravsingh
    Contributor

    @anntzer Would use of Tkagg backend fix the problem with the example?

  9. anntzer commented on Apr 11, 2017

    @anntzer
    Contributor

    dunno, try it :)

  10. WeatherGod commented on Apr 11, 2017

    @WeatherGod
    Member
  11. modified the milestones: , on May 3, 2017
  12. modified the milestones: , on Oct 9, 2017
  13. added
    🌱 Good first issueOpen a pull request against these issues if there are no active ones!
    on Oct 16, 2017
  14. modified the milestones: , v2.2.0 on Feb 12, 2018
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

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesstatus: needs confirmation🌱 Good first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions