Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread Greg Ewing
Guido van Rossum wrote: From this I understand that when using e.g. findall() it forces successive matches to be adjacent. Seems to me this would be better addressed using an option to findall() rather than being part of the regex. That would avoid the issue of where to keep the state. -- Greg

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread Nick Coghlan
On 29 October 2017 at 09:31, MRAB wrote: > On 2017-10-28 22:05, Guido van Rossum wrote: > >> I don't condone having two different regex implementations/APIs bundled >> in any form, even if one were to be deprecated -- we'd never get rid of the >> deprecated one until 4.0. (FWIW I don't condone th

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread MRAB
On 2017-10-29 00:48, Steven D'Aprano wrote: On Sun, Oct 29, 2017 at 12:31:01AM +0100, MRAB wrote: Not that I'm planning on making any further additions, just bug fixes and updates to follow the Unicode updates. I think I've crammed enough into it already. There's only so much you can do with t

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread Peter Ludemann via Python-Dev
On 28 October 2017 at 16:48, Steven D'Aprano wrote: > On Sun, Oct 29, 2017 at 12:31:01AM +0100, MRAB wrote: > > > Not that I'm planning on making any further additions, just bug fixes > > and updates to follow the Unicode updates. I think I've crammed enough > > into it already. There's only so m

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread Steven D'Aprano
On Sun, Oct 29, 2017 at 12:31:01AM +0100, MRAB wrote: > Not that I'm planning on making any further additions, just bug fixes > and updates to follow the Unicode updates. I think I've crammed enough > into it already. There's only so much you can do with the regex syntax > with its handful of m

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread MRAB
On 2017-10-28 22:05, Guido van Rossum wrote: On Sat, Oct 28, 2017 at 12:09 AM, Nick Coghlan > wrote: On 28 October 2017 at 01:57, Guido van Rossum mailto:gu...@python.org>> wrote: Oh. Yes, that is being discussed about once a year two. It seems Mat

Re: [Python-Dev] PEP 530

2017-10-28 Thread Terry Reedy
On 10/27/2017 4:43 PM, London wrote: can you help me get idol for my computer Post questions about using python on python-list and include information about what OS you are running and what version of Python you want. -- Terry Jan Reedy ___ Python

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread Guido van Rossum
On Sat, Oct 28, 2017 at 12:09 AM, Nick Coghlan wrote: > On 28 October 2017 at 01:57, Guido van Rossum wrote: > >> Oh. Yes, that is being discussed about once a year two. It seems Matthew >> isn't very interested in helping out with the port, and there are some >> concerns about backwards compati

[Python-Dev] PEP 530

2017-10-28 Thread London
can you help me get idol for my computer ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] If aligned_alloc() is missing on your platform, please let us know.

2017-10-28 Thread Stefan Krah
On Sat, Oct 28, 2017 at 03:43:47PM +1000, Nick Coghlan wrote: > 1. CPython's own support for platforms where we don't have a native aligned > memory allocation API to call is covered by PEP 11, so if all current > buildbots still work, then it will be up to the folks interested in a > platform that

Re: [Python-Dev] PEP 564: Add new time functions with nanosecond resolution

2017-10-28 Thread francismb
Hi David, On 10/22/2017 07:30 PM, David Mertz wrote: > The 'time' module is about > wall clock out calendar time, not about *simulation time*. means that the other scale direction makes more sense for the module? aka 'get_time('us'), get_time('ms'), 'get_time('s') Thanks, --francis __

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-28 Thread Nick Coghlan
On 28 October 2017 at 01:57, Guido van Rossum wrote: > Oh. Yes, that is being discussed about once a year two. It seems Matthew > isn't very interested in helping out with the port, and there are some > concerns about backwards compatibility with the `re` module. I think it > needs a champion! >