summaryrefslogtreecommitdiffstats
path: root/Modules/_localemodule.c
Commit message (Collapse)AuthorAgeFilesLines
...
* init_locale(): This file defines the _locale module, so theBarry Warsaw2000-08-181-1/+1
| | | | Py_FatalError() should reflect that.
* Clean up compiler warning exposed by GCC's -Wall option: make sureFred Drake2000-08-101-2/+2
| | | | | Python.h is included before standard headers since we set _GNU_SOURCE there. This ensures that strdup() is prototyped.
* Use METH_VARARGS instead of numeric constant 1 in method def. tablesAndrew M. Kuchling2000-08-031-4/+8
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* Implemented getdefaultlocale() for macintosh, after an idea by Fredrik.Jack Jansen2000-07-151-2/+10
|
* - _getdefaultlocale shouldn't accept argumentsFredrik Lundh2000-07-081-8/+11
| | | | - some more spacification...
* - added _getdefaultlocale implementation for WIN32Fredrik Lundh2000-07-081-269/+351
| | | | - ansified, reindentified, spacified, nullified
* Trent Mick: use size_t instead of int where appropriate (in strxfrm(),Guido van Rossum2000-06-281-1/+1
| | | | to hold strlen() outcome).
* Vladimir Marangozov:Guido van Rossum2000-05-031-5/+5
| | | | | Change Py_Malloc/Realloc/Free calls to PyMem_Malloc/Realloc/Free + PyErr_Nomemory on error check. Py_Malloc c.s. are obsolete.
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-3/+3
| | | | PyArg_ParseTuple() format string arguments as possible.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-3/+3
|
* Added <ctype.h>, needed for Windows.Guido van Rossum1998-06-191-0/+1
|
* Type casts, and added a strdup() declaration for the Mac.Guido van Rossum1998-04-281-4/+7
| | | | (Jack)
* LC_MESSAGES is not defined on all systems; use #ifdef LC_MESSAGES.Guido van Rossum1997-12-091-0/+2
|
* Martin von Loewis' _locale module (locale.py follows tomorrow).Guido van Rossum1997-11-181-0/+355