commit | 7eea37e8317bda88d9f50b862f13642e837957ce | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Sep 04 22:08:56 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Sep 04 22:08:56 2001 +0000 |
tree | 33b41620f6b0e2266d19d43aa8fad9743f3bb3d4 | |
parent | 2f760c35e2372dc50102305f407e5eed7e7b5c0a [diff] [blame] |
At Guido's suggestion, here's a new C API function, PyObject_Dir(), like __builtin__.dir(). Moved the guts from bltinmodule.c to object.c.
diff --git a/Misc/NEWS b/Misc/NEWS index a8f05c7..7d44a59 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -96,7 +96,9 @@ Build -API +C API + +- New function PyObject_Dir(obj), like Python __builtin__.dir(obj). - Note that PyLong_AsDouble can fail! This has always been true, but no callers checked for it. It's more likely to fail now, because overflow