Skip to content

Commit 01b5b01

Browse files
committed
Drop broken coding comment
When trying to print a backtrace for CancelledError, I got the following error: Traceback (most recent call last): File "/nix/store/bs03sg8b0gq2zr4v252hh9psp780qj5q-python3-3.8.5/lib/python3.8/tokenize.py", line 342, in find_cookie codec = lookup(encoding) LookupError: unknown encoding: utf8 Let's remove the coding comment altogether as only Python 3 is supported and that defaults to UTF-8: https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations
1 parent 5d2f132 commit 01b5b01

File tree

13 files changed

+0
-23
lines changed

13 files changed

+0
-23
lines changed

asyncio_pool/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
import sys
42

53
from .results import getres

asyncio_pool/base_pool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf8
21
'''Pool of asyncio coroutines with familiar interface, python3.5+ friendly'''
32

43
import traceback

asyncio_pool/mx_asyncgen.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf8
21
'''Mixin for BaseAioPool with async generator features, python3.6+'''
32

43
import asyncio as aio

asyncio_pool/mx_asynciter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf8
21
'''Mixin for BaseAioPool with async generator _simulation_ for python 3.5'''
32

43
import asyncio as aio

asyncio_pool/results.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
from functools import partial
42

53

examples/_usage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
import os
42
import sys
53
curr_dir = os.path.dirname(os.path.abspath(__file__))

examples/ls_remote.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
import os
42
import sys
53
curr_dir = os.path.dirname(os.path.abspath(__file__))

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
import setuptools
42

53

tests/loadtest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
import os
42
import sys
53
curr_dir = os.path.dirname(os.path.abspath(__file__))

tests/test_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf8
2-
31
import pytest
42
import asyncio as aio
53
from asyncio_pool import AioPool

0 commit comments

Comments
 (0)