Staging
v0.5.1
https://github.com/python/cpython
Revision dc2e5cebdfae77bdf93280a0e1a8ad0fd4b9e319 authored by Guido van Rossum on 08 February 2002, 21:32:41 UTC, committed by Guido van Rossum on 08 February 2002, 21:32:41 UTC
Kleineidam): curses error in w.border().

For some reason, in 2.1.2 and before, PyCursesWindow_Border is
declared as METH_VARARGS but calls PyArg_Parse(), which is wrong.

(This is not relevant for 2.2, which does this completely different
and makes all functions METH_VARARGS.)
1 parent 97cb5b7
Raw File
Tip revision: dc2e5cebdfae77bdf93280a0e1a8ad0fd4b9e319 authored by Guido van Rossum on 08 February 2002, 21:32:41 UTC
In case there ever will be a 2.1.3, this fixes SF bug #514928 (Bastian
Tip revision: dc2e5ce
version.r
/*
** Create the 'vers' version resource from information in the
** Python include files.
*/

#include "Types.r"

#include "patchlevel.h"

/* Invent the Mac version from the Python version */
#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
#define V_RELEASE alpha
#endif
#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
#define V_RELEASE beta
#endif
#ifndef V_RELEASE
#define V_RELEASE final
#endif

resource 'vers' (1) {
	PY_MAJOR_VERSION,
	(PY_MINOR_VERSION<<4) | (PY_MICRO_VERSION),
	V_RELEASE,
	PY_RELEASE_SERIAL,
	0,
	PY_VERSION,
	$$Format("%s, ę Python Software Foundation %s",
			PY_VERSION, $$Date)
};
back to top