On Tue, Nov 21, 2000 at 05:26:14PM -0500, Jeremy Hylton wrote: > >>>>> "PP" == Paul Prescod <paulp@ActiveState.com> writes: > PP> Andrew Kuchling wrote: > >> ... > >> Indeed; I think the proxies really obfuscated the code. Some > >> simple parameter checking, though, shouldn't add too much of a > >> burden, and will protect users from common mistakes that will > >> result in invalid trees. > > PP> Those checks would slow down the original tree building unless > PP> we split the interface into "internal" methods that we use > PP> ourself and "external methods" that do the extra checking. Worth > PP> the effort and extra code complexity? Maybe...maybe not. > > Could those checks be implemented as assertions? If so, people who > care about speed can use "python -O" +1 ... that would be the way to do it. Cheers, -g -- Greg Stein, http://www.lyra.org/
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