urlparse.py uses lists of strings to indicate which protocols have which properties. For instance: uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 'wais', 'file', 'https', 'shttp', 'mms', 'prospero', 'rtsp', 'rtspu', ''] Logically, these are sets, rather than lists. CVS change 143 changed the lists to sets. Unfortunately, it breaks client code that did urlparse.uses_relative.append('my_protocol') which was as close to a documented API as existed. (1) Is this an OK breakage with the 2.4 switch? (2) If not, should this change be backed out, or replaced with some set subclass that takes a few of the list methods? -jJ
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