[Python-Dev] readd u'' literal support in 3.3?

"Martin v. Löwis" martin at v.loewis.de
Sun Dec 11 23:50:50 CET 2011


Am 09.12.2011 11:17, schrieb Nick Coghlan:
> On Fri, Dec 9, 2011 at 8:03 PM, Terry Reedy <tjreedy at udel.edu> wrote:
>> On 12/8/2011 8:39 PM, Vinay Sajip wrote:
>>> on an
>>>
>>> entire codebase (for example, using setup.py with flags to run 2to3
>>> during setup).
>>
>>
>> Oh. That explains the 'slow' complaint.
> 
> As Chris pointed out though, the real problem with the "repeatedly run
> 2to3" workflow is that it can make interpreting tracebacks from the
> field *really* hard.

It's hard, but not *really* hard. In most cases, the line numbers
in the 2to3 result are exactly the same as in the original, and if
not, the quoted source in the traceback will give you enough context
to find the source line of the problem.

Regards,
Martin


More information about the Python-Dev mailing list