Re: suggestion: discard python2.x venv

Поиск
Список
Период
Сортировка
От Murtuza Zabuawala
Тема Re: suggestion: discard python2.x venv
Дата
Msg-id CAKKotZQn=uYR+_X=ghS6CEv+AbarucFgJd9SGPebw395EuUE9w@mail.gmail.com
обсуждение исходный текст
Ответ на suggestion: discard python2.x venv  (Ioseph Kim <pgsql-kr@postgresql.kr>)
Ответы Re: suggestion: discard python2.x venv
Список pgadmin-hackers

On Tue, Feb 6, 2018 at 9:21 AM, Ioseph Kim <pgsql-kr@postgresql.kr> wrote:
Hi,

I used pgadmin4 since 2 month.

pgadmin4 is a good application for PostgreSQL. that is true!

but, in multibytes environment, python2 + pgadmin4 is not good choice.


if table name or column name is multibytes, export, import is not working, because  python2 unicode processing is ugly.

and, if server message is multibytes, pgadmin4 does not display that,  and there are many other problems so.


I changed venv to python3, most problems of multibytes have been resolved smoothly as expected.


we need to narrow its focus.

​AFAIK we are using Python2.x because many enterprise linux distributions do not have native support for Python3 in them (from their default repo) for example CentOS6.x, many versions of Redhat linux etc, Admins have to download and compile Python3.x manually which adds maintenance of additional software on their servers (eg manual security updates etc), In order to support them we are shipping pgAdmin4 with Python2.x, Otherwise you are correct Python3 will resolve most of the Unicode related issues which we are currently facing with pgAdmin4.

-- Murtuza


Regards Ioseph



В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Khushboo Vashi
Дата:
Сообщение: Re: suggestion: discard python2.x venv
Следующее
От: Ioseph Kim
Дата:
Сообщение: Re: suggestion: discard python2.x venv