From 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 Mon Sep 17 00:00:00 2001 From: maxim-yurchuk Date: Wed, 9 Oct 2024 12:29:46 +0300 Subject: publishFullContrib: true for ydb commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e --- .../python/contextlib2/py3/patches/01-support-python-3.12.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 contrib/python/contextlib2/py3/patches/01-support-python-3.12.patch (limited to 'contrib/python/contextlib2') diff --git a/contrib/python/contextlib2/py3/patches/01-support-python-3.12.patch b/contrib/python/contextlib2/py3/patches/01-support-python-3.12.patch new file mode 100644 index 00000000000..dc0a0153d61 --- /dev/null +++ b/contrib/python/contextlib2/py3/patches/01-support-python-3.12.patch @@ -0,0 +1,8 @@ +--- contrib/python/contextlib2/py3/contextlib2/__init__.py (index) ++++ contrib/python/contextlib2/py3/contextlib2/__init__.py (working tree) +@@ -179,0 +180,2 @@ class _GeneratorContextManager(_GeneratorContextManagerBase, ++ if traceback is not None: ++ value = value.with_traceback(traceback) +@@ -181 +183 @@ class _GeneratorContextManager(_GeneratorContextManagerBase, +- self.gen.throw(type, value, traceback) ++ self.gen.throw(value) -- cgit v1.3