<commit_before># Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

import ast
import os
import platform
import re
import sys

import llnl.util.tty as tty
from llnl.util.lang import match_predicate
from llnl.util.filesystem import (force_remove, get_filetype,
                                  path_contains_subdirectory)

import spack.store
import spack.util.spack_json as sjson
from spack.util.environment import is_system_path
from spack.util.prefix import Prefix
from spack import *


class Python(AutotoolsPackage):
    """The Python programming language."""

    homepage = "http://www.python.org"
    url = "http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz"
    list_url = "https://www.python.org/downloads/"
    list_depth = 1

    version('3.7.0', '41b6595deb4147a1ed517a7d9a580271')
    version('3.6.5', 'ab25d24b1f8cc4990ade979f6dc37883')
    version('3.6.4', '9de6494314ea199e3633211696735f65')
    version('3.6.3', 'e9180c69ed9a878a4a8a3ab221e32fa9')
    version('3.6.2', 'e1a36bfffdd1d3a780b1825daf16e56c')
    version('3.6.1', '2d0fc9f3a5940707590e07f03ecb08b9')
    version('3.6.0', '3f7062ccf8be76491884d0e47ac8b251')
    version('3.5.2', '3fe8434643a78630c61c6464fe2e7e72')
    version('3.5.1', 'be78e48cdfc1a7ad90efff146dce6cfe')<commit_msg>Add Python 3.7.2 updated (#10531)<commit_after># Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

import ast
import os
import platform
import re
import sys

import llnl.util.tty as tty
from llnl.util.lang import match_predicate
from llnl.util.filesystem import (force_remove, get_filetype,
                                  path_contains_subdirectory)

import spack.store
import spack.util.spack_json as sjson
from spack.util.environment import is_system_path
from spack.util.prefix import Prefix
from spack import *


class Python(AutotoolsPackage):
    """The Python programming language."""

    homepage = "http://www.python.org"
    url = "http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz"
    list_url = "https://www.python.org/downloads/"
    list_depth = 1

    version('3.7.2',  sha256='f09d83c773b9cc72421abba2c317e4e6e05d919f9bcf34468e192b6a6c8e328d')
    version('3.7.1',  sha256='36c1b81ac29d0f8341f727ef40864d99d8206897be96be73dc34d4739c9c9f06')
    version('3.7.0',  '41b6595deb4147a1ed517a7d9a580271')
    version('3.6.8',  sha256='7f5b1f08b3b0a595387ef6c64c85b1b13b38abef0dd871835ee923262e4f32f0')
    version('3.6.7',  sha256='b7c36f7ed8f7143b2c46153b7332db2227669f583ea0cce753facf549d1a4239')
    version('3.6.6',  sha256='7d56dadf6c7d92a238702389e80cfe66fbfae73e584189ed6f89c75bbf3eda58')
    version('3.6.5', 'ab25d24b1f8cc4990ade979f6dc37883')
    version('3.6.4', '9de6494314ea199e3633211696735f65')
    version('3.6.3', 'e9180c69ed9a878a4a8a3ab221e32fa9')
    version('3.6.2', 'e1a36bfffdd1d3a780b1825daf16e56c')
    version('3.6.1', '2d0fc9f3a5940707590e07f03ecb08b9')
    version('3.6.0', '3f7062ccf8be76491884d0e47ac8b251')
    version('3.5.2', '<PASSWORD>643a<PASSWORD>0c61c6<PASSWORD>2<PASSWORD>2')
    version('3.5.1', 'be78e48cdfc1a7ad90efff146dce6cfe')
{'fraction_non_alphanumeric': 0.1173134328358209, 'fraction_numerical': 0.19970149253731342, 'mean_word_length': 4.747855917667239, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4663875', 'n_tokens_mistral': 1706, 'n_tokens_neox': 1414, 'n_words': 207}