Terry J. Reedy added the comment:

Attached is the 3.4 patch as pushed. The main 'invisible' change, other than 
the review comment, was to create the code string just once.

I discovered that the earlier version had a bug in saying 'ok' to the 3.x 
HyperParser bug of no longer recognizing 'False', etc, as identifiers due to 
being made keywords. The buggy test properly failed on 2.7. I did the easy fix 
and split the bad test into two.

Since the 2.7 and 3.x versions of HyperParser were identical before the fix, 
the 3.x version must also not recognize the new ... Ellipsis literal. Tal, do 
you think doing so would be sensibly possible? (IE, would it be worth a new 
issue?)
  ...
  x = ...
  print(...)
are all legal 3.x expressions.

----------
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
Added file: http://bugs.python.org/file35661/test-hp-34-push.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21686>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to