gknows / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Remote interpreter incompatible with future.builtins (for making code 2/3 compatible) #800

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add the import: "from future.builtins import str" to any script
2. Run the script
3.

What is the expected output? What do you see instead?
Upon completion of execution, an error pops up which says "Error in getting the 
namespace of globals". Then, after each keystroke, an error again pops up which 
says "Error in getting the namespace of". The blank in the previous error 
message is intentional, that is the verbatim transcription of the error. 
Obviously no errors should be expected.

What version of the product are you using? On what operating system?
PyScripter 2.6.0.0 x64
Windows 7 Professional SP1

Please provide any additional information below.

Python 2.7.6
Installed from Anaconda 2.3.0 (x64)
future.__version__ 0.12.1

Removing the "..import str" and re-initializing the interpreter corrects the 
problem. Other imports from the future.builtins module do not appear to cause 
this problem. Disabling code completion in the interpreter removes the 
repeated, incomplete errors caused by keystrokes, but the first error remains.

Original issue reported on code.google.com by drwo...@gmail.com on 10 Jul 2015 at 2:38