def list_packages(self):
        session = DBSession()
        names = [p.name for p in Package.all(session, order_by=Package.name)]
        return names
Patches calls through to a user-specified method of the model
dataset/ETHPy150Open mardiros/pyshop/pyshop/views/xmlrpc.py/PyPI.list_packages--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/costs/cost.py/MethodCost.expr