On Thu, Dec 10, 2015 at 10:29 PM, Palpandi <palpandi...@gmail.com> wrote: > Hi All, > > I am getting the error mentioned below in python 2.5.4. > > SystemError: \loewis\25\python\Objects\longobject.c:225: bad argument to > internal function. > > I also ran the same code in python 2.7. > There I am not getting this error. > > I don't know which causes this error. Any solution for this? > > Note: The error is coming from the method call findall(path). >
Interesting! What platform (OS, etc) are you running this on? Python 2.5 isn't supported any more, so you might have to talk to Red Hat or someone. Alternatively, given that 2.7 doesn't have this problem, can you simply write it off as an issue with the older Python, and use 2.7 instead? ChrisA -- https://mail.python.org/mailman/listinfo/python-list