diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-04-08 22:07:05 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-04-08 22:07:05 (GMT) |
commit | 7adc776ea6ab808a4bf8fbf2740bb3bb9a7928a4 (patch) | |
tree | c9ba8bbc4fd541cd5761c5de0e92d782b3e3ddf0 /PC | |
parent | 24f3c5c646d26350e4de6a878fed3e6db1e4ff9a (diff) | |
download | cpython-7adc776ea6ab808a4bf8fbf2740bb3bb9a7928a4.zip cpython-7adc776ea6ab808a4bf8fbf2740bb3bb9a7928a4.tar.gz cpython-7adc776ea6ab808a4bf8fbf2740bb3bb9a7928a4.tar.bz2 |
Issue 2408: remove the _types module
It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType),
when they can easily be obtained with python code.
These expressions even work with Jython.
I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 )
at least this change makes it simpler.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/VC6/pythoncore.dsp | 4 | ||||
-rw-r--r-- | PC/VS7.1/pythoncore.vcproj | 3 | ||||
-rw-r--r-- | PC/VS8.0/pythoncore.vcproj | 4 | ||||
-rw-r--r-- | PC/config.c | 3 |
4 files changed, 0 insertions, 14 deletions
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp index 7c929ef..adcef6a 100644 --- a/PC/VC6/pythoncore.dsp +++ b/PC/VC6/pythoncore.dsp @@ -173,10 +173,6 @@ SOURCE=..\..\PC\_subprocess.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\_typesmodule.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Modules\_weakref.c
# End Source File
# Begin Source File
diff --git a/PC/VS7.1/pythoncore.vcproj b/PC/VS7.1/pythoncore.vcproj index 5e84783..3a20a41 100644 --- a/PC/VS7.1/pythoncore.vcproj +++ b/PC/VS7.1/pythoncore.vcproj @@ -398,9 +398,6 @@ RelativePath="..\..\Pc\_subprocess.c"> </File> <File - RelativePath="..\..\Modules\_typesmodule.c"> - </File> - <File RelativePath="..\..\Modules\_weakref.c"> </File> <File diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj index e2ce1f8..6525934 100644 --- a/PC/VS8.0/pythoncore.vcproj +++ b/PC/VS8.0/pythoncore.vcproj @@ -1023,10 +1023,6 @@ >
</File>
<File
- RelativePath="..\..\Modules\_typesmodule.c"
- >
- </File>
- <File
RelativePath="..\..\Modules\_weakref.c"
>
</File>
diff --git a/PC/config.c b/PC/config.c index 816edca..9cce923 100644 --- a/PC/config.c +++ b/PC/config.c @@ -66,7 +66,6 @@ extern void init_codecs_tw(void); extern void init_subprocess(void); extern void init_lsprof(void); extern void init_ast(void); -extern void init_types(void); /* tools/freeze/makeconfig.py marker for additional "extern" */ /* -- ADDMODULE MARKER 1 -- */ @@ -161,8 +160,6 @@ struct _inittab _PyImport_Inittab[] = { {"sys", NULL}, {"exceptions", NULL}, - {"_types", init_types}, - /* Sentinel */ {0, 0} }; |