This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: imp.is_builtin() returns bool/int?
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, nnorwitz
Priority: normal Keywords:

Created on 2002-04-09 17:52 by nnorwitz, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg10226 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-04-09 17:52
imp.is_builtin() is documented (libimp.tex:178)
to return -1, 0, or 1.  However, it was changed
to a bool.  Should this not return a bool?
Should the docs be updated to only return bool?

Let me know what you want and 
you can assign it back to me.
msg10227 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-04-09 18:01
Logged In: YES 
user_id=6380

Ouch. I messed up. I've reverted that part of the checkin.
Thanks for paying attention!
History
Date User Action Args
2022-04-10 16:05:12adminsetgithub: 36401
2002-04-09 17:52:41nnorwitzcreate