From 2eb81864df476442c521908e1acad0e18853a21d Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Thu, 27 Apr 2017 14:16:57 -0700 Subject: [PATCH] Make all files comply with license-header policy --- hy/__init__.py | 21 ------------------ hy/__main__.py | 20 ----------------- hy/_compat.py | 24 +++----------------- hy/cmdline.py | 29 +++---------------------- hy/compiler.py | 27 +++-------------------- hy/completer.py | 29 +++---------------------- hy/contrib/botsbuildbots.hy | 22 +++---------------- hy/contrib/hy_repr.hy | 4 ++++ hy/contrib/loop.hy | 26 ++++------------------ hy/contrib/multi.hy | 23 +++----------------- hy/contrib/profile.hy | 25 ++++----------------- hy/contrib/sequences.hy | 23 +++----------------- hy/contrib/walk.hy | 23 +++----------------- hy/core/bootstrap.hy | 27 ++++------------------- hy/core/language.hy | 23 +++----------------- hy/core/macros.hy | 27 ++++------------------- hy/core/shadow.hy | 23 +++----------------- hy/errors.py | 24 +++----------------- hy/extra/anaphoric.hy | 27 ++++------------------- hy/extra/reserved.hy | 23 +++----------------- hy/importer.py | 23 +++----------------- hy/lex/__init__.py | 22 +++---------------- hy/lex/exceptions.py | 23 +++----------------- hy/lex/lexer.py | 22 +++---------------- hy/lex/parser.py | 22 +++---------------- hy/macros.py | 22 +++---------------- hy/models.py | 22 +++---------------- scripts/update-coreteam.hy | 4 ++++ setup.py | 22 +++---------------- tests/compilers/test_ast.py | 23 +++----------------- tests/compilers/test_compiler.py | 23 +++----------------- tests/importer/test_importer.py | 4 ++++ tests/importer/test_pyc.py | 4 ++++ tests/macros/test_macro_processor.py | 3 +++ tests/macros/test_sharp_macros.py | 4 ++++ tests/native_tests/cons.hy | 4 ++++ tests/native_tests/contrib/hy_repr.hy | 4 ++++ tests/native_tests/contrib/loop.hy | 4 ++++ tests/native_tests/contrib/multi.hy | 23 +++----------------- tests/native_tests/contrib/sequences.hy | 23 +++----------------- tests/native_tests/contrib/walk.hy | 4 ++++ tests/native_tests/core.hy | 23 +++----------------- tests/native_tests/defclass.hy | 4 ++++ tests/native_tests/extra/anaphoric.hy | 22 +++---------------- tests/native_tests/extra/reserved.hy | 4 ++++ tests/native_tests/language.hy | 4 ++++ tests/native_tests/mathematics.hy | 4 ++++ tests/native_tests/native_macros.hy | 4 ++++ tests/native_tests/operators.hy | 4 ++++ tests/native_tests/py3_only_tests.hy | 4 ++++ tests/native_tests/quote.hy | 4 ++++ tests/native_tests/sharp_macros.hy | 4 ++++ tests/native_tests/with_decorator.hy | 4 ++++ tests/native_tests/with_test.hy | 4 ++++ tests/resources/__init__.py | 2 -- tests/resources/argparse_ex.hy | 3 +++ tests/test_bin.py | 25 ++++----------------- tests/test_lex.py | 23 +++----------------- tests/test_models.py | 4 ++++ 59 files changed, 195 insertions(+), 726 deletions(-) diff --git a/hy/__init__.py b/hy/__init__.py index aa027da..a17ddbb 100644 --- a/hy/__init__.py +++ b/hy/__init__.py @@ -1,24 +1,3 @@ -# Copyright (c) 2013 Paul Tagliamonte -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - - __appname__ = 'hy' try: from hy.version import __version__ diff --git a/hy/__main__.py b/hy/__main__.py index ff1405c..8f180b4 100644 --- a/hy/__main__.py +++ b/hy/__main__.py @@ -1,23 +1,3 @@ -# Copyright (c) 2013 Paul Tagliamonte -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - import hy # NOQA import imp import sys diff --git a/hy/_compat.py b/hy/_compat.py index 217bf2e..6331771 100644 --- a/hy/_compat.py +++ b/hy/_compat.py @@ -1,24 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2013 Julien Danjou -# Copyright (c) 2013 Berker Peksag -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. try: import __builtin__ as builtins diff --git a/hy/cmdline.py b/hy/cmdline.py index beb84f7..71e4b2c 100644 --- a/hy/cmdline.py +++ b/hy/cmdline.py @@ -1,29 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2013 Gergely Nagy -# Copyright (c) 2013 James King -# Copyright (c) 2013 Julien Danjou -# Copyright (c) 2013 Konrad Hinsen -# Copyright (c) 2013 Thom Neale -# Copyright (c) 2013 Will Kahn-Greene -# Copyright (c) 2013 Bob Tolbert -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from __future__ import print_function diff --git a/hy/compiler.py b/hy/compiler.py index 130d3f3..a3028f6 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -1,28 +1,7 @@ # -*- encoding: utf-8 -*- -# -# Copyright (c) 2013, 2014 Paul Tagliamonte -# Copyright (c) 2013 Julien Danjou -# Copyright (c) 2013 Nicolas Dandrimont -# Copyright (c) 2013 James King -# Copyright (c) 2013, 2014 Bob Tolbert -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from hy.models import (HyObject, HyExpression, HyKeyword, HyInteger, HyComplex, HyString, HyBytes, HySymbol, HyFloat, HyList, HySet, diff --git a/hy/completer.py b/hy/completer.py index 830a61e..0a7faf1 100644 --- a/hy/completer.py +++ b/hy/completer.py @@ -1,29 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2013 Gergely Nagy -# Copyright (c) 2013 James King -# Copyright (c) 2013 Julien Danjou -# Copyright (c) 2013 Konrad Hinsen -# Copyright (c) 2013 Thom Neale -# Copyright (c) 2013 Will Kahn-Greene -# Copyright (c) 2013 Ralph Moritz -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. import contextlib import os diff --git a/hy/contrib/botsbuildbots.hy b/hy/contrib/botsbuildbots.hy index 1e96b66..b3b4aa9 100644 --- a/hy/contrib/botsbuildbots.hy +++ b/hy/contrib/botsbuildbots.hy @@ -1,22 +1,6 @@ -;; Copyright (c) 2014, 2015 Gergely Nagy - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (defn Botsbuildbots () (Botsbuildbots)) diff --git a/hy/contrib/hy_repr.hy b/hy/contrib/hy_repr.hy index e70a5a8..b528974 100644 --- a/hy/contrib/hy_repr.hy +++ b/hy/contrib/hy_repr.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy._compat [PY3 str-type bytes-type long-type]]) (import [hy.models [HyObject HyExpression HySymbol HyKeyword HyInteger HyList HyDict HySet HyString HyBytes]]) diff --git a/hy/contrib/loop.hy b/hy/contrib/loop.hy index 831bbb3..9ab9eb8 100644 --- a/hy/contrib/loop.hy +++ b/hy/contrib/loop.hy @@ -1,26 +1,8 @@ ;;; Hy tail-call optimization -;; -;; Copyright (c) 2014 Clinton Dreisbach -;; Copyright (c) 2014 Paul R. Tagliamonte -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;;; The loop/recur macro allows you to construct functions that use tail-call ;;; optimization to allow arbitrary levels of recursion. diff --git a/hy/contrib/multi.hy b/hy/contrib/multi.hy index 36beccc..639c96a 100644 --- a/hy/contrib/multi.hy +++ b/hy/contrib/multi.hy @@ -1,24 +1,7 @@ ;; Hy Arity-overloading -;; Copyright (c) 2014 Morten Linderud -;; Copyright (c) 2016 Tuukka Turto - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (import [collections [defaultdict]] [hy [HyExpression HyList HyString]]) diff --git a/hy/contrib/profile.hy b/hy/contrib/profile.hy index bb81824..afee3b0 100644 --- a/hy/contrib/profile.hy +++ b/hy/contrib/profile.hy @@ -1,25 +1,8 @@ ;;; Hy profiling macros -;; -;; Copyright (c) 2013 Paul R. Tagliamonte -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;;; These macros make debugging where bottlenecks exist easier. diff --git a/hy/contrib/sequences.hy b/hy/contrib/sequences.hy index f2f4ff3..7157b67 100644 --- a/hy/contrib/sequences.hy +++ b/hy/contrib/sequences.hy @@ -1,23 +1,6 @@ -;; Copyright (c) 2016 Tuukka Turto -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (defclass Sequence [] [--init-- (fn [self func] diff --git a/hy/contrib/walk.hy b/hy/contrib/walk.hy index a3811fe..48c5f33 100644 --- a/hy/contrib/walk.hy +++ b/hy/contrib/walk.hy @@ -1,24 +1,7 @@ ;;; Hy AST walker -;; -;; Copyright (c) 2014, 2015 Gergely Nagy -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (import [hy [HyExpression HyDict]] [functools [partial]]) diff --git a/hy/core/bootstrap.hy b/hy/core/bootstrap.hy index f33de9b..4ecb243 100644 --- a/hy/core/bootstrap.hy +++ b/hy/core/bootstrap.hy @@ -1,27 +1,8 @@ ;;; Hy bootstrap macros -;; -;; Copyright (c) 2013 Nicolas Dandrimont -;; Copyright (c) 2013 Paul Tagliamonte -;; Copyright (c) 2013 Konrad Hinsen -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;;; These macros are the essential hy macros. ;;; They are automatically required everywhere, even inside hy.core modules. diff --git a/hy/core/language.hy b/hy/core/language.hy index 06a2839..d498c45 100644 --- a/hy/core/language.hy +++ b/hy/core/language.hy @@ -1,23 +1,6 @@ -;; Copyright (c) 2013 Paul Tagliamonte -;; Copyright (c) 2013 Bob Tolbert - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. ;;;; This contains some of the core Hy functions used ;;;; to make functional programming slightly easier. diff --git a/hy/core/macros.hy b/hy/core/macros.hy index 7416753..c96feb1 100644 --- a/hy/core/macros.hy +++ b/hy/core/macros.hy @@ -1,27 +1,8 @@ ;;; Hy core macros -;; -;; Copyright (c) 2013 Nicolas Dandrimont -;; Copyright (c) 2013 Paul Tagliamonte -;; Copyright (c) 2013 Konrad Hinsen -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;;; These macros form the hy language ;;; They are automatically required in every module, except inside hy.core diff --git a/hy/core/shadow.hy b/hy/core/shadow.hy index f7d3466..c7771ee 100644 --- a/hy/core/shadow.hy +++ b/hy/core/shadow.hy @@ -1,23 +1,6 @@ -;; Copyright (c) 2014 Paul Tagliamonte -;; Copyright (c) 2014 James King - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. ;;;; Hy shadow functions diff --git a/hy/errors.py b/hy/errors.py index 34ef31c..6fb00fd 100644 --- a/hy/errors.py +++ b/hy/errors.py @@ -1,25 +1,7 @@ # -*- encoding: utf-8 -*- -# -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2013 Bob Tolbert -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. import traceback diff --git a/hy/extra/anaphoric.hy b/hy/extra/anaphoric.hy index 20c77fc..2772818 100644 --- a/hy/extra/anaphoric.hy +++ b/hy/extra/anaphoric.hy @@ -1,27 +1,8 @@ ;;; Hy anaphoric macros -;; -;; Copyright (c) 2013 James King -;; 2013 Paul R. Tagliamonte -;; 2013 Abhishek L -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;;; These macros make writing functional programs more concise diff --git a/hy/extra/reserved.hy b/hy/extra/reserved.hy index ab828a6..29d53b0 100644 --- a/hy/extra/reserved.hy +++ b/hy/extra/reserved.hy @@ -1,24 +1,7 @@ ;;; Get a frozenset of Hy reserved words -;; -;; Copyright (c) 2016 Paul Tagliamonte -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (import hy sys keyword) diff --git a/hy/importer.py b/hy/importer.py index f49129c..878e1be 100644 --- a/hy/importer.py +++ b/hy/importer.py @@ -1,23 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2013, 2014 Bob Tolbert -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from hy.compiler import hy_compile, HyTypeError from hy.models import HyObject, replace_hy_obj diff --git a/hy/lex/__init__.py b/hy/lex/__init__.py index 8a73d87..f7f6298 100644 --- a/hy/lex/__init__.py +++ b/hy/lex/__init__.py @@ -1,22 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from rply.errors import LexingError diff --git a/hy/lex/exceptions.py b/hy/lex/exceptions.py index 2ef5660..918fe36 100644 --- a/hy/lex/exceptions.py +++ b/hy/lex/exceptions.py @@ -1,23 +1,6 @@ -# Copyright (c) 2013 Nicolas Dandrimont -# Copyright (c) 2013 Bob Tolbert -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from hy.errors import HyError diff --git a/hy/lex/lexer.py b/hy/lex/lexer.py index 6d78d92..4039543 100644 --- a/hy/lex/lexer.py +++ b/hy/lex/lexer.py @@ -1,22 +1,6 @@ -# Copyright (c) 2013 Nicolas Dandrimont -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from rply import LexerGenerator diff --git a/hy/lex/parser.py b/hy/lex/parser.py index cf06c97..6e1aa09 100644 --- a/hy/lex/parser.py +++ b/hy/lex/parser.py @@ -1,22 +1,6 @@ -# Copyright (c) 2013 Nicolas Dandrimont -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from functools import wraps from ast import literal_eval diff --git a/hy/macros.py b/hy/macros.py index 261697b..84b192f 100644 --- a/hy/macros.py +++ b/hy/macros.py @@ -1,22 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from inspect import getargspec, formatargspec from hy.models import replace_hy_obj, wrap_value, HyExpression, HyString diff --git a/hy/models.py b/hy/models.py index d7c350a..412f5d1 100644 --- a/hy/models.py +++ b/hy/models.py @@ -1,22 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from __future__ import unicode_literals from hy._compat import PY3, str_type, bytes_type, long_type, string_types diff --git a/scripts/update-coreteam.hy b/scripts/update-coreteam.hy index e817aea..6e2d2ed 100644 --- a/scripts/update-coreteam.hy +++ b/scripts/update-coreteam.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;; You need to install the requests package first (import os.path) diff --git a/setup.py b/setup.py index 3011c9e..3f505f6 100755 --- a/setup.py +++ b/setup.py @@ -1,23 +1,7 @@ #!/usr/bin/env python -# Copyright (c) 2012, 2013 Paul Tagliamonte -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. import os import re diff --git a/tests/compilers/test_ast.py b/tests/compilers/test_ast.py index 906b252..f273874 100644 --- a/tests/compilers/test_ast.py +++ b/tests/compilers/test_ast.py @@ -1,23 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2013 Julien Danjou -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from __future__ import unicode_literals diff --git a/tests/compilers/test_compiler.py b/tests/compilers/test_compiler.py index a6253b4..90a1d2a 100644 --- a/tests/compilers/test_compiler.py +++ b/tests/compilers/test_compiler.py @@ -1,23 +1,6 @@ -# Copyright (c) 2013 Julien Danjou -# Copyright (c) 2013 Nicolas Dandrimont -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. import ast diff --git a/tests/importer/test_importer.py b/tests/importer/test_importer.py index d33cd1e..79b72da 100644 --- a/tests/importer/test_importer.py +++ b/tests/importer/test_importer.py @@ -1,3 +1,7 @@ +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. + from hy.importer import (import_file_to_module, import_buffer_to_ast, MetaLoader, get_bytecode_path) from hy.errors import HyTypeError diff --git a/tests/importer/test_pyc.py b/tests/importer/test_pyc.py index 1b61197..850861f 100644 --- a/tests/importer/test_pyc.py +++ b/tests/importer/test_pyc.py @@ -1,3 +1,7 @@ +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. + import os import imp import tempfile diff --git a/tests/macros/test_macro_processor.py b/tests/macros/test_macro_processor.py index 4d999bb..8efc8b8 100644 --- a/tests/macros/test_macro_processor.py +++ b/tests/macros/test_macro_processor.py @@ -1,3 +1,6 @@ +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from hy.macros import macro, macroexpand from hy.lex import tokenize diff --git a/tests/macros/test_sharp_macros.py b/tests/macros/test_sharp_macros.py index 5f26ed6..788de2c 100644 --- a/tests/macros/test_sharp_macros.py +++ b/tests/macros/test_sharp_macros.py @@ -1,3 +1,7 @@ +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. + from hy.macros import macroexpand from hy.compiler import HyTypeError, HyASTCompiler from hy.lex import tokenize diff --git a/tests/native_tests/cons.hy b/tests/native_tests/cons.hy index f5a1e6a..11da4a9 100644 --- a/tests/native_tests/cons.hy +++ b/tests/native_tests/cons.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (defmacro car [x] `(get ~x 0)) (defmacro cdr [x] `(cut ~x 1)) diff --git a/tests/native_tests/contrib/hy_repr.hy b/tests/native_tests/contrib/hy_repr.hy index 04dbce6..0a678b4 100644 --- a/tests/native_tests/contrib/hy_repr.hy +++ b/tests/native_tests/contrib/hy_repr.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy.contrib.hy-repr [hy-repr]]) diff --git a/tests/native_tests/contrib/loop.hy b/tests/native_tests/contrib/loop.hy index 3a8ac12..938d65f 100644 --- a/tests/native_tests/contrib/loop.hy +++ b/tests/native_tests/contrib/loop.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (require [hy.contrib.loop [loop]]) (import sys) diff --git a/tests/native_tests/contrib/multi.hy b/tests/native_tests/contrib/multi.hy index d9c2b62..90c85dc 100644 --- a/tests/native_tests/contrib/multi.hy +++ b/tests/native_tests/contrib/multi.hy @@ -1,23 +1,6 @@ -;; Copyright (c) 2014 Morten Linderud -;; Copyright (c) 2016 Tuukka Turto - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (require [hy.contrib.multi [defmulti defmethod default-method defn]]) diff --git a/tests/native_tests/contrib/sequences.hy b/tests/native_tests/contrib/sequences.hy index 50db5a8..a200cc7 100644 --- a/tests/native_tests/contrib/sequences.hy +++ b/tests/native_tests/contrib/sequences.hy @@ -1,23 +1,6 @@ -;; Copyright (c) 2016 Tuukka Turto -;; -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: -;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. -;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. -;; +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (require [hy.contrib.sequences [seq defseq]]) diff --git a/tests/native_tests/contrib/walk.hy b/tests/native_tests/contrib/walk.hy index 7abd520..d104c45 100644 --- a/tests/native_tests/contrib/walk.hy +++ b/tests/native_tests/contrib/walk.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy.contrib.walk [*]]) (def walk-form '(print {"foo" "bar" diff --git a/tests/native_tests/core.hy b/tests/native_tests/core.hy index 9ec0855..dcef6f8 100644 --- a/tests/native_tests/core.hy +++ b/tests/native_tests/core.hy @@ -1,23 +1,6 @@ -;; Copyright (c) 2013 Paul Tagliamonte -;; Copyright (c) 2013, 2014 Bob Tolbert - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (import [hy._compat [PY3]]) diff --git a/tests/native_tests/defclass.hy b/tests/native_tests/defclass.hy index 1819d6d..a138ff5 100644 --- a/tests/native_tests/defclass.hy +++ b/tests/native_tests/defclass.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (defn test-defclass [] "NATIVE: test defclass simple mechanism" (defclass A) diff --git a/tests/native_tests/extra/anaphoric.hy b/tests/native_tests/extra/anaphoric.hy index 0d2cbaf..d772029 100644 --- a/tests/native_tests/extra/anaphoric.hy +++ b/tests/native_tests/extra/anaphoric.hy @@ -1,22 +1,6 @@ -;; Copyright (c) 2013 James King - -;; Permission is hereby granted, free of charge, to any person obtaining a -;; copy of this software and associated documentation files (the "Software"), -;; to deal in the Software without restriction, including without limitation -;; the rights to use, copy, modify, merge, publish, distribute, sublicense, -;; and/or sell copies of the Software, and to permit persons to whom the -;; Software is furnished to do so, subject to the following conditions: - -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -;; DEALINGS IN THE SOFTWARE. +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (import [hy.errors [HyMacroExpansionError]]) (require [hy.extra.anaphoric [*]]) diff --git a/tests/native_tests/extra/reserved.hy b/tests/native_tests/extra/reserved.hy index 7990c6b..cff1db8 100644 --- a/tests/native_tests/extra/reserved.hy +++ b/tests/native_tests/extra/reserved.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy.extra.reserved [names]] [hy._compat [PY3]]) (defn test-reserved [] diff --git a/tests/native_tests/language.hy b/tests/native_tests/language.hy index fbf7ce4..3746747 100644 --- a/tests/native_tests/language.hy +++ b/tests/native_tests/language.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [tests.resources [kwtest function-with-a-dash]] [os.path [exists isdir isfile]] [sys :as systest] diff --git a/tests/native_tests/mathematics.hy b/tests/native_tests/mathematics.hy index dcca54e..83f39ab 100644 --- a/tests/native_tests/mathematics.hy +++ b/tests/native_tests/mathematics.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy._compat [PY35]]) (setv square (fn [x] diff --git a/tests/native_tests/native_macros.hy b/tests/native_tests/native_macros.hy index dd09595..6089f32 100644 --- a/tests/native_tests/native_macros.hy +++ b/tests/native_tests/native_macros.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy.errors [HyTypeError]]) (defmacro rev [&rest body] diff --git a/tests/native_tests/operators.hy b/tests/native_tests/operators.hy index 9ee5c12..b49c754 100644 --- a/tests/native_tests/operators.hy +++ b/tests/native_tests/operators.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import pytest [hy._compat [PY35]]) (defmacro op-and-shadow-test [op &rest body] diff --git a/tests/native_tests/py3_only_tests.hy b/tests/native_tests/py3_only_tests.hy index 365a4fe..bfd1d34 100644 --- a/tests/native_tests/py3_only_tests.hy +++ b/tests/native_tests/py3_only_tests.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + ;; Tests where the emitted code relies on Python 3. ;; conftest.py skips this file when running on Python 2. diff --git a/tests/native_tests/quote.hy b/tests/native_tests/quote.hy index 8cd6a07..32a11b9 100644 --- a/tests/native_tests/quote.hy +++ b/tests/native_tests/quote.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [hy [HyExpression HySymbol HyString HyBytes]]) diff --git a/tests/native_tests/sharp_macros.hy b/tests/native_tests/sharp_macros.hy index e5a9276..937bc80 100644 --- a/tests/native_tests/sharp_macros.hy +++ b/tests/native_tests/sharp_macros.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (import [functools [wraps]]) diff --git a/tests/native_tests/with_decorator.hy b/tests/native_tests/with_decorator.hy index 383e866..838241c 100644 --- a/tests/native_tests/with_decorator.hy +++ b/tests/native_tests/with_decorator.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (defn test-decorated-1line-function [] (defn foodec [func] (fn [] (+ (func) 1))) diff --git a/tests/native_tests/with_test.hy b/tests/native_tests/with_test.hy index fd9933e..0d52ff6 100644 --- a/tests/native_tests/with_test.hy +++ b/tests/native_tests/with_test.hy @@ -1,3 +1,7 @@ +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. + (defclass WithTest [object] (defn --init-- [self val] (setv self.val val) diff --git a/tests/resources/__init__.py b/tests/resources/__init__.py index bb532ec..164f075 100644 --- a/tests/resources/__init__.py +++ b/tests/resources/__init__.py @@ -1,5 +1,3 @@ - - def kwtest(*args, **kwargs): return kwargs diff --git a/tests/resources/argparse_ex.hy b/tests/resources/argparse_ex.hy index 82df479..d193bec 100755 --- a/tests/resources/argparse_ex.hy +++ b/tests/resources/argparse_ex.hy @@ -1,4 +1,7 @@ #!/usr/bin/env hy +;; Copyright 2017 the authors. +;; This file is part of Hy, which is free software licensed under the Expat +;; license. See the LICENSE. (import sys) (import argparse) diff --git a/tests/test_bin.py b/tests/test_bin.py index b0487eb..44cf37e 100644 --- a/tests/test_bin.py +++ b/tests/test_bin.py @@ -1,26 +1,9 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- -# Copyright (c) 2013 Julien Danjou -# Copyright (c) 2013 Will Kahn-Greene -# Copyright (c) 2014 Bob Tolbert -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. + import os import subprocess import re diff --git a/tests/test_lex.py b/tests/test_lex.py index 5c14e1a..1bfbd9f 100644 --- a/tests/test_lex.py +++ b/tests/test_lex.py @@ -1,23 +1,6 @@ -# Copyright (c) 2013 Paul Tagliamonte -# Copyright (c) 2014 Nicolas Dandrimont -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. from hy.models import (HyExpression, HyInteger, HyFloat, HyComplex, HySymbol, HyString, HyDict, HyList, HySet, HyCons) diff --git a/tests/test_models.py b/tests/test_models.py index 390f017..59ed809 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -1,3 +1,7 @@ +# Copyright 2017 the authors. +# This file is part of Hy, which is free software licensed under the Expat +# license. See the LICENSE. + from hy._compat import long_type, str_type from hy.models import (wrap_value, replace_hy_obj, HyString, HyInteger, HyList, HyDict, HySet, HyExpression, HyCons)