[New-bugs-announce] [issue3000] 2to3 doesn't handle print(whatever); print nor string.* functions

Mark Summerfield report at bugs.python.org
Thu May 29 16:21:31 CEST 2008


New submission from Mark Summerfield <mark at qtrac.eu>:

Py30a5

2to3 currently does not cope correctly with this:

    print whatever; print

which it converts to:

    print(whatever); print

This is a subtle error since "print" on its own is valid.

Nor does it replace the deprecated string functions,
string.capitalize(), string.count(), string.join(), string.lower(),
string.replace(), string.split(), and string.strip().

----------
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 67493
nosy: collinwinter, mark
severity: normal
status: open
title: 2to3 doesn't handle print(whatever); print nor string.* functions
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3000>
_______________________________________


More information about the New-bugs-announce mailing list