Code Review: PythonInterop2


#1

tfpt review “/shelveset:PythonInterop2;REDMOND\tomat”
Comment :
Python & outer DLR (simple fixes):

  • Renames onBindingError parameter to errorSuggestion to match the
    base method.
  • Fixes restriction combination in
    LanguageContext.DefaultCallAction.FallbackInvoke.

Ruby:

  • Implements InteropBinder class that provides binders for
    meta-object interop.
  • Adds basic implementation of Bind and Fallback for InvokeMember,
    CreateInstance, GetMember and Convert actions (more work is needed to
    polish all scenarios and corner cases).
  • Disallows removal of Object#initialize method to simplify object
    instantiation (Ruby 1.9 does so as well).
  • Adds more Python interop tests.

Tomas