Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Decimal timestamps all the time #462

Open
gmacon opened this issue Nov 19, 2019 · 0 comments
Open

Feature Request: Decimal timestamps all the time #462

gmacon opened this issue Nov 19, 2019 · 0 comments
Labels

Comments

@gmacon
Copy link

gmacon commented Nov 19, 2019

Currently, dpkt.pcap.Reader returns the timestamp as a float if the pcap has microsecond resolution and as a decimal.Decimal if the pcap has nanosecond precision. I'd like to request that the timestamps be represented as Decimal objects all the time.

I realize that this will be a backwards-incompatible change, so I'd be OK with this behavior being opt-in for now, but I'd like to see it become the default behavior at some point.

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

No branches or pull requests

2 participants