def pointLight(*args,**kwargs):
    if kwargs.get('query', kwargs.get('q', False)) or kwargs.get('edit', kwargs.get('e', False)):
        return cmds.pointLight(*args, **kwargs)

    else:
        name = kwargs.pop('name', kwargs.pop('n', False ) )
        if name:
            tmp = cmds.pointLight(*args, **kwargs)
            tmp = cmds.rename( cmds.listRelatives( tmp, parent=1)[0], name)
            return _general.PyNode( cmds.listRelatives( tmp, shapes=1)[0] )

    return _general.PyNode( cmds.pointLight(*args, **kwargs)  )
Maya Bug Fix:
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/rendering.py/pointLight