Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -78/+78 |
| | |||||
* | #7419: Fix a crash on Windows in locale.setlocale() when the category | Amaury Forgeot d'Arc | 2009-12-01 | 1 | -0/+8 |
| | | | | is outside the allowed range. | ||||
* | Remove outdated include; this include was breaking OS X builds using | Mark Dickinson | 2009-09-16 | 1 | -4/+0 |
| | | | | | non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h won't compile under non-Apple gcc). | ||||
* | backport r73268 | Benjamin Peterson | 2009-06-07 | 1 | -33/+1 |
| | |||||
* | #3303: fix crash with invalid Py_DECREF in strcoll(). | Georg Brandl | 2008-07-19 | 1 | -1/+3 |
| | |||||
* | #3302: fix segfaults when passing None for arguments that can't | Georg Brandl | 2008-07-19 | 1 | -5/+9 |
| | | | | be NULL for the C functions. | ||||
* | Make more symbols static. | Martin v. Löwis | 2008-06-13 | 1 | -1/+1 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -19/+19 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -19/+19 |
| | |||||
* | - Fix an off-by-one bug in locale.strxfrm(). | Matthias Klose | 2007-04-03 | 1 | -1/+1 |
| | | | | patch taken from http://bugs.debian.org/416934. | ||||
* | Patch #1495999: Part two of Windows CE changes. | Martin v. Löwis | 2006-06-10 | 1 | -1/+1 |
| | | | | | | - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c | ||||
* | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 1 | -1/+1 |
| | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | ||||
* | Patch #1492356: Port to Windows CE (patch set 1). | Martin v. Löwis | 2006-05-22 | 1 | -1/+4 |
| | |||||
* | Merge ssize_t branch. | Martin v. Löwis | 2006-02-15 | 1 | -2/+2 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Fix grammatical typo in a comment. | Brett Cannon | 2005-03-01 | 1 | -1/+1 |
| | |||||
* | Correct the handling of 0-termination of PyUnicode_AsWideChar() | Marc-André Lemburg | 2004-11-22 | 1 | -1/+3 |
| | | | | | | | | and its usage in PyLocale_strcoll(). Clarify the documentation on this. Thanks to Andreas Degert for pointing this out. | ||||
* | Fix the spelling of Fredrik Lundh's last name (unless there really is a | Brett Cannon | 2004-08-27 | 1 | -1/+1 |
| | | | | "Fredrik Lund" who contributed the code in question). | ||||
* | This change implements the following gettext features, as | Gustavo Niemeyer | 2004-07-22 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | discussed recently in python-dev: In _locale module: - bind_textdomain_codeset() binding In gettext module: - bind_textdomain_codeset() function - lgettext(), lngettext(), ldgettext(), ldngettext(), which return translated strings encoded in preferred system encoding, if bind_textdomain_codeset() was not used. - Added equivalent functionality in translate() function and catalog classes. Every change was also documented. | ||||
* | Moved PyMac_GetScript() to _localemodule, which is the only place where | Jack Jansen | 2004-07-15 | 1 | -2/+26 |
| | | | | it is used, and made it private. Should fix #978662. | ||||
* | Patch #774665: Make Python LC_NUMERIC agnostic. | Martin v. Löwis | 2004-06-08 | 1 | -63/+7 |
| | |||||
* | Bug #920575: Add a workaround for GNU libc nl_langinfo()'s returning NULL. | Hye-Shik Chang | 2004-03-21 | 1 | -2/+6 |
| | | | | (Reported by Matthias Klose) | ||||
* | Got rid of macglue.h, replacing it by pymactoolbox.h where relevant. | Jack Jansen | 2003-11-20 | 1 | -4/+4 |
| | | | | Cleaned up various things in the toolbox modules. | ||||
* | Getting rid of code dependent on GUSI or the MetroWerks compiler. | Jack Jansen | 2003-11-19 | 1 | -1/+1 |
| | |||||
* | Patch #798145: Return correct information from nl_langinfo(RADIXCHAR). | Martin v. Löwis | 2003-09-04 | 1 | -0/+12 |
| | | | | Will backport to 2.3. | ||||
* | Use de_DE in example, change message for unknown locale. Fixes #797447. | Martin v. Löwis | 2003-09-03 | 1 | -2/+2 |
| | | | | Will backport to 2.3. | ||||
* | Fix [ 776721 ] locale.setlocale() leaks | Mark Hammond | 2003-07-24 | 1 | -1/+3 |
| | | | | | Our saved locale was not being freed. Also check correct variable for NULL. | ||||
* | Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize, | Martin v. Löwis | 2003-03-05 | 1 | -20/+0 |
| | | | | | and not as a side effect of setlocale. Expose it as sys.getfilesystemencoding. Adjust test case. | ||||
* | Use wcscoll for _locale.strcoll if available. | Martin v. Löwis | 2002-12-21 | 1 | -5/+79 |
| | |||||
* | We need macglue on MacPython-OS9 too. | Jack Jansen | 2002-12-13 | 1 | -1/+1 |
| | |||||
* | Patch #632973: Implement _getdefaultlocale for OS X. | Martin v. Löwis | 2002-11-26 | 1 | -3/+3 |
| | |||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very few | Tim Peters | 2002-07-14 | 1 | -1/+1 |
| | | | | | | | MSDN sample programs use it, apparently in error. The correct name is WIN32_LEAN_AND_MEAN. After switching to the correct name, in two cases more was needed because the code actually relied on things that disappear when WIN32_LEAN_AND_MEAN is defined. | ||||
* | Patch #569753: Remove support for WIN16. | Martin v. Löwis | 2002-06-30 | 1 | -3/+3 |
| | | | | Rename all occurrences of MS_WIN32 to MS_WINDOWS. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -26/+21 |
| | |||||
* | Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907. | Martin v. Löwis | 2002-05-02 | 1 | -1/+1 |
| | |||||
* | Patch #546194: Check constants individually. Fixes 534143 on OpenBSD. | Martin v. Löwis | 2002-04-19 | 1 | -2/+19 |
| | | | | Will backport to 2.2. | ||||
* | Expose C library's gettext. Fixes #516412. | Martin v. Löwis | 2002-03-27 | 1 | -2/+96 |
| | |||||
* | Don't imply XPG4 constants from CODESET presence. Fixes #534153. | Martin v. Löwis | 2002-03-27 | 1 | -1/+4 |
| | | | | 2.2.2 candiate. | ||||
* | Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS. | Neal Norwitz | 2002-03-25 | 1 | -11/+5 |
| | |||||
* | Verify arguments for nl_langinfo. Fixes #528879. | Martin v. Löwis | 2002-03-12 | 1 | -84/+106 |
| | |||||
* | sprintf -> PyOS_snprintf in some "obviously safe" cases. | Tim Peters | 2001-11-28 | 1 | -1/+1 |
| | | | | | Also changed <>-style #includes to ""-style in some places where the former didn't make sense. | ||||
* | PyLocale_setlocale(): silence compiler warning about free() of a const | Guido van Rossum | 2001-09-20 | 1 | -1/+1 |
| | | | | char *. | ||||
* | Patch #449815: Set filesystemencoding based on CODESET. | Martin v. Löwis | 2001-09-05 | 1 | -1/+20 |
| | |||||
* | Fix portability problems with glibc 2.0, as reported in #449157. | Martin v. Löwis | 2001-08-15 | 1 | -0/+3 |
| | |||||
* | _DATE_FMT does not always accompany CODESET. | Martin v. Löwis | 2001-08-10 | 1 | -0/+3 |
| | |||||
* | Expose nl_langinfo through locale where available. | Martin v. Löwis | 2001-08-10 | 1 | -0/+103 |
| | |||||
* | RISCOS changes by dschwertberger | Guido van Rossum | 2001-03-02 | 1 | -0/+4 |
| | |||||
* | Rationalize use of limits.h, moving the inclusion to Python.h. | Fred Drake | 2000-09-26 | 1 | -1/+0 |
| | | | | | | | | Add definitions of INT_MAX and LONG_MAX to pyport.h. Remove includes of limits.h and conditional definitions of INT_MAX and LONG_MAX elsewhere. This closes SourceForge patch #101659 and bug #115323. | ||||
* | Don't call Py_FatalError in module initialization | Jeremy Hylton | 2000-09-01 | 1 | -3/+0 |
| | | | | (leaving the rest of the modules for Barry) |