คำถามติดแท็ก depth

1
Python: เกินความลึกของการเรียกซ้ำสูงสุด
ฉันมีรหัสการเรียกซ้ำต่อไปนี้ในแต่ละโหนดฉันเรียกแบบสอบถาม sql เพื่อให้โหนดเป็นของโหนดหลัก นี่คือข้อผิดพลาด: Exception RuntimeError: 'maximum recursion depth exceeded' in <bound method DictCursor.__del__ of <MySQLdb.cursors.DictCursor object at 0x879768c>> ignored RuntimeError: maximum recursion depth exceeded while calling a Python object Exception AttributeError: "'DictCursor' object has no attribute 'connection'" in <bound method DictCursor.__del__ of <MySQLdb.cursors.DictCursor object at 0x879776c>> ignored วิธีที่ฉันเรียกเพื่อรับผลลัพธ์ sql: …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.