Skip site navigation (1) Skip section navigation (2)

python - lo: Reorganize the project and incorporate the 'ex' module.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - lo: Reorganize the project and incorporate the 'ex' module.
Date: 2007-11-08 17:46:20
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
Log Message:
Reorganize the project and incorporate the 'ex' module.

It's formal name is now 'pg_foundation' in light of its evolution from a
namespace definition package into a more general purpose module-set.

 - Declare namespace packages for setuptools
 - Relocate postgresql.backend.typoid to postgresql.types and provide
   additional information about standard Postgres types.
 - Move all the exception classes and data into postgresql.exceptions
 - Removed postgresql.encodings as its integration with Python's encoding
   was far from elegant. This is further complicated by setuptools which
   doesn't guarantee that all files in a namespace package will
   be executed. Thus making the auto-import of postgresql.encodings impossible
   to guarantee upon the importation of the 'postgresql' module.

Modified Files:
        README (r1.1 -> r1.2)
        ( (r1.17 -> r1.18)
    lo/postgresql: (r1.5 -> r1.6)
    lo/postgresql/backend: (r1.3 -> r1.4)
    lo/postgresql/protocol: (r1.1 -> r1.2)
    lo/postgresql/utility: (r1.2 -> r1.3)
    lo/postgresql/utility/client: (r1.2 -> r1.3)

Added Files:
    lo/postgresql: (r1.1)
        ( (r1.1)

Removed Files:

pgsql-committers by date

Next:From: James William PyeDate: 2007-11-08 18:13:16
Subject: python - pq: Raise exception instances.
Previous:From: James William PyeDate: 2007-11-08 17:12:26
Subject: python - ex: Relocate project into the lo module.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group