Issue #717 resolved

sessions should have a __len__ function

created an issue

It is sometimes useful to know how many active session there are.

Sessions should have a len function to return number of active sessions. This would save people from needing to use hacky methods to count sessions.

Comments (6)

  1. Anonymous

    i did not realise i need to put my email address in.

    writing the postgresql part of the patch is probably best left to someone other than me. i have not used the python database interface before, and don't have a postgresql server set up for testing.

  2. Log in to comment