Skip to content

Pypi version is seriously broken #11

@glic3rinu

Description

@glic3rinu

Just pip installed it and quickly found out one serious bug

Python 3.4.3 (default, Sep 14 2015, 17:11:46) 
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> for i in range(50, 70):
...     s = b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'*i
...     d = b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'*i + b'2'
...     src = io.BytesIO(s)
...     dst = io.BytesIO(d)
...     signature = librsync.signature(dst)
...     delta = librsync.delta(src, signature)
...     synced = librsync.patch(dst, delta)
...     _= src.seek(0)
...     src.read() == synced.read()
... 
True
True
True
True
True
True
True
True
True
False
False
False
False
False
False
False
False
False
False
False

tried with current master and all seems ok, so maybe it will be worth it to publish a new release on pypi :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions