break to blame the breakup (BBB)

Let’s try to reconstruct the error that happens only sometimes... Let’s try:

w,h = 512,512
data = scipy.zeros( (w,h,3), dtype=np.uint8)
data[256,256] = [255,0,0]
img = Image.fromarray(data, 'RGB')

But this does not throw an error!!! How to reconstruct this error then? However, I do not believe in the ghost in the machine, and I was quite positive that I’m not crazy (yet) since I was able to find others reporting this strange behavior, so I dig deeper.

After a while I figure out it was the b from pdb module to blame, not the PIL.