Skip to content

Add big number exception handling, off-by-one in Int/Long handling (not serious), and version bump#3

Open
bwhite wants to merge 3 commits intoklbostee:masterfrom
bwhite:master
Open

Add big number exception handling, off-by-one in Int/Long handling (not serious), and version bump#3
bwhite wants to merge 3 commits intoklbostee:masterfrom
bwhite:master

Conversation

@bwhite
Copy link

@bwhite bwhite commented Jan 21, 2011

  1. Big number exception handling (previous didn't support anything outside of [-263, 263-1])
  2. Off-by-one in Int/Long handling. This is not serious, one number in each range would have been a pickle instead of an integer type; however, it's good to have it be clear what ranges become pickles and what ranges become native ints
  3. Version bump

…re, assumes it is overflow for speed). It clears the error and falls back to Pickle.

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>
…being missed)

should be [-2**31, 2**31-1] and [-2**63, 2**63-1] was [-2**31+1, 2**31-1] and [-2**63+1, 2**63-1]
Signed-off-by: Brandyn A. White <bwhite@dappervision.com>
Signed-off-by: Brandyn A. White <bwhite@dappervision.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments