Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

bencoder problem #16

Open
Zibri opened this issue Aug 22, 2023 · 0 comments
Open

bencoder problem #16

Zibri opened this issue Aug 22, 2023 · 0 comments

Comments

@Zibri
Copy link

Zibri commented Aug 22, 2023

# python3 -m pip install bencoder
# python3
Python 3.6.9 (default, Mar 10 2023, 16:46:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bencoder
>>> bencoder.
bencoder.ARRAY_TYPECODE  bencoder.bencode(        bencoder.encode_func
bencoder.BTFailure(      bencoder.decode_dict(    bencoder.func(
bencoder.END_CHAR        bencoder.decode_func     bencoder.key
bencoder.OrderedDict(    bencoder.decode_int(     bencoder.keys
bencoder.bdecode(        bencoder.decode_list(
bencoder.bdecode2(       bencoder.decode_string(
# pypy3 -m pip install bencoder
# pypy3
Python 3.9.17 (3f3f2298ddc56db44bbdb4551ce992d8e9401646, Jun 15 2023, 11:15:53)
[PyPy 7.3.12 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> import bencoder
bencoder.decode(  bencoder.encode(  bencoder.it       bencoder.re       bencoder.string

the two results are completely different.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant