Mostafa Razavi

Results 14 issues of Mostafa Razavi

The following piece of code occasionally results in a `TrioInternalError` which is a bug per exception description: ```python import trio from contextlib import AsyncExitStack DEFAULT_PG_UNIX_SOCKET = '/var/run/postgresql/.s.PGSQL.5432' class Connection: def...

I am having an issue where one of the parse actions is not being called in certain situations. I managed to minimize the situation to this code snippet: ```python from...

I was having a hard time figuring out why my program suddenly stopped working without any errors and without keyboard interrupts working. After a lot of digging, I found that...

python-magic was not named as a requirement. I've updated the README to list that as well.

The following code causes a "redis.exceptions.ResponseError: syntax error", on the latest version (6.2.899109). The version before last seems to be fine. ```python from redislite import Redis r = Redis() r.shutdown(save=True,...

The README.md file mentions tests in a `utp_test` subdirectory, but there is no such directory and no tests. I bisected the history and found out the sub-directory was deleted in...

When we accept a magnet URI in place of the infohash, as issue #1 describes, we can create a traditional tracker based torrent file instead of a trackerless torrent. Add...

enhancement

When a magnet URI with trackers is provided, as issue #1 describes, we can use the trackers to find peers. By default we can prefer trackers when they are available....

enhancement

Add command-line options to set a log file, and setting the log level.

enhancement

Sometimes when Ctrl-C is pressed in the middle of execution a Python traceback is printed: ``` Traceback (most recent call last): File "./ih2torrent.py", line 620, in loop.run_until_complete(asyncio.gather(*pending)) File "/usr/local/lib/python3.5/asyncio/base_events.py", line...

enhancement