Re: [Django] #13161: Avoid global registration of psycopg2 adapters/extensions

3 views
Skip to first unread message

Django

unread,
Sep 23, 2016, 11:48:58 AM9/23/16
to django-...@googlegroups.com
#13161: Avoid global registration of psycopg2 adapters/extensions
-------------------------------------+-------------------------------------
Reporter: spoksss | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: psycopg2, unicode | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => wontfix


Comment:

The unicode type registration will be dropped with Python 2. There are
some
[https://github.com/django/django/blob/cecef94275118dc49a1b0d89d3ca9734e2ec9776/django/db/backends/postgresql/base.py#L50-L65
other extensions/types registered] but I'm not sure they're causing any
problems. Feel free to reopen if someone sees a reason to change things
here.

--
Ticket URL: <https://code.djangoproject.com/ticket/13161#comment:18>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages