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

decode the execution path string based file system encoding #4343

Merged
merged 6 commits into from
Apr 19, 2015
Merged

decode the execution path string based file system encoding #4343

merged 6 commits into from
Apr 19, 2015

Commits on Apr 16, 2015

  1. decode the execution path string based file system encoding

    When my py file importing matplotlib run in a folder where the path contains gbk encoding character, matplotlib will raise a unicode decode error.The changes in line 666/673/679 will fix the problem.
    sohero committed Apr 16, 2015
    Configuration menu
    Copy the full SHA
    4cb27c0 View commit details
    Browse the repository at this point in the history
  2. fix support for python version 3+ and pep8

    fix support for python version 3+ and pep8
    sohero committed Apr 16, 2015
    Configuration menu
    Copy the full SHA
    3ba4f5a View commit details
    Browse the repository at this point in the history
  3. pep8 need some spaces around operator

    pep8 need some spaces around operator
    sohero committed Apr 16, 2015
    Configuration menu
    Copy the full SHA
    9c5cf1b View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2015

  1. Change to using a helper function and isinstance(path, bytes)

    Change to using a helper function and isinstance(path, bytes) to decode __file__ based on file system encoding.
    sohero committed Apr 17, 2015
    Configuration menu
    Copy the full SHA
    7c12fa0 View commit details
    Browse the repository at this point in the history
  2. Oops, some white spaces.

    Oops, some white spaces.
    sohero committed Apr 17, 2015
    Configuration menu
    Copy the full SHA
    a96e944 View commit details
    Browse the repository at this point in the history
  3. oh, pep8

    oh, pep8
    sohero committed Apr 17, 2015
    Configuration menu
    Copy the full SHA
    148b29d View commit details
    Browse the repository at this point in the history