Hi,
It seems to me that one of the few really "bad" method names in the
Python library that I regularly encounter is re.sub().
I don't like the name because:
(1) It is an abbreviation, but not an "obvious" one like max and min
(2) It is an ambiguous name: could be substitute or could be subtract
2007/10/5, Mark Summerfield <[EMAIL PROTECTED]>:
> Although re.substitute() would work (and be better than sub), I think
> re.replace() is better and more consistent regarding the rest of the
> library.
+1, happened twice to me, different jobs, that a colleague came to me
asking why there was no
On 10/5/07, Neil Schemenauer <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 04, 2007 at 02:49:16AM -0400, Alexandre Vassalotti wrote:
> > Could you elaborate on what you are trying to do?
>
> I'm trying to efficiently pickle a 'unicode' subclass. I'm
> disappointed that it's not possible to be as effici