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 jimjjewett
Recipients akuchling, amaury.forgeotdarc, jimjjewett, timehorse
Date 2008-04-24.18:09:24
SpamBayes Score 0.0046311077
Marked as misclassified No
Message-id <1209060566.4.0.565320166669.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
Python 2.6 isn't the last, but Guido has said that there won't be a 2.10.

> Match object is a C-struct with python binding
> and I'm not exactly sure how to add either feature to it

I may be misunderstanding -- isn't this just a matter of writing the 
function and setting it in the tp_as_sequence and tp_as_mapping slots?

> Larry Wall and Guido agreed long ago that we, the python
> community, own all expressions of the form (?P...)

Cool -- that reference should probably be added to the docs.  For someone 
trying to learn or translate regular expressions, it helps to know that (?P
 ...) is explicitly a python extension (even if Perl adopts it later).

Definately put the example in the doc.  

    r'He(?# 2 (TWO) ls)llo' should match "Hello" but it doesn't.  Maybe 
even without the change, as doco on the current situation.

Does VERBOSE really have to be the first flag, or does it just have to be on 
the whole pattern instead of an internal switch?

I'm not sure I fully understand what you said about template.  Is this a 
special undocumented switch, or just an internal optimization mode that 
should be triggered whenever the repeat operators don't happen to occur?
History
Date User Action Args
2008-04-24 18:09:27jimjjewettsetspambayes_score: 0.00463111 -> 0.0046311077
recipients: + jimjjewett, akuchling, amaury.forgeotdarc, timehorse
2008-04-24 18:09:26jimjjewettsetspambayes_score: 0.00463111 -> 0.00463111
messageid: <1209060566.4.0.565320166669.issue2636@psf.upfronthosting.co.za>
2008-04-24 18:09:25jimjjewettlinkissue2636 messages
2008-04-24 18:09:24jimjjewettcreate