Jonathan Robson

Results 4 issues of Jonathan Robson

`Repository.create_reference` only accepts `str` and not `bytes`. This is because `Repository_create_reference_direct` in `repository.c` uses the `s` specifier for parsing that argument, which only accepts `str` and implicitly encodes it using...

`Index.__getitem__` fails on Python when you pass it `bytes`. ```python >>> import pygit2 >>> index = pygit2.Index() >>> index['foo'] Traceback (most recent call last): File "", line 1, in File...

`Signature_init` in `signature.c` currently uses the `s` format string for parsing the `email` argument. This is inconsistent between Python 2 and 3. On Python 2, it accepts either text (`unicode`)...

I have a `BaseModel` class that all my models inherit from that looks like this: ```python class BaseModel(peewee.Model): id = peewee.BigAutoField(primary_key=True) class Meta: database = db ``` When I run...