The cusip module's is_valid function returns false for a CUSIP that I would expect would pass, as I found it on a real Fidelity statement (see screenshot of document sample).
cusip.is_valid(`FDIC99425`)
>> False
I believe this is because cusip._alphabet does not permit "I" or "O":
The
cusip
module'sis_valid
function returns false for a CUSIP that I would expect would pass, as I found it on a real Fidelity statement (see screenshot of document sample).I believe this is because
cusip._alphabet
does not permit "I" or "O":I checked cusip.com and I didn't find anything indicating that those two characters were not allowed.