Karthikeyan Singaravelan

Results 222 issues of Karthikeyan Singaravelan

https://bugzilla.redhat.com/show_bug.cgi?id=1792991 https://github.com/kachayev/fn.py/blob/df53f5d6bf0e94a37f44f6be57d1c87c9b7a6c26/fn/iters.py#L2 Thanks for the library!

Ref : https://www.python.org/dev/peps/pep-0632/#migration-advice setup from setuptools can be used. https://github.com/josiahcarlson/rpqueue/blob/15f1946c15f755525a2b3cc8871c730c4ab78fcc/setup.py#L3

Ref : https://github.com/python/cpython/pull/28382 . Below is a run using Python 3.11 ``` python -Wall test/test_sendfile.py /usr/lib/python3.11/asynchat.py:48: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio import asyncore /root/checked_repos_clone_2600_2700/pysendfile/test/test_sendfile.py:35:...

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this. ``` find . -iname '*.py'...

Use `assertRaisesRegex` in Python 3 and when present instead of deprecated alias `assertRaisesRegexp` which is present only in Python 2. Ref : https://github.com/python/cpython/pull/28268 Fixes below warning : ``` pytest ==============================...

The deprecated aliases have been removed in python/cpython#28268

Deprecation warning are generated over invalid escape sequences. This can be fixed by using raw strings or escaping the literals again. ``` find . -iname '*.py' | xargs -P 4...

Though trio had some issues under Python 3.10 with traceback module there are below deprecation warnings in Python 3.10. Traceback issue #1914 Event loop warning : https://github.com/python/cpython/pull/25918 ``` FAILED trio/_core/tests/test_run.py::test_calling_asyncio_function_gives_nice_error...