Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 87084:854a2cea31b9
Close #17828: better handling of codec errors
- output type errors now redirect users to the type-neutral
convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
will now be automatically wrapped in exceptions that give
the name of the codec involved
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Wed, 13 Nov 2013 23:49:21 +1000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
