https://bugzilla.wikimedia.org/show_bug.cgi?id=55149
--- Comment #12 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- No! it is not correct !
now user should write
try: gett=data.get() except: some thing to do (may be saying error)
Instead of these four lines library should tell user that item doesn't exist so code should switch to create a new item.