[New-bugs-announce] [issue32315] can't run any scripts with 2.7.x, 32 and 64-bit
Martin
report at bugs.python.org
Wed Dec 13 17:11:11 EST 2017
New submission from Martin <mdelija92 at gmail.com>:
When I try to run a really simple script like:
def fun(a):
print a
return
I get this error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1541, in __call__
return self.func(*args)
File "C:\Python27\lib\idlelib\MultiCall.py", line 166, in handler
r = l[i](event)
File "C:\Python27\lib\idlelib\ScriptBinding.py", line 149, in run_module_event
if PyShell.use_subprocess:
AttributeError: 'module' object has no attribute 'use_subprocess'
It basically means Python is only usable by copy-pasting code into Shell, any kind of script fails with that error.
----------
components: Library (Lib)
messages: 308260
nosy: DoctorEvil
priority: normal
severity: normal
status: open
title: can't run any scripts with 2.7.x, 32 and 64-bit
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32315>
_______________________________________
More information about the New-bugs-announce
mailing list