-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Doing some hacking on @boramalper's magnetico.
It relies on data present at the end of a bencoded bytestring. In order to use bencoder.pyx I had to patch out https://github.com/whtsky/bencoder.pyx/blob/master/bencoder.pyx#L96 and return both r
and l
.
See https://github.com/boramalper/magnetico/blob/master/magneticod/magneticod/bencode.py#L53 for the function for which I needed to add a replacement.
Would this project accept a PR adding a bdecode2 returning both r and l, and not erroring on excess data?
Thanks!
boramalper
Metadata
Metadata
Assignees
Labels
No labels