Using own.hit Object List? with ["Near"] sensor
You can do it this way.

from bge import logic

if logic.getCurrentController.sensors['Near'].positive:
    for obj in controller.sensors['Near'].hitObjectList:
        print(obj)


KX_NearSensor

KX_TouchSensor