Getting different results for debug vs Run

Hey. I'm running a super simple 2 code line program:

from unidecode import unidecode
print unidecode(u'_’_')

When I use Run on this program, I get this:

When I debug this program using pydev, I get this:
pydev debugger: process 1453 is connecting

Connected to pydev debugger (build 139.487)
Traceback (most recent call last):
  File "/Applications/", line 2198, in <module>
    globals =['file'], None, None)
  File "/Applications/", line 1637, in run
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/Users/Ben/dev/socialstudios/socialstudios/engine/", line 390, in <module>
    print unidecode(u'_’_')
  File "/Users/Ben/dev/socialstudios/socialstudios/.work/lib/python2.7/site-packages/unidecode/", line 54, in unidecode
    mod = __import__('unidecode.x%03x'%(section), [], [], ['data'])
  File "/Applications/", line 426, in plugin_import
    space = _discover_space(name, ref_globals)
  File "/Applications/", line 99, in _discover_space
    mod_name = globals.get('__name__')
AttributeError: 'list' object has no attribute 'get'

Process finished with exit code 1

What am I doing wrong here? How can this be fixed?

Thanks for your help!
1 comment
Comment actions Permalink
This is not reproducible with 32bit code. While debug and release code will always result in the same value for 32bit, it still is different from the 64bit release version, and the 64bit debug still returns some completely random values.

Please sign in to leave a comment.