On Thursday, December 10, 2015 at 5:08:05 PM UTC+5:30, Chris Angelico wrote: > 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
ChrisA, Thanks for your quick response. I am using Windows and we are using 2.5.4 only. Is there any workaround? -- https://mail.python.org/mailman/listinfo/python-list