-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Commits on Aug 27, 2012
-
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.
Configuration menu - View commit details
-
Copy full SHA for 660787d - Browse repository at this point
Copy the full SHA 660787dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75637e5 - Browse repository at this point
Copy the full SHA 75637e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 056abb7 - Browse repository at this point
Copy the full SHA 056abb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1c8952 - Browse repository at this point
Copy the full SHA d1c8952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f06484 - Browse repository at this point
Copy the full SHA 5f06484View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9aa74ee - Browse repository at this point
Copy the full SHA 9aa74eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38a358d - Browse repository at this point
Copy the full SHA 38a358dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 045b75e - Browse repository at this point
Copy the full SHA 045b75eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff833ea - Browse repository at this point
Copy the full SHA ff833eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c7f867 - Browse repository at this point
Copy the full SHA 0c7f867View commit details -
Configuration menu - View commit details
-
Copy full SHA for aca6606 - Browse repository at this point
Copy the full SHA aca6606View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88d6795 - Browse repository at this point
Copy the full SHA 88d6795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79920af - Browse repository at this point
Copy the full SHA 79920afView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce2a1e4 - Browse repository at this point
Copy the full SHA ce2a1e4View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 592894e - Browse repository at this point
Copy the full SHA 592894eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a58f4cc - Browse repository at this point
Copy the full SHA a58f4ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9acb302 - Browse repository at this point
Copy the full SHA 9acb302View commit details -
fix to handle the case when len(lines)<2
Configuration menu - View commit details
-
Copy full SHA for 9f814d0 - Browse repository at this point
Copy the full SHA 9f814d0View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 82c96fc - Browse repository at this point
Copy the full SHA 82c96fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 486d291 - Browse repository at this point
Copy the full SHA 486d291View commit details -
Fix to %pfile to ensure unicode handling
Use read_py_file to get python source in unicode format.
Configuration menu - View commit details
-
Copy full SHA for c6aa16a - Browse repository at this point
Copy the full SHA c6aa16aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0665343 - Browse repository at this point
Copy the full SHA 0665343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ac629e - Browse repository at this point
Copy the full SHA 4ac629eView commit details -
Unicode fix for docstrings in pinfo magic
Fix to interpret str docstrings with the encoding of the sourcefile.
Configuration menu - View commit details
-
Copy full SHA for 4442e9a - Browse repository at this point
Copy the full SHA 4442e9aView commit details -
Unicode fix for docstrings in pinfo2 magic
Fix to interpret source of object with the encoding of the sourcefile.
Configuration menu - View commit details
-
Copy full SHA for c570f16 - Browse repository at this point
Copy the full SHA c570f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5031dd - Browse repository at this point
Copy the full SHA e5031ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5adf07f - Browse repository at this point
Copy the full SHA 5adf07fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e79c247 - Browse repository at this point
Copy the full SHA e79c247View commit details -
Configuration menu - View commit details
-
Copy full SHA for 307d4a0 - Browse repository at this point
Copy the full SHA 307d4a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca5179 - Browse repository at this point
Copy the full SHA 0ca5179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e2cf8f - Browse repository at this point
Copy the full SHA 7e2cf8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca43b98 - Browse repository at this point
Copy the full SHA ca43b98View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcdc9f8 - Browse repository at this point
Copy the full SHA fcdc9f8View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 50c631d - Browse repository at this point
Copy the full SHA 50c631dView commit details
Commits on Aug 28, 2012
-
Cast exception.value to unicode.
For instance Windows IO error messages are localized and may contain non-ascii chracters.
Configuration menu - View commit details
-
Copy full SHA for 8ed4178 - Browse repository at this point
Copy the full SHA 8ed4178View commit details