← Back to team overview

sikuli-driver team mailing list archive

[Bug 794880] Re: Region.type() conflict with builtin type() function --- workaround

 

*** This bug is a duplicate of bug 906343 ***
    https://bugs.launchpad.net/bugs/906343

** This bug has been marked a duplicate of bug 906343
   Sikuli's "type" command collides with Jython's type command --- workarounds

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/794880

Title:
  Region.type() conflict with builtin type() function --- workaround

Status in Sikuli:
  New

Bug description:
  *** workaround

  the builtin type function can be called using __builtin__.type().
  (You would also need to import __builtin__)

  ... and you could use isinstance()

  ----------------------------------------------------------------

  I've just realized that Region.type() is imported in global scope and
  shadows builtin type() function, which makes debugging harder.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/794880/+subscriptions


References