Guido van Rossum schrieb: > Actually, I think Dirkjan has a point. I'm not sure that we need > another moratorium (that's a rather dramatic kind of decision which > should be very rare indeed) but I do agree that deprecations are often > more of a pain than they're worth. > > For example, take the deprecation of the md5 and sha modules in Python > 2.6. They make it a bit of a pain to write code that *cleanly* > supports Python 2.4 (doesn't have hashlib) through 2.6 (warns when > importing md5 instead of hashlib). You can silence the warning, but > that is in itself not particularly clean, and users really hate having > the warnings. Trying to import hashlib and importing md5 on ImportError isn't *too* unclean, is it? Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.
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