2
Vote

Test PyPy 2.3

description

According to https://pytools.codeplex.com/discussions/546172, PyPy 2.3 does not work correctly with PTVS.

According to the DB in Bugs/PyPy, it actually crashes VS 2010 with the trace below (the exception message is "Cannot find builtin type 'object'"):
Exception Info: System.InvalidOperationException
Stack:
   at Microsoft.PythonTools.Interpreter.SharedDatabaseState.AddObjectTypeFixup(System.Action`1<Microsoft.PythonTools.Interpreter.IPythonType>)
   at Microsoft.PythonTools.Interpreter.SharedDatabaseState.AssignMemberFromModule(Microsoft.PythonTools.Interpreter.IPythonModule, System.String, Microsoft.PythonTools.Interpreter.IMember, System.Collections.Generic.List`1<System.Object>, System.Action`1<Microsoft.PythonTools.Interpreter.IPythonType>, Boolean)
   at Microsoft.PythonTools.Interpreter.SharedDatabaseState+<>c__DisplayClassa.<AssignMemberFromModule>b__8()
   at Microsoft.PythonTools.Interpreter.SharedDatabaseState.RunFixups()
   at Microsoft.PythonTools.Interpreter.SharedDatabaseState.EndModuleLoad(Microsoft.PythonTools.Interpreter.IPythonModule)
   at Microsoft.PythonTools.Interpreter.Default.CPythonModule.EnsureLoaded()
   at Microsoft.PythonTools.Interpreter.Default.CPythonModule.Imported(Microsoft.PythonTools.Interpreter.IModuleContext)
   at Microsoft.PythonTools.Analysis.Values.BuiltinModule.Imported(Microsoft.PythonTools.Analysis.AnalysisUnit)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(Microsoft.PythonTools.Parsing.Ast.ImportStatement)
   at Microsoft.PythonTools.Parsing.Ast.ImportStatement.Walk(Microsoft.PythonTools.Parsing.Ast.PythonWalker)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(Microsoft.PythonTools.Parsing.Ast.SuiteStatement)
   at Microsoft.PythonTools.Parsing.Ast.SuiteStatement.Walk(Microsoft.PythonTools.Parsing.Ast.PythonWalker)
   at Microsoft.PythonTools.Parsing.Ast.PythonAst.Walk(Microsoft.PythonTools.Parsing.Ast.PythonWalker)
   at Microsoft.PythonTools.Analysis.AnalysisUnit.AnalyzeWorker(Microsoft.PythonTools.Analysis.Analyzer.DDG, System.Threading.CancellationToken)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.Analyze(Microsoft.PythonTools.Analysis.Deque`1<Microsoft.PythonTools.Analysis.AnalysisUnit>, System.Threading.CancellationToken, System.Action`1<Int32>, Int32)
   at Microsoft.PythonTools.Analysis.PythonAnalyzer.AnalyzeQueuedEntries(System.Threading.CancellationToken)
   at Microsoft.PythonTools.Intellisense.AnalysisQueue+GroupAnalysis.Analyze(System.Threading.CancellationToken)
   at Microsoft.PythonTools.Intellisense.AnalysisQueue.Worker(System.Object)
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart(System.Object)

comments

Zooba wrote Aug 14 at 3:35 PM

Tested, and it doesn't work well if you want IntelliSense.