Re: [gentoo-portage-dev] [PATCH 2/2] pym/portage/util/locale.py: add a C module to check locale

2016-05-20 Thread Michał Górny
On Fri, 20 May 2016 06:59:14 -0400 "Anthony G. Basile" wrote: > On 5/19/16 9:38 AM, Michał Górny wrote: > > Dnia 19 maja 2016 14:43:38 CEST, "Anthony G. Basile" > > napisał(a): > >> From: "Anthony G. Basile" > >> >

Re: [gentoo-portage-dev] [PATCH 2/2] pym/portage/util/locale.py: add a C module to check locale

2016-05-20 Thread Anthony G. Basile
On 5/19/16 9:38 AM, Michał Górny wrote: > Dnia 19 maja 2016 14:43:38 CEST, "Anthony G. Basile" > napisał(a): >> From: "Anthony G. Basile" >> >> The current method to check for the system locale is to use python's >> ctypes.util.find_library() to

[gentoo-portage-dev] [PATCH 2/2] pym/portage/util/locale.py: add a C module to check locale

2016-05-19 Thread Anthony G. Basile
From: "Anthony G. Basile" The current method to check for the system locale is to use python's ctypes.util.find_library() to construct a full library path to the system libc.so which is then passed to ctypes.CDLL(). However, this gets bogged down in implementation dependant