shizmob / pydle

An IRCv3-compliant Python 3 IRC library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

misleading user metadata

lilydjwg opened this issue · comments

If I never whois a user, its metadata is account=None and identified=False no matter the user is actually identified or not. (I kicked legimate users because I thought they were not identified while they acutally were...)

commented

This is a very good point, although I'm not sure how to best address this. Was your expected behaviour the keys being completely absent or e.g. identified set to None?

I prefer it to be absent so people can get KeyErrors if they think the info is always there but actually not yet. None is too close to False in daily Python usage.