The Wayback Machine - https://web.archive.org/web/20200831054750/https://github.com/topics/torrent
Skip to content
#

torrent

Here are 898 public repositories matching this topic...

atomashpolskiy
atomashpolskiy commented Dec 16, 2019

Because in CliClient.resume() we don't account for the case, when there is an exception in one of the async processing stages:

void resume() {
	...
	try {
		client.startAsync(state -> {
			printer.ifPresent(p -> p.print(state));
			if (!options.shouldSeedAfterDownloaded() && state.getPiecesRemaining() == 0) {
				runtime.shutdown();
			}
		}, 1000); // <-- CompletableFuture.w
tirkarthi
tirkarthi commented Apr 27, 2020

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.

Syntax warnings are caused due to comparison of literals using is.

Steps to reproduce:

find . -iname '*.py' | grep -Ev 'rdf4|tool|doc' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./up

Improve this page

Add a description, image, and links to the torrent topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the torrent topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.