On Jul 27, 5:34 pm, MRAB wrote:
> Hi all,
>
> I've been working on a new implementation of the re module. The details
> are athttp://bugs.python.org/issue2636, specifically
> fromhttp://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
> Python 2.6 on Windows if you want to try it
John Machin wrote:
On Jul 28, 2:34 am, MRAB wrote:
Hi all,
I've been working on a new implementation of the re module. The details
are athttp://bugs.python.org/issue2636, specifically
fromhttp://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
Python 2.6 on Windows if you wan
On Jul 28, 2:34 am, MRAB wrote:
> Hi all,
>
> I've been working on a new implementation of the re module. The details
> are athttp://bugs.python.org/issue2636, specifically
> fromhttp://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
> Python 2.6 on Windows if you want to try it
Piet van Oostrum wrote:
MRAB (M) wrote:
M> Hi all,
M> I've been working on a new implementation of the re module. The details
M> are at http://bugs.python.org/issue2636, specifically from
M> http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
M> Python 2.6 on Windows if y
Wolfgang Rohdewald wrote:
On Thursday 30 July 2009, Wolfgang Rohdewald wrote:
so I did the conversion mentioned there. This works:
I actually do not know if it works - but it compiles.
Yes, it works. I've updated my code accordingly and it'll be in the next
release.
--
http://mail.python.org
MRAB writes:
> So it complains about:
>
> ++(RE_CHAR*)context->text_ptr
>
> but not about:
>
> ++info->repeat.count
>
> Does this mean that the gcc compiler thinks that the cast makes it an
> rvalue?
The cast operator does return an rvalue, treating it otherwise used to
be an extension t
> MRAB (M) wrote:
>M> Hi all,
>M> I've been working on a new implementation of the re module. The details
>M> are at http://bugs.python.org/issue2636, specifically from
>M> http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
>M> Python 2.6 on Windows if you want to try it
On Thursday 30 July 2009, Wolfgang Rohdewald wrote:
> so I did the conversion mentioned there. This works:
I actually do not know if it works - but it compiles.
--
Wolfgang
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday 30 July 2009, MRAB wrote:
> So it complains about:
>
> ++(RE_CHAR*)context->text_ptr
>
> but not about:
>
> ++info->repeat.count
>
> Does this mean that the gcc compiler thinks that the cast makes it
> an rvalue? I'm using Visual C++ 2008 Express Edition, which doesn't
> compl
Wolfgang Rohdewald wrote:
On Thursday 30 July 2009, MRAB wrote:
There are other lines which are similar, eg line 1487. Do they all
give the same/similar error with your compiler?
yes. The full output with gcc-4.3:
notebook:~/kmj/src$ LANG=C python setup.py build
running build
running build_
On Thursday 30 July 2009, MRAB wrote:
> There are other lines which are similar, eg line 1487. Do they all
> give the same/similar error with your compiler?
yes. The full output with gcc-4.3:
notebook:~/kmj/src$ LANG=C python setup.py build
running build
running build_py
running build_ext
build
Wolfgang Rohdewald wrote:
On Tuesday 28 July 2009, Christopher Arndt wrote:
setup(name='regex',
version='1.0',
py_modules = ['regex'],
ext_modules=[Extension('_regex', ['_regex.c'])],
)
Also, you need to copy "unicodedata_db.h" from the "Modules"
directory of the Python source tree
On Tuesday 28 July 2009, Christopher Arndt wrote:
> setup(name='regex',
> version='1.0',
> py_modules = ['regex'],
> ext_modules=[Extension('_regex', ['_regex.c'])],
> )
>
> Also, you need to copy "unicodedata_db.h" from the "Modules"
> directory of the Python source tree to your workin
On Jul 29, 10:45 am, MRAB wrote:
> Mike wrote:
> > - findall/finditer doesn't find overlapping matches. Sometimes you
> > really *do* want to know all possible matches, even if they overlap.
>
> Perhaps by adding "overlapped=True"?
Something like that would be great, yes.
> > - split won't spl
Mike wrote:
On Jul 27, 11:34 am, MRAB wrote:
I've been working on a new implementation of the re module.
Fabulous!
If you're extending/changing the interface, there are a couple of sore
points in the current implementation I'd love to see addressed:
- findall/finditer doesn't find overlappi
On Jul 27, 11:34 am, MRAB wrote:
> I've been working on a new implementation of the re module.
Fabulous!
If you're extending/changing the interface, there are a couple of sore
points in the current implementation I'd love to see addressed:
- findall/finditer doesn't find overlapping matches. S
William Dode wrote:
On 28-07-2009, MRAB wrote:
With the official Python 2.6 distribution for Mac OS X it works.
The source code is intended to replace the current 're' module in Python
2.7 (and I'll be porting it to Python 3.2), so I'm not that worried
about Python versions earlier than 2.6 for
MRAB wrote:
Hi all,
I've been working on a new implementation of the re module. The details
are at http://bugs.python.org/issue2636, specifically from
http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
Python 2.6 on Windows if you want to try it out.
I'm interested in how
In article ,
MRAB wrote:
>Aahz wrote:
>> In article ,
>> MRAB wrote:
>>> I've been working on a new implementation of the re module. The details
>>> are at http://bugs.python.org/issue2636, specifically from
>>> http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
>>> Python
On 28-07-2009, MRAB wrote:
> With the official Python 2.6 distribution for Mac OS X it works.
>>
> The source code is intended to replace the current 're' module in Python
> 2.7 (and I'll be porting it to Python 3.2), so I'm not that worried
> about Python versions earlier than 2.6 for testing, a
Christopher Arndt wrote:
On 27 Jul., 21:27, Wolfgang Rohdewald wrote:
how do I compile _regex.c on Linux?
This simple setup.py file should do the trick:
from distutils.core import setup, Extension
setup(name='regex',
version='1.0',
py_modules = ['regex'],
ext_modules=[Extension(
On 27 Jul., 21:27, Wolfgang Rohdewald wrote:
> how do I compile _regex.c on Linux?
This simple setup.py file should do the trick:
from distutils.core import setup, Extension
setup(name='regex',
version='1.0',
py_modules = ['regex'],
ext_modules=[Extension('_regex', ['_regex.c'])],
)
Aahz wrote:
In article ,
MRAB wrote:
I've been working on a new implementation of the re module. The details
are at http://bugs.python.org/issue2636, specifically from
http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
Python 2.6 on Windows if you want to try it out.
Ho
MRAB wrote:
> http://bugs.python.org/issue2636#msg90954
Variable-length lookbehind! My hero!
--
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
--
http://mail.python.org/ma
In article ,
MRAB wrote:
>
>I've been working on a new implementation of the re module. The details
>are at http://bugs.python.org/issue2636, specifically from
>http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
>Python 2.6 on Windows if you want to try it out.
How does it
William Dode wrote:
On 27-07-2009, MRAB wrote:
Hi all,
I've been working on a new implementation of the re module. The details
are at http://bugs.python.org/issue2636, specifically from
http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
Python 2.6 on Windows if you want to
On Monday 27 July 2009, MRAB wrote:
> I've been working on a new implementation of the re module. The
> details are at http://bugs.python.org/issue2636, specifically from
> http://bugs.python.org/issue2636#msg90954. I've included a .pyd
> file for Python 2.6 on Windows if you want to try it out.
h
On 27-07-2009, MRAB wrote:
> Hi all,
>
> I've been working on a new implementation of the re module. The details
> are at http://bugs.python.org/issue2636, specifically from
> http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
> Python 2.6 on Windows if you want to try it out.
Hi all,
I've been working on a new implementation of the re module. The details
are at http://bugs.python.org/issue2636, specifically from
http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
Python 2.6 on Windows if you want to try it out.
I'm interested in how fast it is ge
29 matches
Mail list logo