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 jdwhitley
Recipients georg.brandl, jdwhitley, k0wax, mrabarnett, rhettinger, steven.daprano
Date 2009-03-15.05:58:25
SpamBayes Score 8.6986285e-10
Marked as misclassified No
Message-id <1237096712.69.0.0804538659925.issue1714448@psf.upfronthosting.co.za>
In-reply-to
Content
> Matthew suggested ~= instead of -> or "as".

Try the patch, you can make changes (for those that aren't aware) 
by changing the token in Grammar/Grammar to whatever you wish. It is easy
to do and you need only recompile after this step. 

example:

    assexp: xor_expr ['->' xor_expr] 

could become

    assexp: xor_expr ['magic' xor_expr]


    >>> 'hello' magic words
    'hello'
    >>> words
    'hello'


Note that Mr Barnett may need to look at other fixes to get
his '~=' idea off the ground (tokenizer.c and specifically adding a new
token)

I've recommended that we close this issue.

Cheers,

Jervis
History
Date User Action Args
2009-03-15 05:58:34jdwhitleysetrecipients: + jdwhitley, georg.brandl, rhettinger, k0wax, mrabarnett, steven.daprano
2009-03-15 05:58:32jdwhitleysetmessageid: <1237096712.69.0.0804538659925.issue1714448@psf.upfronthosting.co.za>
2009-03-15 05:58:29jdwhitleylinkissue1714448 messages
2009-03-15 05:58:27jdwhitleycreate