Function name limit in Python ?

2009-02-14 Thread Linuxguy123
Excuse my ignorance, but is there a limit to the size of function names in Python ? I named a function getSynclientVersion() and I got an error when I called it. I renamed the same function to getSCVersion() and it called fine. Why ? Thanks --

Re: Function name limit in Python ?

2009-02-14 Thread MRAB
Linuxguy123 wrote: Excuse my ignorance, but is there a limit to the size of function names in Python ? I named a function getSynclientVersion() and I got an error when I called it. I renamed the same function to getSCVersion() and it called fine. Why ? Probably a just spelling mistake.

Re: Function name limit in Python ?

2009-02-14 Thread Paul McGuire
On Feb 14, 8:45 am, Linuxguy123 linuxguy...@gmail.com wrote: Excuse my ignorance, but is there a limit to the size of function names in Python ? I named a function getSynclientVersion() and I got an error when I called it.  I renamed the same function to getSCVersion() and it called fine.

Re: Function name limit in Python ?

2009-02-14 Thread Albert Hopkins
On Sat, 2009-02-14 at 07:45 -0700, Linuxguy123 wrote: Excuse my ignorance, but is there a limit to the size of function names in Python ? I named a function getSynclientVersion() and I got an error when I called it. You forgot to paste the error. --

Re: Function name limit in Python ?

2009-02-14 Thread Steven D'Aprano
Linuxguy123 wrote: Excuse my ignorance, but is there a limit to the size of function names in Python ? I named a function getSynclientVersion() and I got an error when I called it. No no, don't tell us what error you got! I love guessing games. I'm guessing you got either a SyntaxError