This is an archive of the discontinued LLVM Phabricator instance.

[lld] Pass random.randint stop parameter as int.
ClosedPublic

Authored by jacek on Mar 10 2023, 1:24 PM.

Details

Reviewers
thakis
int3
Group Reviewers
Restricted Project
Commits
rG015c43178f9d: [lld] Pass random.randint stop parameter as int.
Summary

It's required by Python 3.12, from https://docs.python.org/3.12/library/random.html "Changed in version 3.12: Automatic conversion of non-integer types is no longer supported."

Diff Detail

Event Timeline

jacek created this revision.Mar 10 2023, 1:24 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 10 2023, 1:24 PM
jacek requested review of this revision.Mar 10 2023, 1:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2023, 1:24 PM
int3 accepted this revision.Mar 10 2023, 1:27 PM
int3 added a subscriber: int3.

Thanks!

This revision is now accepted and ready to land.Mar 10 2023, 1:27 PM
jacek added a comment.Mar 10 2023, 4:56 PM

Thanks. I don't have commit access, so please commit it.

This revision was automatically updated to reflect the committed changes.