environment/lib/python2.7/site-packages/IPython/utils/pickleshare.py
def hdict(self, hashroot):
        """ Get all data contained in hashed category 'hashroot' as dict """
        hfiles = self.keys(hashroot + "/*")
        hfiles.sort()
        last = len(hfiles) and hfiles[-1] or ''
        if last.endswith('xx'):
            # print "using xx"
            hfiles = [last] + hfiles[:-1]

        all = {}

        for f in hfiles:
            # print "using",f
            try:
                all.update(self[f])
            except KeyError:
                print "Corrupt",f,"deleted - hset is not threadsafe!"
                del self[f]

            self.uncache(f)

        return all
def hdict(self, hashroot):
        hfiles = self.keys(hashroot + "/*")
        hfiles.sort()
        last = len(hfiles) and hfiles[-1] or ''
        if last.endswith('xx'):
            # print "using xx"
            hfiles = [last] + hfiles[:-1]

        all = {}

        for f in hfiles:
            # print "using",f
            try:
                all.update(self[f])
            except KeyError:
                print "Corrupt",f,"deleted - hset is not threadsafe!"
                del self[f]

            self.uncache(f)

        return all
def hdict ( self , hashroot ) : hfiles = self . keys ( hashroot + "/*" ) hfiles . sort ( ) last = len ( hfiles ) and hfiles [ - 1 ] or '' if last . endswith ( 'xx' ) : # print "using xx" hfiles = [ last ] + hfiles [ : - 1 ] all = { } for f in hfiles : # print "using",f try : all . update ( self [ f ] ) except KeyError : print "Corrupt" , f , "deleted - hset is not threadsafe!" del self [ f ] self . uncache ( f ) return all
Get all data contained in hashed category 'hashroot' as dict
Get all data contained in hashed category hashroot as dict