Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-102471, PEP 757: Add PyLong import and export API#121339
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
54 commits Select commitHold shift + click to select a range
f4fdbf2 gh-102471: Add PyLong import and export API
vstinnerc2e568e Add layout
vstinnerf0d9525 Merge branch 'main' into long_export
vstinnerb19764f Rename word_endian to digits_order
vstinner6f7fd11 Replace Py_digit* type with void*
vstinner080e079 Add PyLongWriter_Discard() function
vstinner1a7902f Fixes
vstinnerb70a6dd Use unsigned type for ndigits
vstinner07552a7 Remove again layout
vstinner0d0f942 Revert "Use unsigned type for ndigits"
vstinner762c33a doc: adjust ndigits documentation
vstinner20be7a3 Update doc
vstinnerd92bf1e Make PyLong_DigitArray.obj private
vstinnerb3b02a2 Remove reserved documentation
vstinnercaca2d7 PyLong_FreeDigitArray() only clears _reserved
vstinner4221a49 Make PyLong_LAYOUT static
vstinner37b1d49 Add PyLong_AsDigitArray.value
vstinnerd70a121 Inline PyLong_AsInt64() to avoid the exception
vstinner4aa25f6 Remove Py_digit type; update the doc
vstinner90973d4 Merge branch 'main' into long_export
vstinner5d3e224 Add long_asnativebytes() function
vstinnerc7d7cb2 Remove reference to removed Py_digit type
vstinnera3d601a Address Antoine's review
vstinnerc049268 Merge branch 'main' into long_export
vstinner06b196b Merge branch 'main' into long_export
skirpichev3e8d296 Apply suggestions from code review
skirpichev86c68c2 Merge branch 'main' into long_export
skirpicheva8fd669 Revert "Add long_asnativebytes() function"
vstinnera04f9d0 Use PyLong_AsLongAndOverflow()
vstinnerb2be94a Try PyLong_AsLongLongAndOverflow() first
vstinnerca98ad1 Merge branch 'main' into long_export
vstinner167d75e Update Doc/c-api/long.rst
vstinner5e53a5b Sync implementation with PEP (#8)
skirpichevc24789f Merge branch 'main' into long_export
skirpichev0422f9d fix NL in Doc/c-api/long.rst (sorry, damn web editor)
skirpicheva529a48 rename news
skirpichev3db44f3 Address Erlend's review
vstinner1d2863e Address Sergey's review
vstinnerd663511 Merge branch 'main' into long_export
vstinner816798d Merge branch 'main' into long_export
vstinner033bd65 Update documentation from PEP 757
vstinner36b87d4 Update Modules/_testcapi/long.c
vstinner94d852e Sync implementation with PEP (#9)
skirpicheva72ff83 Merge branch 'main' into long_export
vstinner53d584b Cleanup
vstinner577598a Update Doc/c-api/long.rst
vstinnerb08cd55 Address Steve's review
vstinnereaebef3 Address Bénédikt's review
vstinner03248c7 Apply suggestions from code review
vstinner0a26f97 Address Steve's review
vstinner88a62fe Add PyLong_Export to Doc/data/refcounts.dat
vstinner45517ab Address Serhiy's review
vstinner92007d1 Address Petr's review
vstinner6d3cb80 Add PyLongWriter to Doc/data/refcounts.dat
vstinnerFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
PyLong_FreeDigitArray() only clears _reserved
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitcaca2d7ce7ba606c0a6501caf54a976a6043364a
There are no files selected for viewing
3 changes: 0 additions & 3 deletionsModules/_testcapi/long.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionObjects/longobject.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.