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

python - lo: Add the encodings package back in.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - lo: Add the encodings package back in.
Date: 2007-12-14 05:20:59
Message-ID: 20071214052059.F352817AC8B7@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Add the encodings package back in.

However, it's a little different this time. bytea must be explicitly imported
to make it available to ''.encode() lookups. Aliases are not registered with
Python; rather, the user must import and map on an as needed basis.

Modified Files:
--------------
    lo:
        setup.py (r1.18 -> r1.19)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/setup.py.diff?r1=1.18&r2=1.19)

Added Files:
-----------
    lo/postgresql/encodings:
        __init__.py (r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/encodings/__init__.py?rev=1.3&content-type=text/x-cvsweb-markup)
        aliases.py (r1.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/encodings/aliases.py?rev=1.1&content-type=text/x-cvsweb-markup)
        bytea.py (r1.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/encodings/bytea.py?rev=1.4&content-type=text/x-cvsweb-markup)
        pbytea.py (r1.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/encodings/pbytea.py?rev=1.1&content-type=text/x-cvsweb-markup)

Removed Files:
-------------
    lo/postgresql/backend:
        __init__.py
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/backend/__init__.py)

pgsql-committers by date

Next:From: User ShigehiroDate: 2007-12-14 05:47:36
Subject: press - pr: update japanese translation for 2007-12-13-changes
Previous:From: User Doudou586Date: 2007-12-14 03:00:43
Subject: press - pr: Date&HOT&CheckPoints Fixed

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