On 24/05/13 00:24, Ethan Furman wrote: > Here's the code that existed at one point: > > for c in s: > val = _b32rev.get(c) > if val is None: > raise TypeError('Non-base32 digit found') > > Even though there is no KeyError to convert in this incarnation, providing the cause of failure is still appreciated by the user who's trying to figure out what, exactly, went wrong. For the record, that is the implementation used in Python 3.3.0rc3, so "at some point" is actually very recently. -- Steven
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4