jazzband / jazzband/tablib

Wrong long int value exported

Open
#197 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
4.8k
Forks
617
PR merge metrics
No merged PRs in 30d

Description

I have the code:

```python
import tablib

data = tablib.Dataset()
data.headers = ['test_id']

a = 568883383628111872
data.append([a])
with open('test.xls', 'wb') as f:
f.write(data.xls)
```

Which produces one `xls` file with id as `568883383628112000`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.