-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements #570
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
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements #570
Conversation
|
@orenmn, thanks for your PR! By analyzing the history of the files in this pull request, we identified @brettcannon, @serhiy-storchaka, @vadmium, @doerwalter and @Yhg1s to be potential reviewers. |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an entry in Misc/NEWS.
Modules/arraymodule.c
Outdated
| (unsigned long) ((unsigned int *)ap->ob_item)[i]); | ||
| } | ||
|
|
||
| static int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just return PyObject * (NULL if error). This simplifies the code and perhaps makes easier changing it for using __index__.
|
Oh, I reverted just merged commit! How to restore it back? |
|
It was not merged into master. Don't worry. |
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](getsentry/sentry-python@1.7.1...1.7.2) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
according to http://bugs.python.org/issue28298:
__int__) as elementslong longis available(I ran the test module again, and on my Windows 10, the same tests failed with
and without my patches. However, on my Ubuntu 16.04 VM, none of the tests
failed.)