mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Making sqlmap compatible with PyPy/PyPy3
This commit is contained in:
@@ -22,7 +22,10 @@ from lib.core.exception import SqlmapSystemException
|
||||
from lib.core.settings import BIGARRAY_CHUNK_SIZE
|
||||
from lib.core.settings import BIGARRAY_COMPRESS_LEVEL
|
||||
|
||||
DEFAULT_SIZE_OF = sys.getsizeof(object())
|
||||
try:
|
||||
DEFAULT_SIZE_OF = sys.getsizeof(object())
|
||||
except TypeError:
|
||||
DEFAULT_SIZE_OF = 16
|
||||
|
||||
def _size_of(instance):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user