mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Making sqlmap compatible with PyPy/PyPy3
This commit is contained in:
parent
da86486cd9
commit
c4c1571902
4 changed files with 7 additions and 3 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue