[issue9059] Backwards compatibility

2010-06-27 Thread Georg Brandl
Georg Brandl added the comment: Please, do not feed the trolls. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mai

[issue9059] Backwards compatibility

2010-06-23 Thread Ezio Melotti
Ezio Melotti added the comment: Python 2 is also forward compatible with several Python 3 features, for example: >>> from __future__ import print_function >>> print('foo') foo -- components: -Regular Expressions nosy: +ezio.melotti stage: -> committed/rejected __

[issue9059] Backwards compatibility

2010-06-23 Thread STINNER Victor
STINNER Victor added the comment: > Code written for Python during version 2 cannot be > used/compiled in version 3 Use 2to3 script to convert your Python2 program to Python3. More information at: http://docs.python.org/py3k/whatsnew/3.0.html#porting-to-python-3-0 -- nosy: +haypo ___

[issue9059] Backwards compatibility

2010-06-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: as stated in http://www.python.org/download/releases/3.1.2/ python 3 is designed to be backwards incompatible. I suggest you to follow the link "Conversion tool for Python 2.x code". -- nosy: +amaury.forgeotdarc resolution: -> invalid status: op

[issue9059] Backwards compatibility

2010-06-23 Thread Raven Demeyer
New submission from Raven Demeyer : Python 3 is not backwards compatible with Python 2. Example: Python 2: print 'foo' Python 3: print(bar) Problem: Code written for Python during version 2 cannot be used/compiled in version 3 Solution: Just like any decent self-respecting programming language