From: Daniele Varrazzo Date: Sun, 17 Jan 2021 06:49:38 +0000 (+0100) Subject: Copyright year bumped X-Git-Tag: 3.0.dev0~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1893ed6e01cbd4bd3b8c14407c8943b5327b2a6c;p=thirdparty%2Fpsycopg.git Copyright year bumped egg-info dirs ignored from the root gitignore file to help ag to skpt them. Command used: ag -l copyright | xargs sed -i "s/\(.*copyright[^0-9]*\)\([0-9]\+\)\(-[0-9]\+\)\?\(.*Psycopg.*\)/\1\2-$(date +%Y)\4/I" --- diff --git a/.gitignore b/.gitignore index ce3d2e051..2eec3babe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/*.egg-info/ +*.egg-info/ .tox /.eggs/ /build diff --git a/docs/conf.py b/docs/conf.py index e5e1b0de2..7060245a9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ sys.path.append(str(docs_dir / "lib")) # -- Project information ----------------------------------------------------- project = "psycopg3" -copyright = "2020, Daniele Varrazzo and The Psycopg Team" +copyright = "2020-2021, Daniele Varrazzo and The Psycopg Team" author = "Daniele Varrazzo" release = "UNRELEASED" diff --git a/docs/lib/libpq_docs.py b/docs/lib/libpq_docs.py index 5685a2703..e505e78d4 100644 --- a/docs/lib/libpq_docs.py +++ b/docs/lib/libpq_docs.py @@ -11,7 +11,7 @@ will link to:: """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import logging import urllib.request diff --git a/docs/lib/pg3_docs.py b/docs/lib/pg3_docs.py index 6dc56301b..b580d2eb8 100644 --- a/docs/lib/pg3_docs.py +++ b/docs/lib/pg3_docs.py @@ -2,7 +2,7 @@ Customisation for docs generation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import os import re diff --git a/docs/lib/sql_role.py b/docs/lib/sql_role.py index c249e989e..86018cc3f 100644 --- a/docs/lib/sql_role.py +++ b/docs/lib/sql_role.py @@ -6,6 +6,7 @@ An interpreted text role to style SQL syntax in Psycopg documentation. :copyright: Copyright 2010-2020 by Daniele Varrazzo. + :copyright: Copyright 2020-2021 The Psycopg Team. """ from docutils import nodes, utils diff --git a/psycopg3/.gitignore b/psycopg3/.gitignore index 4bba7db84..2247d5f95 100644 --- a/psycopg3/.gitignore +++ b/psycopg3/.gitignore @@ -1,3 +1,2 @@ -/psycopg3.egg-info/ /build /dist diff --git a/psycopg3/README.rst b/psycopg3/README.rst index 36ee00dc2..3d4af3fed 100644 --- a/psycopg3/README.rst +++ b/psycopg3/README.rst @@ -14,4 +14,4 @@ Please read `the project readme`__ for more details. .. __: https://github.com/psycopg/psycopg3#readme -Copyright (C) 2020 The Psycopg Team +Copyright (C) 2020-2021 The Psycopg Team diff --git a/psycopg3/psycopg3/__init__.py b/psycopg3/psycopg3/__init__.py index 00466c09d..b2c4e85af 100644 --- a/psycopg3/psycopg3/__init__.py +++ b/psycopg3/psycopg3/__init__.py @@ -2,7 +2,7 @@ psycopg3 -- PostgreSQL database adapter for Python """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from . import pq from . import types diff --git a/psycopg3/psycopg3/_column.py b/psycopg3/psycopg3/_column.py index cdc5fbaf9..e5b7d9873 100644 --- a/psycopg3/psycopg3/_column.py +++ b/psycopg3/psycopg3/_column.py @@ -2,7 +2,7 @@ The Column object in Cursor.description """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, NamedTuple, Optional, Sequence, TYPE_CHECKING from operator import attrgetter diff --git a/psycopg3/psycopg3/_preparing.py b/psycopg3/psycopg3/_preparing.py index af2603cf7..c983965f7 100644 --- a/psycopg3/psycopg3/_preparing.py +++ b/psycopg3/psycopg3/_preparing.py @@ -2,7 +2,7 @@ Support for prepared statements """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from enum import IntEnum, auto from typing import Optional, Sequence, Tuple, TYPE_CHECKING, Union diff --git a/psycopg3/psycopg3/_queries.py b/psycopg3/psycopg3/_queries.py index 55929e325..06ca2640c 100644 --- a/psycopg3/psycopg3/_queries.py +++ b/psycopg3/psycopg3/_queries.py @@ -2,7 +2,7 @@ Utility module to manipulate queries """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re from typing import Any, Dict, List, Mapping, Match, NamedTuple, Optional diff --git a/psycopg3/psycopg3/_transform.py b/psycopg3/psycopg3/_transform.py index cec68c05a..f0b61c335 100644 --- a/psycopg3/psycopg3/_transform.py +++ b/psycopg3/psycopg3/_transform.py @@ -2,7 +2,7 @@ Helper object to transform values between Python and PostgreSQL """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, Dict, List, Optional, Sequence, Set, Tuple, Union from typing import cast, DefaultDict, TYPE_CHECKING diff --git a/psycopg3/psycopg3/adapt.py b/psycopg3/psycopg3/adapt.py index ffe90431e..7ae7cda76 100644 --- a/psycopg3/psycopg3/adapt.py +++ b/psycopg3/psycopg3/adapt.py @@ -2,7 +2,7 @@ Entry point into the adaptation system. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from abc import ABC, abstractmethod from typing import Any, Dict, List, Optional, Type, TypeVar, Union diff --git a/psycopg3/psycopg3/connection.py b/psycopg3/psycopg3/connection.py index 1916f2ac5..0727d415c 100644 --- a/psycopg3/psycopg3/connection.py +++ b/psycopg3/psycopg3/connection.py @@ -2,7 +2,7 @@ psycopg3 connection objects """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import sys import asyncio diff --git a/psycopg3/psycopg3/conninfo.py b/psycopg3/psycopg3/conninfo.py index 6d6ea6333..bf2ddf043 100644 --- a/psycopg3/psycopg3/conninfo.py +++ b/psycopg3/psycopg3/conninfo.py @@ -2,7 +2,7 @@ Functions to manipulate conninfo strings """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re from typing import Any, Dict, List diff --git a/psycopg3/psycopg3/copy.py b/psycopg3/psycopg3/copy.py index 6080a4ce2..a0c9d6513 100644 --- a/psycopg3/psycopg3/copy.py +++ b/psycopg3/psycopg3/copy.py @@ -2,7 +2,7 @@ psycopg3 copy support """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re import queue diff --git a/psycopg3/psycopg3/cursor.py b/psycopg3/psycopg3/cursor.py index 5d7bc38eb..652af7517 100644 --- a/psycopg3/psycopg3/cursor.py +++ b/psycopg3/psycopg3/cursor.py @@ -2,7 +2,7 @@ psycopg3 cursor objects """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import sys from types import TracebackType diff --git a/psycopg3/psycopg3/dbapi20.py b/psycopg3/psycopg3/dbapi20.py index 9426fe3c5..8972662d4 100644 --- a/psycopg3/psycopg3/dbapi20.py +++ b/psycopg3/psycopg3/dbapi20.py @@ -2,7 +2,7 @@ Compatibility objects with DBAPI 2.0 """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import time import datetime as dt diff --git a/psycopg3/psycopg3/encodings.py b/psycopg3/psycopg3/encodings.py index 2a51b15ef..126826a02 100644 --- a/psycopg3/psycopg3/encodings.py +++ b/psycopg3/psycopg3/encodings.py @@ -2,7 +2,7 @@ Mappings between PostgreSQL and Python encodings. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import codecs from typing import Dict, Union diff --git a/psycopg3/psycopg3/errors.py b/psycopg3/psycopg3/errors.py index 687c0bcde..cff4a22f9 100644 --- a/psycopg3/psycopg3/errors.py +++ b/psycopg3/psycopg3/errors.py @@ -16,7 +16,7 @@ DBAPI-defined Exceptions are defined in the following hierarchy:: |__NotSupportedError """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, Callable, Dict, Optional, Sequence, Tuple, Type, Union from typing import cast diff --git a/psycopg3/psycopg3/generators.py b/psycopg3/psycopg3/generators.py index e27fdc565..899e1f40e 100644 --- a/psycopg3/psycopg3/generators.py +++ b/psycopg3/psycopg3/generators.py @@ -13,7 +13,7 @@ when the file descriptor is ready. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import logging from typing import List, Optional, Union diff --git a/psycopg3/psycopg3/oids.py b/psycopg3/psycopg3/oids.py index d9eea7da0..480742da2 100644 --- a/psycopg3/psycopg3/oids.py +++ b/psycopg3/psycopg3/oids.py @@ -2,7 +2,7 @@ Maps of builtin types and names """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Dict, Iterator, Optional, Union diff --git a/psycopg3/psycopg3/pq/__init__.py b/psycopg3/psycopg3/pq/__init__.py index 137b08c32..c9ed41c9a 100644 --- a/psycopg3/psycopg3/pq/__init__.py +++ b/psycopg3/psycopg3/pq/__init__.py @@ -7,7 +7,7 @@ The real implementation (the binding to the C library) is implementation-dependant but all the implementations share the same interface. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import os import logging diff --git a/psycopg3/psycopg3/pq/_enums.py b/psycopg3/psycopg3/pq/_enums.py index ef49c6a33..7fe62b72a 100644 --- a/psycopg3/psycopg3/pq/_enums.py +++ b/psycopg3/psycopg3/pq/_enums.py @@ -2,7 +2,7 @@ libpq enum definitions for psycopg3 """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from enum import IntEnum, auto diff --git a/psycopg3/psycopg3/pq/_pq_ctypes.py b/psycopg3/psycopg3/pq/_pq_ctypes.py index 26137910b..ed66fd528 100644 --- a/psycopg3/psycopg3/pq/_pq_ctypes.py +++ b/psycopg3/psycopg3/pq/_pq_ctypes.py @@ -2,7 +2,7 @@ libpq access using ctypes """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import ctypes import ctypes.util diff --git a/psycopg3/psycopg3/pq/_pq_ctypes.pyi b/psycopg3/psycopg3/pq/_pq_ctypes.pyi index 8fb7a1350..1bc67c9da 100644 --- a/psycopg3/psycopg3/pq/_pq_ctypes.pyi +++ b/psycopg3/psycopg3/pq/_pq_ctypes.pyi @@ -2,7 +2,7 @@ types stub for ctypes functions """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, Callable, Optional, Sequence from ctypes import Array, pointer diff --git a/psycopg3/psycopg3/pq/misc.py b/psycopg3/psycopg3/pq/misc.py index 278de6461..117f77c67 100644 --- a/psycopg3/psycopg3/pq/misc.py +++ b/psycopg3/psycopg3/pq/misc.py @@ -2,7 +2,7 @@ Various functionalities to make easier to work with the libpq. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import cast, NamedTuple, Optional, Union diff --git a/psycopg3/psycopg3/pq/pq_ctypes.py b/psycopg3/psycopg3/pq/pq_ctypes.py index 18289859c..127d82439 100644 --- a/psycopg3/psycopg3/pq/pq_ctypes.py +++ b/psycopg3/psycopg3/pq/pq_ctypes.py @@ -6,7 +6,7 @@ the `pq` module instead, which is in charge of choosing the best implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import os import logging diff --git a/psycopg3/psycopg3/pq/proto.py b/psycopg3/psycopg3/pq/proto.py index 6cef8fe24..d2df18618 100644 --- a/psycopg3/psycopg3/pq/proto.py +++ b/psycopg3/psycopg3/pq/proto.py @@ -2,7 +2,7 @@ Protocol objects to represent objects exposed by different pq implementations. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, Callable, List, Optional, Sequence, Tuple, Union from typing import TYPE_CHECKING diff --git a/psycopg3/psycopg3/proto.py b/psycopg3/psycopg3/proto.py index 81e4061ac..b1e966cb5 100644 --- a/psycopg3/psycopg3/proto.py +++ b/psycopg3/psycopg3/proto.py @@ -2,7 +2,7 @@ Protocol objects representing different implementations of the same classes. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, Callable, Generator, Mapping from typing import List, Optional, Sequence, Tuple, TypeVar, Union diff --git a/psycopg3/psycopg3/sql.py b/psycopg3/psycopg3/sql.py index 16cc1e5f2..9859a885f 100644 --- a/psycopg3/psycopg3/sql.py +++ b/psycopg3/psycopg3/sql.py @@ -2,7 +2,7 @@ SQL composition utility module """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import codecs import string diff --git a/psycopg3/psycopg3/transaction.py b/psycopg3/psycopg3/transaction.py index 7b4700639..a07ce6f73 100644 --- a/psycopg3/psycopg3/transaction.py +++ b/psycopg3/psycopg3/transaction.py @@ -2,7 +2,7 @@ Transaction context managers returned by Connection.transaction() """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import logging diff --git a/psycopg3/psycopg3/types/__init__.py b/psycopg3/psycopg3/types/__init__.py index e17a41787..85aa130d6 100644 --- a/psycopg3/psycopg3/types/__init__.py +++ b/psycopg3/psycopg3/types/__init__.py @@ -2,7 +2,7 @@ psycopg3 types package """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from ..oids import builtins, INVALID_OID from ..proto import AdaptContext diff --git a/psycopg3/psycopg3/types/array.py b/psycopg3/psycopg3/types/array.py index 75ae3895c..357f7432e 100644 --- a/psycopg3/psycopg3/types/array.py +++ b/psycopg3/psycopg3/types/array.py @@ -2,7 +2,7 @@ Adapters for arrays """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re import struct diff --git a/psycopg3/psycopg3/types/composite.py b/psycopg3/psycopg3/types/composite.py index 074bfa38c..612a547ec 100644 --- a/psycopg3/psycopg3/types/composite.py +++ b/psycopg3/psycopg3/types/composite.py @@ -2,7 +2,7 @@ Support for composite types adaptation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re import struct diff --git a/psycopg3/psycopg3/types/date.py b/psycopg3/psycopg3/types/date.py index 8e5a90380..40714928a 100644 --- a/psycopg3/psycopg3/types/date.py +++ b/psycopg3/psycopg3/types/date.py @@ -2,7 +2,7 @@ Adapters for date/time types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re import sys diff --git a/psycopg3/psycopg3/types/json.py b/psycopg3/psycopg3/types/json.py index db70e8afd..85ad07289 100644 --- a/psycopg3/psycopg3/types/json.py +++ b/psycopg3/psycopg3/types/json.py @@ -2,7 +2,7 @@ Adapers for JSON types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import json from typing import Any, Callable, Optional diff --git a/psycopg3/psycopg3/types/network.py b/psycopg3/psycopg3/types/network.py index a1b626053..9166a74be 100644 --- a/psycopg3/psycopg3/types/network.py +++ b/psycopg3/psycopg3/types/network.py @@ -2,7 +2,7 @@ Adapters for network types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Callable, Optional, Union, TYPE_CHECKING diff --git a/psycopg3/psycopg3/types/numeric.py b/psycopg3/psycopg3/types/numeric.py index 9d90e4794..a8fd5e7cc 100644 --- a/psycopg3/psycopg3/types/numeric.py +++ b/psycopg3/psycopg3/types/numeric.py @@ -2,7 +2,7 @@ Adapers for numeric types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import struct from typing import Any, Callable, Dict, Tuple, cast diff --git a/psycopg3/psycopg3/types/range.py b/psycopg3/psycopg3/types/range.py index 0a4ea9f8f..bdd7b4f2d 100644 --- a/psycopg3/psycopg3/types/range.py +++ b/psycopg3/psycopg3/types/range.py @@ -2,7 +2,7 @@ Support for range types adaptation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re from typing import Any, Dict, Generic, Optional, Sequence, TypeVar, Type, Union diff --git a/psycopg3/psycopg3/types/singletons.py b/psycopg3/psycopg3/types/singletons.py index 0b52f3989..443a4ec31 100644 --- a/psycopg3/psycopg3/types/singletons.py +++ b/psycopg3/psycopg3/types/singletons.py @@ -2,7 +2,7 @@ Adapters for None and boolean. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from ..pq import Format from ..oids import builtins diff --git a/psycopg3/psycopg3/types/text.py b/psycopg3/psycopg3/types/text.py index 37010c9fc..d87cf8ea7 100644 --- a/psycopg3/psycopg3/types/text.py +++ b/psycopg3/psycopg3/types/text.py @@ -2,7 +2,7 @@ Adapters for textual types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Optional, Union, TYPE_CHECKING diff --git a/psycopg3/psycopg3/types/uuid.py b/psycopg3/psycopg3/types/uuid.py index 4311ba24c..ec973ecac 100644 --- a/psycopg3/psycopg3/types/uuid.py +++ b/psycopg3/psycopg3/types/uuid.py @@ -2,7 +2,7 @@ Adapters for the UUID type. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Callable, Optional, TYPE_CHECKING diff --git a/psycopg3/psycopg3/version.py b/psycopg3/psycopg3/version.py index e5a76325d..a415c3103 100644 --- a/psycopg3/psycopg3/version.py +++ b/psycopg3/psycopg3/version.py @@ -2,6 +2,6 @@ psycopg3 distribution version file. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team __version__ = "2.99.0" diff --git a/psycopg3/psycopg3/waiting.py b/psycopg3/psycopg3/waiting.py index b0f87474b..bfab413e1 100644 --- a/psycopg3/psycopg3/waiting.py +++ b/psycopg3/psycopg3/waiting.py @@ -6,7 +6,7 @@ These functions are designed to consume the generators returned by the """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import select diff --git a/psycopg3/setup.py b/psycopg3/setup.py index 2befb50bd..7ec2da35d 100644 --- a/psycopg3/setup.py +++ b/psycopg3/setup.py @@ -3,7 +3,7 @@ PostgreSQL database adapter for Python - pure Python package """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re import os diff --git a/psycopg3_c/.gitignore b/psycopg3_c/.gitignore index c2197d4ee..635af62c5 100644 --- a/psycopg3_c/.gitignore +++ b/psycopg3_c/.gitignore @@ -1,4 +1,3 @@ /.eggs /build /dist -/psycopg3_c.egg-info diff --git a/psycopg3_c/README.rst b/psycopg3_c/README.rst index 3cf7adb2a..7f26428cb 100644 --- a/psycopg3_c/README.rst +++ b/psycopg3_c/README.rst @@ -40,4 +40,4 @@ client library as ``psycopg3_binary``. In order to use it please install:: pip install psycopg3[binary] -Copyright (C) 2020 The Psycopg Team +Copyright (C) 2020-2021 The Psycopg Team diff --git a/psycopg3_c/psycopg3_c/__init__.py b/psycopg3_c/psycopg3_c/__init__.py index 9093563a7..e3d75461b 100644 --- a/psycopg3_c/psycopg3_c/__init__.py +++ b/psycopg3_c/psycopg3_c/__init__.py @@ -2,7 +2,7 @@ psycopg3 -- PostgreSQL database adapter for Python -- C optimization package """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import sys diff --git a/psycopg3_c/psycopg3_c/_psycopg3.pyi b/psycopg3_c/psycopg3_c/_psycopg3.pyi index 458c716d2..6f6c41938 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3.pyi +++ b/psycopg3_c/psycopg3_c/_psycopg3.pyi @@ -5,7 +5,7 @@ TODO: this should be generated by mypy's stubgen but it crashes with no information. Will submit a bug. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any, Iterable, List, Optional, Sequence, Tuple diff --git a/psycopg3_c/psycopg3_c/_psycopg3.pyx b/psycopg3_c/psycopg3_c/_psycopg3.pyx index 6880de0de..e6c34397b 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3.pyx +++ b/psycopg3_c/psycopg3_c/_psycopg3.pyx @@ -5,7 +5,7 @@ The module contains optimized C code used in preference to Python code if a compiler is available. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from psycopg3_c cimport pq from psycopg3_c.pq cimport libpq diff --git a/psycopg3_c/psycopg3_c/_psycopg3/__init__.pxd b/psycopg3_c/psycopg3_c/_psycopg3/__init__.pxd index a9ff42399..b29349b66 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3/__init__.pxd +++ b/psycopg3_c/psycopg3_c/_psycopg3/__init__.pxd @@ -4,6 +4,6 @@ psycopg3_c.pq cython module. This file is necessary to allow c-importing pxd files from this directory. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from psycopg3_c._psycopg3 cimport oids diff --git a/psycopg3_c/psycopg3_c/_psycopg3/adapt.pyx b/psycopg3_c/psycopg3_c/_psycopg3/adapt.pyx index 8fa4faeee..158f48faf 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3/adapt.pyx +++ b/psycopg3_c/psycopg3_c/_psycopg3/adapt.pyx @@ -11,7 +11,7 @@ equivalent C implementations. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from typing import Any diff --git a/psycopg3_c/psycopg3_c/_psycopg3/copy.pyx b/psycopg3_c/psycopg3_c/_psycopg3/copy.pyx index 0e57934d9..603178014 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3/copy.pyx +++ b/psycopg3_c/psycopg3_c/_psycopg3/copy.pyx @@ -3,7 +3,7 @@ C optimised functions for the copy system. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from libc.string cimport memcpy from libc.stdint cimport uint16_t, uint32_t, int32_t diff --git a/psycopg3_c/psycopg3_c/_psycopg3/generators.pyx b/psycopg3_c/psycopg3_c/_psycopg3/generators.pyx index ed1be65c0..7f7f801ac 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3/generators.pyx +++ b/psycopg3_c/psycopg3_c/_psycopg3/generators.pyx @@ -2,7 +2,7 @@ C implementation of generators for the communication protocols with the libpq """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from cpython.object cimport PyObject_CallFunctionObjArgs diff --git a/psycopg3_c/psycopg3_c/_psycopg3/oids.pxd b/psycopg3_c/psycopg3_c/_psycopg3/oids.pxd index 711ffdc3d..febee5088 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3/oids.pxd +++ b/psycopg3_c/psycopg3_c/_psycopg3/oids.pxd @@ -2,7 +2,7 @@ Constants to refer to OIDS in C """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team # Use tools/update_oids.py to update this data. diff --git a/psycopg3_c/psycopg3_c/_psycopg3/transform.pyx b/psycopg3_c/psycopg3_c/_psycopg3/transform.pyx index 41ed1b22d..68cf5edb8 100644 --- a/psycopg3_c/psycopg3_c/_psycopg3/transform.pyx +++ b/psycopg3_c/psycopg3_c/_psycopg3/transform.pyx @@ -6,7 +6,7 @@ too many temporary Python objects and performing less memory copying. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cimport cython from cpython.ref cimport Py_INCREF diff --git a/psycopg3_c/psycopg3_c/pq.pyx b/psycopg3_c/psycopg3_c/pq.pyx index ccc2bb520..02a1564dc 100644 --- a/psycopg3_c/psycopg3_c/pq.pyx +++ b/psycopg3_c/psycopg3_c/pq.pyx @@ -2,7 +2,7 @@ libpq Python wrapper using cython bindings. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from psycopg3_c.pq cimport libpq diff --git a/psycopg3_c/psycopg3_c/pq/__init__.pxd b/psycopg3_c/psycopg3_c/pq/__init__.pxd index e6e497c11..3add4aa63 100644 --- a/psycopg3_c/psycopg3_c/pq/__init__.pxd +++ b/psycopg3_c/psycopg3_c/pq/__init__.pxd @@ -4,6 +4,6 @@ psycopg3_c.pq cython module. This file is necessary to allow c-importing pxd files from this directory. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from psycopg3_c.pq cimport libpq diff --git a/psycopg3_c/psycopg3_c/pq/conninfo.pyx b/psycopg3_c/psycopg3_c/pq/conninfo.pyx index b41675016..103c88595 100644 --- a/psycopg3_c/psycopg3_c/pq/conninfo.pyx +++ b/psycopg3_c/psycopg3_c/pq/conninfo.pyx @@ -2,7 +2,7 @@ psycopg3_c.pq.Conninfo object implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from psycopg3.pq.misc import ConninfoOption diff --git a/psycopg3_c/psycopg3_c/pq/escaping.pyx b/psycopg3_c/psycopg3_c/pq/escaping.pyx index 1f83cd1fe..41ad870a0 100644 --- a/psycopg3_c/psycopg3_c/pq/escaping.pyx +++ b/psycopg3_c/psycopg3_c/pq/escaping.pyx @@ -2,7 +2,7 @@ psycopg3_c.pq.Escaping object implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from libc.string cimport strlen from cpython.bytearray cimport PyByteArray_FromStringAndSize, PyByteArray_Resize diff --git a/psycopg3_c/psycopg3_c/pq/libpq.pxd b/psycopg3_c/psycopg3_c/pq/libpq.pxd index 6bd9fa1f9..e572a0e86 100644 --- a/psycopg3_c/psycopg3_c/pq/libpq.pxd +++ b/psycopg3_c/psycopg3_c/pq/libpq.pxd @@ -2,7 +2,7 @@ Libpq header definition for the cython psycopg3.pq implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cdef extern from "libpq-fe.h": int PQlibVersion() diff --git a/psycopg3_c/psycopg3_c/pq/pgcancel.pyx b/psycopg3_c/psycopg3_c/pq/pgcancel.pyx index 07e24853b..7d27bb647 100644 --- a/psycopg3_c/psycopg3_c/pq/pgcancel.pyx +++ b/psycopg3_c/psycopg3_c/pq/pgcancel.pyx @@ -2,7 +2,7 @@ psycopg3_c.pq.PGcancel object implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cdef class PGcancel: diff --git a/psycopg3_c/psycopg3_c/pq/pgconn.pyx b/psycopg3_c/psycopg3_c/pq/pgconn.pyx index 583843c37..dcc015a6b 100644 --- a/psycopg3_c/psycopg3_c/pq/pgconn.pyx +++ b/psycopg3_c/psycopg3_c/pq/pgconn.pyx @@ -2,7 +2,7 @@ psycopg3_c.pq.PGconn object implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team from posix.unistd cimport getpid from cpython.mem cimport PyMem_Malloc, PyMem_Free diff --git a/psycopg3_c/psycopg3_c/pq/pgresult.pyx b/psycopg3_c/psycopg3_c/pq/pgresult.pyx index 19e42663a..0bcc86cc0 100644 --- a/psycopg3_c/psycopg3_c/pq/pgresult.pyx +++ b/psycopg3_c/psycopg3_c/pq/pgresult.pyx @@ -2,7 +2,7 @@ psycopg3_c.pq.PGresult object implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cimport cython from cpython.mem cimport PyMem_Malloc, PyMem_Free diff --git a/psycopg3_c/psycopg3_c/pq/pqbuffer.pyx b/psycopg3_c/psycopg3_c/pq/pqbuffer.pyx index eb5d64822..c18696970 100644 --- a/psycopg3_c/psycopg3_c/pq/pqbuffer.pyx +++ b/psycopg3_c/psycopg3_c/pq/pqbuffer.pyx @@ -2,7 +2,7 @@ PQbuffer object implementation. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cimport cython from cpython.bytes cimport PyBytes_AsStringAndSize diff --git a/psycopg3_c/psycopg3_c/types/numeric.pyx b/psycopg3_c/psycopg3_c/types/numeric.pyx index 693310f52..c01f80c46 100644 --- a/psycopg3_c/psycopg3_c/types/numeric.pyx +++ b/psycopg3_c/psycopg3_c/types/numeric.pyx @@ -2,7 +2,7 @@ Cython adapters for numeric types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cimport cython diff --git a/psycopg3_c/psycopg3_c/types/numutils.c b/psycopg3_c/psycopg3_c/types/numutils.c index 6237df0c2..c7de5bef7 100644 --- a/psycopg3_c/psycopg3_c/types/numutils.c +++ b/psycopg3_c/psycopg3_c/types/numutils.c @@ -1,7 +1,7 @@ /* * Utilities to deal with numbers. * - * Copyright (C) 2020 The Psycopg Team + * Copyright (C) 2020-2021 The Psycopg Team * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California */ diff --git a/psycopg3_c/psycopg3_c/types/singletons.pyx b/psycopg3_c/psycopg3_c/types/singletons.pyx index 602d7cc8c..a176ac5e5 100644 --- a/psycopg3_c/psycopg3_c/types/singletons.pyx +++ b/psycopg3_c/psycopg3_c/types/singletons.pyx @@ -2,7 +2,7 @@ Cython adapters for boolean. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cimport cython diff --git a/psycopg3_c/psycopg3_c/types/text.pyx b/psycopg3_c/psycopg3_c/types/text.pyx index 32d38bccf..c80183aa6 100644 --- a/psycopg3_c/psycopg3_c/types/text.pyx +++ b/psycopg3_c/psycopg3_c/types/text.pyx @@ -2,7 +2,7 @@ Cython adapters for textual types. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team cimport cython diff --git a/psycopg3_c/psycopg3_c/version.py b/psycopg3_c/psycopg3_c/version.py index 34a6c9b12..c72b90e08 100644 --- a/psycopg3_c/psycopg3_c/version.py +++ b/psycopg3_c/psycopg3_c/version.py @@ -2,6 +2,6 @@ psycopg3-c distribution version file. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team __version__ = "2.99.0" diff --git a/psycopg3_c/setup.py b/psycopg3_c/setup.py index 6495821a4..23f5769d6 100644 --- a/psycopg3_c/setup.py +++ b/psycopg3_c/setup.py @@ -3,7 +3,7 @@ PostgreSQL database adapter for Python - optimisation package """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import os import re diff --git a/tests/test_sql.py b/tests/test_sql.py index e1b102d82..b8f022e59 100644 --- a/tests/test_sql.py +++ b/tests/test_sql.py @@ -1,6 +1,6 @@ # test_sql.py - tests for the psycopg2.sql module -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import re import datetime as dt diff --git a/tools/build_wheels.sh b/tools/build_wheels.sh index 6941a73a2..09db22dc4 100755 --- a/tools/build_wheels.sh +++ b/tools/build_wheels.sh @@ -3,7 +3,7 @@ # Script to build binary psycopg3-c package. # Built packages will be available in the `dist` directory. -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team set -euo pipefail set -x diff --git a/tools/update_errors.py b/tools/update_errors.py index 2f04c18a1..d0acef84e 100755 --- a/tools/update_errors.py +++ b/tools/update_errors.py @@ -5,7 +5,7 @@ Generate per-sqlstate errors from PostgreSQL source code. The script can be run at a new PostgreSQL release to refresh the module. """ -# Copyright (C) 2020 The Psycopg Team +# Copyright (C) 2020-2021 The Psycopg Team import os