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

Fix for #1688, traceback-unicode issue #1715

Merged
merged 35 commits into from
Sep 6, 2012

Commits on Aug 27, 2012

  1. Quick fix for ipython#1688, traceback-unicode issue

    By importing unicode_literals from __future__ and casting to unicode at
    two locations a simple case now works. However I have not audited the code
    to find other locations where casts may be necessary. No new failures were
    noted when running the testsuite.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    660787d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75637e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    056abb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1c8952 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f06484 View commit details
    Browse the repository at this point in the history
  6. merge functionality in io and openpy relating to encoding

    New functions were introduced in openpy to deal with encoding in
    python files. This commit removes redundant code from io and moves
    source_to_unicode to openpy.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    9aa74ee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38a358d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    045b75e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ff833ea View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0c7f867 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    aca6606 View commit details
    Browse the repository at this point in the history
  12. cast possible string to unicode

    jstenar authored and jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    88d6795 View commit details
    Browse the repository at this point in the history
  13. replacing pop call that could be made on ampty list

    jstenar authored and jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    79920af View commit details
    Browse the repository at this point in the history
  14. change oinspect.py to be unicode safe

    jstenar authored and jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    ce2a1e4 View commit details
    Browse the repository at this point in the history
  15. fixining bad attribute access and imports

    in namespace.py _inspect access was done on self instead of self.shell
    fixing import of source_to_unicode in osm.py that became bad during rebase
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    592894e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a58f4cc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9acb302 View commit details
    Browse the repository at this point in the history
  18. replacing pop with _readline

    fix to handle the case when len(lines)<2
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    9f814d0 View commit details
    Browse the repository at this point in the history
  19. fix for list pdb listcommand, broken for %run -d

    when calling %run -d the filename available for pdb is <string> which is
    not a proper filename. %run now adds a _exec_lines attribute containing the
    correct filename.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    82c96fc View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    486d291 View commit details
    Browse the repository at this point in the history
  21. Fix to %pfile to ensure unicode handling

    Use read_py_file to get python source in unicode format.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    c6aa16a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0665343 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4ac629e View commit details
    Browse the repository at this point in the history
  24. Unicode fix for docstrings in pinfo magic

    Fix to interpret str docstrings with the encoding of the sourcefile.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    4442e9a View commit details
    Browse the repository at this point in the history
  25. Unicode fix for docstrings in pinfo2 magic

    Fix to interpret source of object with the encoding of the sourcefile.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    c570f16 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e5031dd View commit details
    Browse the repository at this point in the history
  27. Fixes for producing unicode tracebacks.

    takluyver authored and jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    5adf07f View commit details
    Browse the repository at this point in the history
  28. Add test for non-ascii tracebacks.

    takluyver authored and jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    e79c247 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    307d4a0 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0ca5179 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    7e2cf8f View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    ca43b98 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    fcdc9f8 View commit details
    Browse the repository at this point in the history
  34. Convert filename to bytes in getlines.

    Most files in linecache are stored with the filename as a bytestring
    (py2.x). When calling getlines with a unicode filename there will be
    implicit conversions using ascii that fails. This is avoided by an
    explicit conversion using the filesystem encoding before calling
    getlines.
    jstenar committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    50c631d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2012

  1. Cast exception.value to unicode.

    For instance Windows IO error messages are localized and may contain
    non-ascii chracters.
    jstenar committed Aug 28, 2012
    Configuration menu
    Copy the full SHA
    8ed4178 View commit details
    Browse the repository at this point in the history