mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Add pep-291 compatibility markers.
This commit is contained in:
parent
f608317061
commit
c2da994585
17 changed files with 61 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
ToDo:
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
#include "Python.h"
|
||||
#include "compile.h" /* required only for 2.3, as it seems */
|
||||
#include "frameobject.h"
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
* History: First version dated from 3/97, derived from my SCMLIB version
|
||||
* for win16.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
#include <ffi.h>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
/******************************************************************/
|
||||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
#if (PY_VERSION_HEX < 0x02050000)
|
||||
typedef int Py_ssize_t;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
/******************************************************************/
|
||||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
#ifndef _CTYPES_DLFCN_H_
|
||||
#define _CTYPES_DLFCN_H_
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
#include <Python.h>
|
||||
#include <ffi.h>
|
||||
#ifdef MS_WIN32
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*****************************************************************
|
||||
This file should be kept compatible with Python 2.3, see PEP 291.
|
||||
*****************************************************************/
|
||||
|
||||
#include "Python.h"
|
||||
#include <ffi.h>
|
||||
#ifdef MS_WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue