Small patch to ensure GPIO.cleanup is always called on interpreter shutdown. This just means the library will "play nice" with whatever comes afterward.
Make the pin property a read-only property