kmonsoor / pyfilesystem

Automatically exported from code.google.com/p/pyfilesystem
0 stars 0 forks source link

Recursion error with SFTPFS.__str__() #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Instanciate an SFTPFS
2.call my_sftpfs.__str__()

In [8]:  SFTPFS("localhost",username="dmarkey", password="x").__str__()

   172 
    173     def __repr__(self):
--> 174         return self.__str__()
    175 
    176     def __del__(self):

RuntimeError: maximum recursion depth exceeded

Original issue reported on code.google.com by ad...@dmarkey.com on 8 May 2012 at 4:25

GoogleCodeExporter commented 9 years ago
This is on trunk BTW

Original comment by ad...@dmarkey.com on 9 May 2012 at 1:21

GoogleCodeExporter commented 9 years ago
Have you still got this problem? I just tried to reproduce it and it printed:
'<fs.sftpfs.SFTPFS object at 0x16b1610>'

Original comment by gc...@loowis.durge.org on 16 Aug 2012 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by willmcgugan on 10 Sep 2013 at 8:51