Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
repr(Image()) raises an Error #265
It's true that this use-case should be handled better. The
with Image() as i: print(i.wand) # Should give wand structure pointer. => '0xbf07e076c0' print(i.signature) # No authenticated/cache pixels, so 'None' is expected. repr(i) # Empty MagicWand structure. => '???' repr(i) # Deallocated structure. => '<wand.image.Image: (closed)>'
So I should ask. What should