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 vstinner
Recipients amaury.forgeotdarc, brett.cannon, sjmachin, vstinner
Date 2009-01-05.02:01:47
SpamBayes Score 0.00071988604
Marked as misclassified No
Message-id <200901050302.20621.victor.stinner@haypocalc.com>
In-reply-to <1231120579.19.0.681538707816.issue4626@psf.upfronthosting.co.za>
Content
> With my patch, the first Brett's example displays:
>    ...
>        ” = '”'
>          ^
>    SyntaxError: invalid character in identifier
>
> The error cursor is not at the right column (bug related to the issue
> 2382 or introduced by my patch?).

I tried py3k_adjust_cursor_at_syntax_error_v2.patch (issue #2382) and the 
cursor is displayed at the right column:

   $ ./python com2.py
   Traceback (most recent call last):
     ...
     File "<test>", line 2
       ” = '”'
       ^

So it's not a new bug ;-)
History
Date User Action Args
2009-01-05 02:01:48vstinnersetrecipients: + vstinner, brett.cannon, sjmachin, amaury.forgeotdarc
2009-01-05 02:01:47vstinnerlinkissue4626 messages
2009-01-05 02:01:47vstinnercreate