Re: Stack Overflow moderator “animuson”
joel.goldstick at gmail.com
Wed Jul 10 18:32:32 CEST 2013
call your mom
On Wed, Jul 10, 2013 at 12:18 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> On 07/10/2013 08:54 AM, Joshua Landau wrote:
>> On 10 July 2013 10:00, Steven D'Aprano <steve at pearwood.info> wrote:
>>> On Wed, 10 Jul 2013 07:55:05 +0000, Mats Peterson wrote:
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
>>>> to face the truth. He has deleted all my postings regarding Python
>>>> regular expression matching being extremely slow compared to Perl.
>>> That's by design. We don't want to make the same mistake as Perl, where
>>> every problem is solved by a regular expression:
>>> so we deliberately make regexes as slow as possible so that programmers
>>> will look for a better way to solve their problem. If you check the
>>> source code for the re engine, you'll find that for certain regexes, it
>>> busy-waits for anything up to 30 seconds at a time, deliberately wasting
>> I hate to sound like this but do you realise that this is exactly what
>> you're arguing for when saying that sum() shouldn't use "+="?
> my_obj = SomeKoolClass()
> new_result = sum([SKC1, SKC2, SKC3], my_obj)
> Guess what? You've just changed my_obj.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list