Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 28887:e4eabe5b3da1 legacy-trunk
Use Tim's suggestion to fix
[ 708901 ] Lineno calculation sometimes broken
A one line patch to compile.c and a rather-more-than-one-line patch
to test_dis. Hey ho.
Possibly a backport candidate -- tho' lnotab is less used in 2.2...
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Tue, 29 Apr 2003 17:07:36 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
