[issue5849] Idle 3.01 - invalid syntec error

2009-04-26 Thread R.D. floyd

New submission from R.D. floyd :

Recently upgraded to OS 10.5, Experienced Fortran, Basic, et. al.
programmer learning Python. IDLE 3.01 give invalid syntec error when
running program below. IDLE from MacPython 2.xx runs it ok!

--
components: IDLE
files: odbchelper.py
messages: 86609
nosy: r2d2floyd
severity: normal
status: open
title: Idle 3.01 - invalid syntec error
type: compile error
versions: Python 3.0
Added file: http://bugs.python.org/file13793/odbchelper.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5849] Idle 3.01 - invalid syntec error

2009-04-26 Thread Walter Dörwald

Walter Dörwald  added the comment:

This is not a bug in Python.

In Python 3.0 "print" is a function, so

   print buildConnectionString(myParams)

should read

   print(buildConnectionString(myParams))

Closing as invalid.

--
nosy: +doerwalter
resolution:  -> invalid
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com