Jesse Jarzynka <[email protected]> writes: > Hello, > > I noticed after running the same program with pudb after upgrading > that it seems to be now showing a dirs() like view of variables > instead of vars(). > > For example, the same variable in the same code, I see the following > when expanding a dictionary called 'objects': > > v2012.3: > > objects: dict > | 'vserver': instance > | | .cluster: instance > | | | .bindir: '/usr/bin' > | | | .connections: dict > > v2013.1: > > objects: dict > | 'vserver': instance > | | .ad_join_status: <bound method Vserver.ad_join_status of > <hostlib.armada.Vserver.Vserver instance at 0x10a25fdd0>> > | | .add_ip_range: <bound method Vserver.add_ip_range of > <hostlib.armada.Vserver.Vserver instance at 0x10a25fdd0>> > | | .cluster: instance > | | | .add_windows: <bound method Cluster.add_windows of > <hostlib.armada.Cluster.Cluster instance at 0x10910d3f8>> > | | | .addr: '10.1.29.0' > | | | .all_addresses: <bound method Cluster.all_addresses of > <hostlib.armada.Cluster.Cluster instance at 0x10910d3f8>> > | | | .bindir: '/usr/bin' > > Was this intentional, and is there an option to revert to the old view?
This wasn't intentional. The code that generates this is here: https://github.com/inducer/pudb/blob/master/pudb/var_view.py#L258 Can you propose a change? Andreas _______________________________________________ Pudb mailing list [email protected] http://lists.tiker.net/listinfo/pudb
