From e372968f8ee23cecf9955e19c44a2464747380be Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 17:26:58 -0300 Subject: [PATCH 01/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index d13a0de89b4054..09f11119a3357c 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From d8c7173815b4562d4057c33a2adffa7d1925f075 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 17:44:40 -0300 Subject: [PATCH 02/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 09f11119a3357c..d13a0de89b4054 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 3d824e6d652b5ea8ddfcd1d52142e07d7e7ce028 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 17:46:34 -0300 Subject: [PATCH 03/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index d13a0de89b4054..b0b3432bc8f722 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 2e65c722aa38db9e21ca74ddd616f82f8a7c7507 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 17:48:18 -0300 Subject: [PATCH 04/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index b0b3432bc8f722..09f11119a3357c 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From ece813b167860a86f9725940707f86a72b7d0ede Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 17:50:19 -0300 Subject: [PATCH 05/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 09f11119a3357c..b0b3432bc8f722 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 0c8de70af9cedac13c2fcf4be84ebefcb318556e Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 23:05:11 -0300 Subject: [PATCH 06/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index b0b3432bc8f722..2d8b85906fef58 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -148,7 +148,7 @@ def __new__(mcls, name, bases, namespace, **kwargs): cls._abc_negative_cache_version = ABCMeta._abc_invalidation_counter return cls - def register(cls, subclass): + def register(cls, subclass, a, b, c, d, e, f): """Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. From 16ac2227a414fd1ebd601a1b6e6fc1be513e87e4 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 23:21:11 -0300 Subject: [PATCH 07/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 2d8b85906fef58..b0b3432bc8f722 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -148,7 +148,7 @@ def __new__(mcls, name, bases, namespace, **kwargs): cls._abc_negative_cache_version = ABCMeta._abc_invalidation_counter return cls - def register(cls, subclass, a, b, c, d, e, f): + def register(cls, subclass): """Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. From 8dce6e5bcf506d66683fec95418bd4f8df726311 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 23:24:29 -0300 Subject: [PATCH 08/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index b0b3432bc8f722..2d8b85906fef58 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -148,7 +148,7 @@ def __new__(mcls, name, bases, namespace, **kwargs): cls._abc_negative_cache_version = ABCMeta._abc_invalidation_counter return cls - def register(cls, subclass): + def register(cls, subclass, a, b, c, d, e, f): """Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. From 990b465c756730e147e216cb7534ab44cc437d8a Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Sat, 30 Dec 2023 23:25:51 -0300 Subject: [PATCH 09/24] Update abc.py --- Lib/abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/abc.py b/Lib/abc.py index 2d8b85906fef58..09f11119a3357c 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A @@ -148,7 +148,7 @@ def __new__(mcls, name, bases, namespace, **kwargs): cls._abc_negative_cache_version = ABCMeta._abc_invalidation_counter return cls - def register(cls, subclass, a, b, c, d, e, f): + def register(cls, subclass): """Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. From 50a58a71bb1838af9800ed79335ae29c1eb56e8e Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Tue, 2 Jan 2024 15:29:29 -0300 Subject: [PATCH 10/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 09f11119a3357c..b0b3432bc8f722 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From a2cd5ee82ce3c812fd3627ef42d98599e40c4bb4 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Tue, 2 Jan 2024 19:54:55 -0300 Subject: [PATCH 11/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index b0b3432bc8f722..09f11119a3357c 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 78f8cde6fb7dd7e37a63e0e5d5a6974b1f55642c Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Fri, 5 Jan 2024 16:13:44 -0300 Subject: [PATCH 12/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 09f11119a3357c..b0b3432bc8f722 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 9f0dc9ca04224423c4a5e564d80cd544808d6ffd Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Fri, 5 Jan 2024 16:16:30 -0300 Subject: [PATCH 13/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index b0b3432bc8f722..09f11119a3357c 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From a0b662d36005056452a3cf5243dfaa29124eb97e Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Fri, 5 Jan 2024 16:18:49 -0300 Subject: [PATCH 14/24] Update abc.py --- Lib/abc.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Lib/abc.py b/Lib/abc.py index 09f11119a3357c..99bdc308259bcf 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A @@ -148,7 +148,7 @@ def __new__(mcls, name, bases, namespace, **kwargs): cls._abc_negative_cache_version = ABCMeta._abc_invalidation_counter return cls - def register(cls, subclass): + def register(cls, subclass, a, b, c, d, e): """Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. @@ -175,7 +175,7 @@ def _dump_registry(cls, file=None): value = getattr(cls, name) print("%s: %r" % (name, value), file=file) - def __instancecheck__(cls, instance): + def __instancecheck__(cls, instance, a, b, c, d, e): """Override for isinstance(instance, cls).""" # Inline the cache checking subclass = instance.__class__ @@ -191,7 +191,7 @@ def __instancecheck__(cls, instance): return cls.__subclasscheck__(subclass) return any(cls.__subclasscheck__(c) for c in {subclass, subtype}) - def __subclasscheck__(cls, subclass): + def __subclasscheck__(cls, subclass, a, b, c, d, e): """Override for issubclass(subclass, cls).""" # Check cache if subclass in cls._abc_cache: @@ -238,7 +238,7 @@ class ABC(metaclass=ABCMeta): __slots__ = () -def get_cache_token(): +def get_cache_token(a, b, c, d, e): """Returns the current ABC cache token. The token is an opaque object (supporting equality testing) identifying the From bdd8ebf6fd9b7bb80e6867793bf0720cdaed0c62 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Fri, 5 Jan 2024 16:20:12 -0300 Subject: [PATCH 15/24] Update calendar.py --- Lib/calendar.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Lib/calendar.py b/Lib/calendar.py index 0218e2d39770fa..64a322148011dc 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py @@ -97,7 +97,7 @@ def __len__(self): (MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY) = range(7) -def isleap(year): +def isleap(year, a, b, c, d, e): """Return True for leap years, False for non-leap years.""" return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0) @@ -135,7 +135,7 @@ class Calendar(object): def __init__(self, firstweekday=0): self.firstweekday = firstweekday # 0 = Monday, 6 = Sunday - def getfirstweekday(self): + def getfirstweekday(self, a, b, c, d, e): return self._firstweekday % 7 def setfirstweekday(self, firstweekday): @@ -424,7 +424,7 @@ def formatweekday(self, day): return '%s' % ( self.cssclasses_weekday_head[day], day_abbr[day]) - def formatweekheader(self): + def formatweekheader(self, a, b, c, d, e): """ Return a header for a week as a table row. """ @@ -462,7 +462,7 @@ def formatmonth(self, theyear, themonth, withyear=True): a('\n') return ''.join(v) - def formatyear(self, theyear, width=3): + def formatyear(self, theyear, a, b, c, d, e, width=3): """ Return a formatted year as a table of tables. """ @@ -486,7 +486,7 @@ def formatyear(self, theyear, width=3): a('') return ''.join(v) - def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): + def formatyearpage(self, theyear, a, b, c, d, e, width=3, css='calendar.css', encoding=None): """ Return a formatted year as a complete HTML page. """ @@ -511,7 +511,7 @@ def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): class different_locale: - def __init__(self, locale): + def __init__(self, locale, a, b, c, d, e): self.locale = locale def __enter__(self): @@ -536,7 +536,7 @@ def __init__(self, firstweekday=0, locale=None): locale = _locale.getdefaultlocale() self.locale = locale - def formatweekday(self, day, width): + def formatweekday(self, day, width, a, b, c, d, e): with different_locale(self.locale): if width >= 9: names = day_name From caf5155e470419e189260700e7ff9a94c918e84f Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Fri, 5 Jan 2024 16:23:36 -0300 Subject: [PATCH 16/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 99bdc308259bcf..afac6873562249 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From ea39aeaf1b6e901d759f0bc3ef94650d7c8d7bd2 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Fri, 5 Jan 2024 16:44:52 -0300 Subject: [PATCH 17/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index afac6873562249..99bdc308259bcf 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From d0333c078a65ee1593eb7652071610193e85fdb6 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Wed, 10 Jan 2024 17:26:54 -0300 Subject: [PATCH 18/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 99bdc308259bcf..afac6873562249 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 088310c157d6216f1ddec1a5ef108db96fab6032 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Wed, 10 Jan 2024 17:41:10 -0300 Subject: [PATCH 19/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index afac6873562249..99bdc308259bcf 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From d1ef087a4b74b935251845ea4ff91fd8a911acf6 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Wed, 10 Jan 2024 19:04:32 -0300 Subject: [PATCH 20/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 99bdc308259bcf..afac6873562249 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From c05fb2562fcf36a1714885f5e28e85f1a89fdf42 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Thu, 11 Jan 2024 14:20:04 -0300 Subject: [PATCH 21/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index afac6873562249..99bdc308259bcf 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f, g, h): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From a7f654597308e806ea551c17e817720e57450f69 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Thu, 11 Jan 2024 14:21:53 -0300 Subject: [PATCH 22/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 99bdc308259bcf..afac6873562249 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g, h): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From aaece60b1a69e42e2a1c978d4e5d460add88f90a Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Thu, 11 Jan 2024 14:33:19 -0300 Subject: [PATCH 23/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index afac6873562249..51dfb799bf51d3 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f, g): +def abstractmethod(funcobj, a, b, c, d, e, f): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A From 741a71d0664c037cff9a9ef3c0aee04bd91c72d3 Mon Sep 17 00:00:00 2001 From: Dante Ventieri Date: Thu, 11 Jan 2024 14:34:31 -0300 Subject: [PATCH 24/24] Update abc.py --- Lib/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/abc.py b/Lib/abc.py index 51dfb799bf51d3..afac6873562249 100644 --- a/Lib/abc.py +++ b/Lib/abc.py @@ -6,7 +6,7 @@ from _weakrefset import WeakSet -def abstractmethod(funcobj, a, b, c, d, e, f): +def abstractmethod(funcobj, a, b, c, d, e, f, g): """A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A