In the first example the search string is python- and so python3- should not be find by zypper. Thats also an bug.