import sys


if sys.version_info < (3, 8):
    try:
        import pickle5 as pickle  # noqa: F401
        from pickle5 import Pickler  # noqa: F401
    except ImportError:
        import pickle  # noqa: F401
        from pickle import _Pickler as Pickler  # noqa: F401
else:
    import pickle  # noqa: F401
    from _pickle import Pickler  # noqa: F401

import sys


if sys.version_info < (3, 8):
    # NOTE: pickle5 is disabled due to problems in testing.
    # try:
    #     import pickle5 as pickle  # noqa: F401
    #     from pickle5 import Pickler  # noqa: F401
    # except ImportError:
    import pickle  # noqa: F401
    from pickle import _Pickler as Pickler  # noqa: F401
else:
    import pickle  # noqa: F401
    from _pickle import Pickler  # noqa: F401

Disable pickle5 use in cloudpickle
Disable pickle5 use in cloudpickle

  import sys
  
  
  if sys.version_info < (3, 8):
+     # NOTE: pickle5 is disabled due to problems in testing.
-     try:
+     # try:
-         import pickle5 as pickle  # noqa: F401
+     #     import pickle5 as pickle  # noqa: F401
-         from pickle5 import Pickler  # noqa: F401
+     #     from pickle5 import Pickler  # noqa: F401
-     except ImportError:
+     # except ImportError:
-         import pickle  # noqa: F401
+     import pickle  # noqa: F401
-         from pickle import _Pickler as Pickler  # noqa: F401
+     from pickle import _Pickler as Pickler  # noqa: F401
  else:
      import pickle  # noqa: F401
      from _pickle import Pickler  # noqa: F401
  
Disable pickle5 use in cloudpickle
## Code Before:
import sys


if sys.version_info < (3, 8):
    try:
        import pickle5 as pickle  # noqa: F401
        from pickle5 import Pickler  # noqa: F401
    except ImportError:
        import pickle  # noqa: F401
        from pickle import _Pickler as Pickler  # noqa: F401
else:
    import pickle  # noqa: F401
    from _pickle import Pickler  # noqa: F401

## Instruction:
Disable pickle5 use in cloudpickle
## Code After:
import sys


if sys.version_info < (3, 8):
    # NOTE: pickle5 is disabled due to problems in testing.
    # try:
    #     import pickle5 as pickle  # noqa: F401
    #     from pickle5 import Pickler  # noqa: F401
    # except ImportError:
    import pickle  # noqa: F401
    from pickle import _Pickler as Pickler  # noqa: F401
else:
    import pickle  # noqa: F401
    from _pickle import Pickler  # noqa: F401
