]> granicus.if.org Git - python/commitdiff
Add pep-291 compatibility markers.
authorThomas Heller <theller@ctypes.org>
Mon, 12 Jun 2006 20:56:48 +0000 (20:56 +0000)
committerThomas Heller <theller@ctypes.org>
Mon, 12 Jun 2006 20:56:48 +0000 (20:56 +0000)
17 files changed:
Lib/ctypes/__init__.py
Lib/ctypes/_endian.py
Lib/ctypes/macholib/__init__.py
Lib/ctypes/macholib/dyld.py
Lib/ctypes/macholib/dylib.py
Lib/ctypes/macholib/framework.py
Lib/ctypes/util.py
Lib/ctypes/wintypes.py
Modules/_ctypes/_ctypes.c
Modules/_ctypes/_ctypes_test.c
Modules/_ctypes/callbacks.c
Modules/_ctypes/callproc.c
Modules/_ctypes/cfield.c
Modules/_ctypes/ctypes.h
Modules/_ctypes/ctypes_dlfcn.h
Modules/_ctypes/malloc_closure.c
Modules/_ctypes/stgdict.c

index 042bc477ea8291c5f65bc7e3f7dcefa9ffbe887d..eb4753202c762181e7e634e6a93faac62ea189c8 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 """create and manipulate C data types in Python"""
 
 import os as _os, sys as _sys
index 5818ae14bca55ffda5d66065e2c1ac3d4dfc0245..6de0d47b2ceae0c5f525cb951f18181e7caf88a1 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 import sys
 from ctypes import *
 
index 5621defccd61d1c4b0c64b8e136ef4357052dcb3..36149d28a1506c56346c127b277702f1e8123fb2 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 """
 Enough Mach-O to make your head spin.
 
index a336fd085fa2554c28cbb959d6ea79afb5ac44a4..14e21395eaabbb9d03020ddc2e272249d44d2dcc 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 """
 dyld emulation
 """
index aa107507bd4a9a8bd61cdfdc008855ccc09d6c10..ea3dd38bdfb864fff8fe84687cf5572c49be742a 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 """
 Generic dylib path manipulation
 """
index ad6ed554ba0c221a0673e077f451fc7fbac25f24..dd7fb2f296a895ab628686c36c3f2c15f0fc198d 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 """
 Generic framework path manipulation
 """
index 094b029a406b722d3bf752521bce09120e757878..d4e314a6a066e0adbb51fcba9fb416c3734a5cf8 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 import sys, os
 
 # find_library(name) returns the pathname of a library, or None.
index 92b79d2abf698e2af686424ffa5f7e36a260f003..870d917b056a494d952eb674a1f588af1a051820 100644 (file)
@@ -1,3 +1,6 @@
+######################################################################
+#  This file should be kept compatible with Python 2.3, see PEP 291. #
+######################################################################
 # XXX This module needs cleanup.
 
 from ctypes import *
index 5d29cda26199231afcee49ad5663cdb0674d5239..4b075913075f5f7db27f0d0ff3d004b4222c89c7 100644 (file)
@@ -1,3 +1,8 @@
+/*****************************************************************
+  This file should be kept compatible with Python 2.3, see PEP 291.
+ *****************************************************************/
+
+
 /*
   ToDo:
 
index b10d6fe29a2c672bacf2f9b69dd298de30f7e6ac..99cc7a963487e5fbbb09228746c3ab7e4db15bce 100644 (file)
@@ -1,3 +1,8 @@
+/*****************************************************************
+  This file should be kept compatible with Python 2.3, see PEP 291.
+ *****************************************************************/
+
+
 #include <Python.h>
 
 /*
index 4baf3aa52f23df90803c422bd7dbabc796ac9850..b4f09e0361bfa519d2640c63cfe2870c25ef6c62 100644 (file)
@@ -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"
index c4942a0abddf7acecdaacf253571f4b6fb10bb8a..c229106c7af620614af63e104b33df28514e03db 100644 (file)
@@ -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.
index ae0290f47729cb15f283caa904d56acea1477b2f..68fac67003c8bc8d37756a07081b3b52c0f5ec15 100644 (file)
@@ -1,3 +1,7 @@
+/*****************************************************************
+  This file should be kept compatible with Python 2.3, see PEP 291.
+ *****************************************************************/
+
 #include "Python.h"
 
 #include <ffi.h>
index e82ff0d351bf7fca5a620b8b4bc50b5b1625209a..6db7015a423b764a06ee7690ebcd5294a37292b9 100644 (file)
@@ -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;
index 7f632c5fd4300c951944d222e22df994649f0802..d8bf904be20419f1d20def6986f82ce555276855 100644 (file)
@@ -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_
index 29e9f4c4b2898efb6a85729411e0d705fdb9b039..4cd5dd6f5a23a2301811791aebefa6588ef782e4 100644 (file)
@@ -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
index 2e7e157f7378d3f47f2fd5e92b7ef85da5b38e22..1ddbf8532f2b5595ecf4d0a3815ac511caf0f5b7 100644 (file)
@@ -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