Обсуждение: python - ex: Add code specific classes and generalize IntegrityError.

Поиск
Список
Период
Сортировка

python - ex: Add code specific classes and generalize IntegrityError.

От
jwp@pgfoundry.org (James William Pye)
Дата:
Log Message:
-----------
Add code specific classes and generalize IntegrityError.
Add Undefined* and Duplicate* code specific exceptions. These are likely to be
fairly common, so provide use convenience by giving code specific exceptions.

IntegrityError has become an abstract exception; ICV code class is now bound to
the ICVError exception, which inherits from IntegrityError.

Other minor changes.

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