← Back to team overview

sikuli-driver team mailing list archive

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

 

thanks for the reminder ;-)

I had some "feeling", that you mentioned a workaround already.

I only took the chance to talk about the need to revise and develop the
type/paste stuff as such ;-)

** Summary changed:

- Region.type() conflict with builtin type() function
+ Region.type() conflict with builtin type() function --- workaround

** Description changed:

+ *** workaround
+ 
+ the builtin type function can be called using __builtin__.type().
+ (You would also need to import __builtin__)
+ 
+ ----------------------------------------------------------------
+ 
  I've just realized that Region.type() is imported in global scope and
  shadows builtin type() function, which makes debugging harder.

-- 
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__)

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

  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