Remove support for __members__ and __methods__. There still might be
some cleanup to do on this. Particularly in Python/traceback.c with
getting rid of the getattr if possible and Demo/*metaclasses/Enum.py.
diff --git a/Misc/NEWS b/Misc/NEWS
index dc64954..09d1302 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -75,6 +75,8 @@
its argument, if it exists. If not, it will work like before. This allows
customizing the output of dir() in the presence of a __getattr__().
+- Removed support for __members__ and __methods__.
+
- Removed indexing/slicing on BaseException.
- input() became raw_input(): the name input() now implements the
@@ -219,7 +221,7 @@
__coerce__, __div__, __idiv__, __rdiv__
- Removed these C APIs:
- PyNumber_Coerce(), PyNumber_CoerceEx()
+ PyNumber_Coerce(), PyNumber_CoerceEx(), PyMember_Get, PyMember_Set
- Removed these C slots/fields:
nb_divide, nb_inplace_divide
@@ -229,7 +231,8 @@
- Removed these typedefs:
intargfunc, intintargfunc, intobjargproc, intintobjargproc,
- getreadbufferproc, getwritebufferproc, getsegcountproc, getcharbufferproc
+ getreadbufferproc, getwritebufferproc, getsegcountproc, getcharbufferproc,
+ memberlist
Tests
diff --git a/Misc/find_recursionlimit.py b/Misc/find_recursionlimit.py
index e6454c9c3..32bdae4 100644
--- a/Misc/find_recursionlimit.py
+++ b/Misc/find_recursionlimit.py
@@ -17,8 +17,6 @@
It ends when Python causes a segmentation fault because the limit is
too high. On platforms like Mac and Windows, it should exit with a
MemoryError.
-
-NB: A program that does not use __methods__ can set a higher limit.
"""
import sys