[issue8878] IDLE - str(integer) - TypeError: 'str' object is not callable

2010-06-02 Thread Neil Crouch
New submission from Neil Crouch neil.cro...@tradingtechnologies.com: Unable to convert int to str in idle but from the cmd python prompt it work sfine. -- components: IDLE files: IDLE_err.txt messages: 106887 nosy: Stranger381 priority: normal severity: normal status: open title: IDLE

[issue8878] IDLE - str(integer) - TypeError: 'str' object is not callable

2010-06-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You probably did str = '4bf3e914' at some point and overridden str. -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker

[issue8878] IDLE - str(integer) - TypeError: 'str' object is not callable

2010-06-02 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The code you show works fine for me. The error you're seeing is almost certainly the result of inadvertently using 'str' as a variable name earlier in the IDLE session: Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple