[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread eduardobedoya
it returns...
var1 = 0
var2 = 1
var1 = 1
var2 = 1
In python it should return...
var1 = 0
var2 = 1
var1 = 1
var2 = 0

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

Title:
  Python construc to swap variables doesn't work in Sikuli

Status in Sikuli:
  New

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, Var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread RaiMan
this works with 1.1.0:

x = 0
y = 1
print x, y
y, x = x, y
print x, y

prints 
0 1
1 0

** Changed in: sikuli
   Status: New => Opinion

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

Title:
  Python construc to swap variables doesn't work in Sikuli

Status in Sikuli:
  Opinion

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, Var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread RaiMan
BTW: there is a typo:

var1, Var2 = var2, var1

on the left side Var2 is uppercase and hence not var2

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

Title:
  Python construc to swap variables doesn't work in Sikuli

Status in Sikuli:
  Opinion

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, Var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread eduardobedoya
thanks, Raiman, wau 1.1.0 ill check it out.

** Description changed:

  In PYTHON there is a simple construct to swap Variables without the use
  of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am I
  right?
  
  Here is my example...
  
  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2
  
- var1, Var2 = var2, var1
+ var1, var2 = var2, var1
  
  print "var1 = ", var1
  print "var2 = ", var2

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

Title:
  Python construc to swap variables doesn't work in Sikuli

Status in Sikuli:
  Opinion

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-14 Thread RaiMan
** Changed in: sikuli
   Status: Opinion => Invalid

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

Title:
  Python construc to swap variables doesn't work in Sikuli --- this is
  not true

Status in Sikuli:
  Invalid

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli --- this is not true

2015-07-14 Thread RaiMan
** Summary changed:

- Python construc to swap variables doesn't work in Sikuli
+ Python construc to swap variables doesn't work in Sikuli --- this is not true

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

Title:
  Python construc to swap variables doesn't work in Sikuli --- this is
  not true

Status in Sikuli:
  Invalid

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli --- this is not true

2015-07-14 Thread eduardobedoya
sorry, it was my fault, it was the typo, the construct to swap variables
works fine in SIKULI 1.0.1

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

Title:
  Python construc to swap variables doesn't work in Sikuli --- this is
  not true

Status in Sikuli:
  Invalid

Bug description:
  In PYTHON there is a simple construct to swap Variables without the
  use of any Temp Variable "x,y = y,x" but it doesn't work in SIKULI, Am
  I right?

  Here is my example...

  var1 = 0
  var2 = 1
  print "var1 = ", var1
  print "var2 = ", var2

  var1, var2 = var2, var1

  print "var1 = ", var1
  print "var2 = ", var2

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp