Couple of approaches:
- Break the api into two. get_stats and get_stats_consolidated. This way,
the caller who doesn't know what is your default value of consolidated
argument is will not be confused.
- Change the return value to be a list always. Without consolidated set,
it will just be
My choice is winpdb. It is great to debug multi threaded applications.
Regards,
Harish
On Fri, Sep 13, 2013 at 2:46 PM, Anand Chitipothu anandol...@gmail.comwrote:
On Fri, Sep 13, 2013 at 2:36 PM, Dhruv Baldawa dhruvbald...@gmail.com
wrote:
This is what I use for debugging:
from
How do I subscribe to inpycon? Please help.
Regards,
Harish
On Thu, May 23, 2013 at 11:39 AM, Anand Chitipothu anandol...@gmail.comwrote:
On Wed, May 22, 2013 at 7:46 PM, Gora Mohanty g...@mimirtech.com wrote:
On 22 May 2013 19:29, vijay vnbang2...@yahoo.com wrote:
Here is a good talk on how dictionaries are implemented in python :
http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2010-the-mighty-dictionary-55-3352147
Due to possibility of collisions in the hash table, dict keeps allocating
4x or 2x the size of existing allocation and *will* reorder the
the items to new dictionary will not
consume less space ? By copying you will get rid of all the dummy variables
and lookup time will also decrease.
Thanks a lot!
./Rahul
On Thu, Apr 18, 2013 at 1:14 PM, Harish Vishwanath
harish.shas...@gmail.com
wrote:
Here is a good talk on how dictionaries