On Wed, 24 Jan 2001 16:11:33 +0100, "Fredrik Lundh" <fredrik@effbot.org> wrote: > I think the correct answer is "sometimes": > > ANSI C mandates LC_ALL, LC_COLLATE, LC_CTYPE, > LC_MONETARY, LC_NUMERIC, and LC_TIME > > Unix mandates LC_ALL, LC_COLLATE,LC_CTYPE, > LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and > LC_TIME > > in other words, if it's supported, it should be exposed by > the Python bindings. In that case, the __all__ attribute in the module has to be calculated dynamically. Say, adding code like try: LC_MESSAGES except NameError: pass else: __all__.append('LC_MESSAGES') Ditto for anything else. Should I check in a patch? -- Moshe Zadka <sig@zadka.site.co.il> This is a signature anti-virus. Please stop the spread of signature viruses! Fingerprint: 4BD1 7705 EEC0 260A 7F21 4817 C7FC A636 46D0 1BD6
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4