import pywikibot as wp
site = wp.Site("de", "wikipedia")
page = wp.Page(site, "Kitzelbach")
# page.get()
wppage = wp.ItemPage.fromPage(page)Executing this code raises a pywikibot.exceptions.NoPage exception with an error message of "Page [[wikidata:-1]] doesn't exist." This does not make it clear at all what the problem is (the article "Kitzelbach" on de.wp is a redirect).
Uncommenting the call to page.get raises a (much more useful) IsRedirectPage exception with an actually useful error message ("Page [[wikipedia:de:Kitzelbach]] is a redirect page." It would be great if this exception (or at least the error message) wouldn't be hidden or if fromPage made it possible to supply get_redirect like BasePage.get does.