[Python-Dev] Re: Missing arguments in RE functions (original) (raw)
Edward Loper edloper at gradient.cis.upenn.edu
Fri Sep 10 21:59:31 CEST 2004
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib string.py, 1.74, 1.75
- Next message: [Python-Dev] Re: Missing arguments in RE functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Right now, there are some things you can do with the RE functions and a DIFFERENT set of things you can do with the compiled REs. That's TWO sets of functionality to learn. If Noam's patch can make the feature set of the RE functions the SAME as the feature set of the compiled REs, then there's only ONE set of features to memorize. On the whole, there are MORE indiviual "pieces" to the API but because of orthogonality the API as a whole is simpler. Therefore in this case I favor using Noam's patch.
+1. Consistency makes the API conceptually simpler, even if the absolute number of parameters is larger.
-Edward
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib string.py, 1.74, 1.75
- Next message: [Python-Dev] Re: Missing arguments in RE functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]