No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

python_pyconfigure.m4.patch_bugfix 689B

1234567891011121314
  1. --- /usr/share/pyconfigure/m4/python.m4 2016-04-27 05:19:12.000000000 +0200
  2. +++ python_pyconfigure.m4 2016-08-30 17:21:56.810623000 +0200
  3. @@ -475,7 +475,10 @@ except:
  4. else:
  5. can_use_sysconfig = True
  6. if can_use_sysconfig:
  7. - if python_implementation() == "CPython" and sys.version[[:3]] == '2.7':
  8. + # Can't use sysconfig in CPython > 3.0 in debian since it's broken :
  9. + # <https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092>
  10. + if python_implementation() == "CPython" (
  11. + float(sys.version[[:3]]) > 3.0 or sys.version[[:3]] == '2.7'):
  12. can_use_sysconfig = False
  13. if not can_use_sysconfig:
  14. from distutils import sysconfig