KeyError in RowProxy.has_key

Issue #380 resolved
Former user created an issue

You get a KeyError when calling RowProxy's has_key with a non-existent key string. has_key should not throw a KeyError, it should just return False.

Comments (3)

  1. Mike Bayer repo owner

    in fact the NoSuchColumnError is a KeyError subclass so I just switched the name in changeset:2117. im not sure why it raises NSCE for a Column instance but not a string, though.

  2. Log in to comment