General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".


Postby Charles » Thu Jul 19, 2012 12:42 am

Cobra is now like Python in that unpacking the wrong number of elements will always throw an exception. This was recently discussed at viewtopic.php?f=4&t=975

You even get an informative message like:
a, b, c, d = someList
# -->
# Unhandled Exception: Cobra.Core.UnpackException: Cannot unpack 3 values into 4 targets.

Take it for a spin and let me know if you have any feedback.

The ticket:

The changeset:
Posts: 2515
Location: Los Angeles, CA

Return to Discussion

Who is online

Users browsing this forum: Charles and 8 guests