This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"fmt" | |
"github.com/gocql/gocql" | |
"log" | |
"reflect" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kostja@hulk ~ % ./test.py | |
^CShutdown requested | |
/usr/lib/python3.7/asyncio/unix_events.py:861: RuntimeWarning: A loop is being detached from a child watcher with pending handlers | |
RuntimeWarning) | |
/usr/lib/python3.7/asyncio/unix_events.py:137: RuntimeWarning: coroutine 'setup_signal_handlers.<locals>.shutdown' was never awaited | |
del self._signal_handlers[sig] | |
RuntimeWarning: Enable tracemalloc to get the object allocation traceback | |
Traceback (most recent call last): | |
File "./test.py", line 59, in <module> | |
asyncio.run(main()) |
OlderNewer