This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rsc
Recipients belopolsky, benjamin.peterson, donlorenzo, rsc, zanella
Date 2008-05-08.16:19:08
SpamBayes Score 0.0054838806
Marked as misclassified No
Message-id <>
In-reply-to <>
On Thu, May 8, 2008 at 12:12 PM, Alexander Belopolsky
<> wrote:
> Alexander Belopolsky <> added the comment:
> On Thu, May 8, 2008 at 11:45 AM, Russ Cox <> wrote:
> ..
>>  My argument is only that Python should behave the same in
>>  this respect as other systems that use substantially the same
>>  regular expressions.
> This is not enough to justify the change in my view.  After all, "A
> Foolish Consistency is the Hobgoblin of Little Minds"
> <>.
> I don't know if there is much code out there that relies on the
> current behavior, but technically speaking, this is an incompatible
> change.  A backward compatible way to add your desired functionality
> would be to add the "escape_special" function, but not every useful
> 3-line function belongs to stdlib.

In my mind, arguing that re.escape can't possibly be changed
due to imagined backward incompatibilities is the foolish consistency.

> This said, I would prefer simply adding '_' to _alphanum over _special
> approach, but still -1 on the whole idea.

I don't use Python enough to care one way or the other.
I noticed a bug, I reported it.  Y'all are welcome to do
as you see fit.

Date User Action Args
2008-05-08 16:19:15rscsetspambayes_score: 0.00548388 -> 0.0054838806
recipients: + rsc, belopolsky, benjamin.peterson, zanella, donlorenzo
2008-05-08 16:19:13rsclinkissue2650 messages
2008-05-08 16:19:09rsccreate