Skip to content

Commit 881fed3

Browse files
committed
add pypy copyright headers
1 parent aca58c7 commit 881fed3

File tree

4 files changed

+94
-4
lines changed

4 files changed

+94
-4
lines changed

graalpython/lib-python/3/_md5.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1-
#!/usr/bin/env python
2-
# -*- coding: iso-8859-1 -*-
1+
# coding=utf-8
2+
# Copyright (c) 2017, 2018, Oracle and/or its affiliates.
3+
# Copyright (c) 2017, The PyPy Project
4+
#
5+
# The MIT License
6+
# Permission is hereby granted, free of charge, to any person
7+
# obtaining a copy of this software and associated documentation
8+
# files (the "Software"), to deal in the Software without
9+
# restriction, including without limitation the rights to use,
10+
# copy, modify, merge, publish, distribute, sublicense, and/or
11+
# sell copies of the Software, and to permit persons to whom the
12+
# Software is furnished to do so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included
15+
# in all copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
# DEALINGS IN THE SOFTWARE.
324

425
# Note that PyPy contains also a built-in module 'md5' which will hide
526
# this one if compiled in.

graalpython/lib-python/3/_sha1.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1-
#!/usr/bin/env python
2-
# -*- coding: iso-8859-1 -*-
1+
# coding=utf-8
2+
# Copyright (c) 2017, 2018, Oracle and/or its affiliates.
3+
# Copyright (c) 2017, The PyPy Project
4+
#
5+
# The MIT License
6+
# Permission is hereby granted, free of charge, to any person
7+
# obtaining a copy of this software and associated documentation
8+
# files (the "Software"), to deal in the Software without
9+
# restriction, including without limitation the rights to use,
10+
# copy, modify, merge, publish, distribute, sublicense, and/or
11+
# sell copies of the Software, and to permit persons to whom the
12+
# Software is furnished to do so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included
15+
# in all copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
# DEALINGS IN THE SOFTWARE.
324

425
# Note that PyPy contains also a built-in module 'sha' which will hide
526
# this one if compiled in.

graalpython/lib-python/3/_sha256.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# coding=utf-8
2+
# Copyright (c) 2017, 2018, Oracle and/or its affiliates.
3+
# Copyright (c) 2017, The PyPy Project
4+
#
5+
# The MIT License
6+
# Permission is hereby granted, free of charge, to any person
7+
# obtaining a copy of this software and associated documentation
8+
# files (the "Software"), to deal in the Software without
9+
# restriction, including without limitation the rights to use,
10+
# copy, modify, merge, publish, distribute, sublicense, and/or
11+
# sell copies of the Software, and to permit persons to whom the
12+
# Software is furnished to do so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included
15+
# in all copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
# DEALINGS IN THE SOFTWARE.
24+
125
SHA_BLOCKSIZE = 64
226
SHA_DIGESTSIZE = 32
327

graalpython/lib-python/3/_sha512.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# coding=utf-8
2+
# Copyright (c) 2017, 2018, Oracle and/or its affiliates.
3+
# Copyright (c) 2017, The PyPy Project
4+
#
5+
# The MIT License
6+
# Permission is hereby granted, free of charge, to any person
7+
# obtaining a copy of this software and associated documentation
8+
# files (the "Software"), to deal in the Software without
9+
# restriction, including without limitation the rights to use,
10+
# copy, modify, merge, publish, distribute, sublicense, and/or
11+
# sell copies of the Software, and to permit persons to whom the
12+
# Software is furnished to do so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included
15+
# in all copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
# DEALINGS IN THE SOFTWARE.
24+
125
"""
226
This code was Ported from CPython's sha512module.c
327
"""

0 commit comments

Comments
 (0)