Commits

holger krekel committed e112660

fix issue19 -- wrap sys.version_info in tuple to avoid special type

  • Participants
  • Parent commits dd9f2cf

Comments (0)

Files changed (1)

doc/example/test_info.txt

   >>> gw = execnet.makegateway("ssh=codespeak.net")
   >>> channel = gw.remote_exec("""
   ...     import sys, os
-  ...     channel.send((sys.platform, sys.version_info, os.getpid()))
+  ...     channel.send((sys.platform, tuple(sys.version_info), os.getpid()))
   ... """)
   >>> platform, version_info, remote_pid = channel.receive()
   >>> platform