Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add PyObject.to_int() method returning i64#394

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

Open
nelhage wants to merge2 commits intoegraphs-good:main
base:main
Choose a base branch
Loading
fromnelhage:claude/implement-pyobject-to-int-NUp85

Conversation

@nelhage
Copy link

Add the py-to-int primitive that extracts a Python integer as i64, complementing the existing from_int method for bidirectional conversion.

Implemented using Claude Code, but reviewed by me before submission. I would find this useful for some current work, where I end up moving between the Python domain and the egglog domain fairly heavily.

Add the py-to-int primitive that extracts a Python integer as i64,complementing the existing from_int method for bidirectional conversion.
@codspeed-hq
Copy link

codspeed-hqbot commentedDec 18, 2025
edited
Loading

CodSpeed Performance Report

Merging#394 willnot alter performance

Comparingnelhage:claude/implement-pyobject-to-int-NUp85 (35ea382) withmain (6a892ec)

Summary

✅ 14 untouched

Copy link
Member

@saulshanabrooksaulshanabrook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you! Could you add a little test for this in test_high_level?

Yeah the current set of primitives with py objects are rather arbitrary, would be good to fill them out more.

@nelhage
Copy link
Author

Done! Looks like the test failures are infra issues, at a glance.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@saulshanabrooksaulshanabrooksaulshanabrook approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@nelhage@saulshanabrook@claude

[8]ページ先頭

©2009-2025 Movatter.jp