access to glibc-2.3 threaded locale API

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • дамјан г.

    access to glibc-2.3 threaded locale API


    Glibc-2.3 has a new thread-aware locale model (explained here:
    http://people.redhat.com/drepper/tllocale.ps.gz).

    This feature is great in applications such as Zope and Apache/mod_python
    were different users could access the same application but with different
    locale settings...

    Is there Python support for this feature?





    --
    Дамјан (jabberID:damja n@bagra.net.mk)

    The best things in life are free, but the
    expensive ones are still worth a look.
  • Martin v. Löwis

    #2
    Re: access to glibc-2.3 threaded locale API

    дамјан г. <mk@net.mail.pe nguinista> writes:
    [color=blue]
    > Is there Python support for this feature?[/color]

    No, but contributions to wrap newlocale/uselocale/freelocale would be
    accepted.

    I'm not sure whether all _l functions need to get exposed as well,
    though. I'd then rather prefer to have proper "locale" objects (with
    isalnum methods etc.); this would require a PEP.

    Regards,
    Martin

    Comment

    Working...