PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);
-#ifdef MS_WINDOWS
+#if defined(MS_WINDOWS) || defined(PYOS_OS2)
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else
# On Windows and Mac OSX this test comsumes large resources; It takes
# a long time to build the >2GB file and takes >2GB of disk space
# therefore the resource must be enabled to run this test.
- if sys.platform[:3] == 'win' or sys.platform == 'darwin':
+ if sys.platform[:3] in ('win', 'os2') or sys.platform == 'darwin':
if not test_support.is_resource_enabled("largefile"):
print("\nTesting large file ops skipped on %s." % sys.platform,
file=sys.stderr)
Modules/binascii.c \
Modules/cmathmodule.c \
Modules/_codecsmodule.c \
- Modules/collectionsmodule.c \
+ Modules/_collectionsmodule.c \
Modules/cPickle.c \
Modules/cStringIO.c \
Modules/_csv.c \
Modules/dlmodule.c \
Modules/errnomodule.c \
Modules/fcntlmodule.c \
+ Modules/_fileio.c \
Modules/_functoolsmodule.c \
Modules/_heapqmodule.c \
Modules/imageop.c \
Modules/md5module.c \
Modules/operator.c \
Modules/_randommodule.c \
- Modules/rgbimgmodule.c \
Modules/shamodule.c \
Modules/sha256module.c \
Modules/sha512module.c \
Python/compile.c \
Python/codecs.c \
Python/errors.c \
+ Python/formatter_string.c \
+ Python/formatter_unicode.c \
Python/frozen.c \
Python/frozenmain.c \
Python/future.c \
Python/modsupport.c \
Python/mysnprintf.c \
Python/mystrtoul.c \
+ Python/peephole.c \
Python/pyarena.c \
Python/pyfpe.c \
+ Python/pymath.c \
Python/pystate.c \
Python/pystrtod.c \
Python/pythonrun.c \
Python/traceback.c \
Python/getopt.c \
Python/dynload_shlib.c \
- Python/thread.c)
+ Python/thread.c \
+ Python/_warnings.c)
SRC.OBJECT= $(addprefix $(TOP), \
Objects/abstract.c \
Objects/boolobject.c \
Objects/bufferobject.c \
+ Objects/bytearrayobject.c \
+ Objects/bytes_methods.c \
Objects/cellobject.c \
Objects/classobject.c \
Objects/cobject.c \
extern void initbinascii();
extern void initcPickle();
extern void initcStringIO();
-extern void initcollections();
+extern void init_collections();
extern void initcmath();
extern void initdatetime();
extern void initdl();
extern void initerrno();
extern void initfcntl();
+extern void init_fileio();
extern void init_functools();
extern void init_heapq();
extern void initimageop();
extern void initmath();
extern void init_md5();
extern void initoperator();
-extern void initrgbimg();
extern void init_sha();
extern void init_sha256();
extern void init_sha512();
{"binascii", initbinascii},
{"cPickle", initcPickle},
{"cStringIO", initcStringIO},
- {"collections", initcollections},
+ {"_collections", init_collections},
{"cmath", initcmath},
{"datetime", initdatetime},
{"dl", initdl},
{"errno", initerrno},
{"fcntl", initfcntl},
+ {"_fileio", init_fileio},
{"_functools", init_functools},
{"_heapq", init_heapq},
{"imageop", initimageop},
{"math", initmath},
{"_md5", init_md5},
{"operator", initoperator},
- {"rgbimg", initrgbimg},
{"_sha", init_sha},
{"_sha256", init_sha256},
{"_sha512", init_sha512},