[New-bugs-announce] [issue4559] Whats new recommendation error

Lennart Regebro report at bugs.python.org
Sat Dec 6 10:55:20 CET 2008

New submission from Lennart Regebro <regebro at gmail.com>:

The whatsnew/3.0.rst document claims

"It is not recommended to try to write source code that runs unchanged
under both Python 2.6 and 3.0; you’d have to use a very contorted coding
style, e.g. avoiding print statements, metaclasses, and much more. "

This is no longer true, since 2.6 now has much backwards compatibility,
including fopr print statements and unicode, so it's prefectly possible
and not at all contorted to support both any longer.

I'd recommend that the above statement is changed to "under both Python
2.5 and 3.0" or simply removed.

assignee: georg.brandl
components: Documentation
messages: 77108
nosy: georg.brandl, lregebro
severity: normal
status: open
title: Whats new recommendation error
versions: Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list