1
0
forked from VimPlug/jedi

fix unicode issues with python2.7

This commit is contained in:
Dave Halter
2014-02-25 12:54:06 +01:00
parent 3a23c80ae5
commit 2252271bf5
4 changed files with 19 additions and 19 deletions

View File

@@ -37,7 +37,6 @@ def process_memory():
uri = 'http://svn.wxwidgets.org/viewvc/wx/wxPython/trunk/src/gtk/_core.py?revision=74740&content-type=text%2Fplain&view=co'
wx_core = urllib2.urlopen(uri).read()
wx_core = wx_core[:1]
def run():
@@ -45,7 +44,6 @@ def run():
print('Process Memory before: %skB' % process_memory())
# After this the module should be cached.
# Need to invent a path so that it's really cached.
print type(wx_core), wx_core
jedi.Script(wx_core, path='foobar.py').completions()
gc.collect() # make sure that it's all fair and the gc did its job.