On Sun, 7 Jun 2015 07:33 pm, Laura Creighton wrote: > In a message of Sun, 07 Jun 2015 08:20:46 +0200, Cecil Westerhof writes: >>> You may get faster results if you use Matthew Barnett's replacement >>> for re here: https://pypi.python.org/pypi/regex >>> >>> You will get faster results if you build your IPython shell to use >>> PyPy, but I would still be very surprised if it beat the C program >>> find. >> >>I have to look into that. But I prefer to write a version that can be >>used by ‘everyone’. > > Well, everybody can download Matthew Barnett's regex, and get pypy, > and the claim is that ipython just works with pypy, and if it ever doesn't > the ipython team wants a bug report, so I am not sure what you mean by > 'used by "everyone"' here that these don't have.
Pedantically speaking, not everyone has Internet access, or even electricity, but you know that :-) More to the point, I think what Cecil might be trying to say is that he wants to rely only on the standard library. Many people in schools, or corporate environments, do not control what is on their computer and cannot just download regex and pypy (not if they want to keep their job). There may be processes to follow, forms to fill out, paperwork to file, approval to be gained, and sometimes in a culture which is perplexed by, if not actively hostile to, FOSS culture. ("What do you mean it's free? You mean its pirated?") For many of those people, they've already gone through the process to get Python and the standard library approved. It might be part of the school's SOE, or already installed on the corporate server, for example, so they can use the standard library easily enough, but nothing else. -- Steven -- https://mail.python.org/mailman/listinfo/python-list