Thread: python - ex: Add Mapping class, and fix codes.

python - ex: Add Mapping class, and fix codes.

From
jwp@pgfoundry.org (James William Pye)
Date:
Log Message:
-----------
Add Mapping class, and fix codes. Change the name of the PY code class to
PYTHON. It's not an acronym so there isnt much reason to keep it in short form.
Also, remove the PYTHON.CODE code. The Message class will no longer be doing
such extensive checks on the code that is given to __init__, so I don't think it
will be needed.
Give the Class type the ability to iterate over the registered states.
(Temporary breakage in prime.py)

Modified Files:
--------------
    ex/src:
        code.py (r1.5 -> r1.6)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ex/src/code.py.diff?r1=1.5&r2=1.6)