← Back to team overview

sikuli-driver team mailing list archive

[Bug 783427] Re: X-1.0rc2: with: not working with "Region-like" objects (rc3: only match object)

 

** Changed in: sikuli
       Status: In Progress => Won't Fix

** Changed in: sikuli
    Milestone: 2.0.0 => None

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

Title:
  X-1.0rc2: with: not working with "Region-like" objects (rc3: only
  match object)

Status in Sikuli:
  Won't Fix

Bug description:
  I thought this was already in the list, but could not find it.

  Trying to use with: with a Match object or an App().window() brings
  exception:

  AttributeError: 'org.sikuli.script.Region' object has no attribute
  '__exit__'

  *** workaround: cast the objects to Region objects when using with:

  with Region(the_failing_object):
      pass # the actions

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


References