Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pandas/compat/_constants.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1""" 

2_constants 

3====== 

4 

5Constants relevant for the Python implementation. 

6""" 

7 

8from __future__ import annotations 

9 

10import platform 

11import sys 

12 

13IS64 = sys.maxsize > 2**32 

14 

15PY39 = sys.version_info >= (3, 9) 

16PY310 = sys.version_info >= (3, 10) 

17PY311 = sys.version_info >= (3, 11) 

18PYPY = platform.python_implementation() == "PyPy" 

19 

20 

21__all__ = [ 

22 "IS64", 

23 "PY39", 

24 "PY310", 

25 "PY311", 

26 "PYPY", 

27]