Skip to content

Fix negative ints and add MARK ops#34

Merged
gleb-modal merged 4 commits intomainfrom
gleb/fix-negative-ints-and-marks
Jun 18, 2025
Merged

Fix negative ints and add MARK ops#34
gleb-modal merged 4 commits intomainfrom
gleb/fix-negative-ints-and-marks

Conversation

@gleb-modal
Copy link
Contributor

We weren't supporting signed ints. Also found that some lists use MARK op

@gleb-modal gleb-modal requested a review from ekzhang June 18, 2025 16:26
@gleb-modal gleb-modal force-pushed the gleb/fix-negative-ints-and-marks branch from fc03c7b to 016960a Compare June 18, 2025 16:27
Copy link
Contributor

@ekzhang ekzhang 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 🙏

import { expect, test } from "vitest";
import { describe, expect, test } from "vitest";
import { dumps, loads, type Protocol } from "./pickle";
import { Buffer } from "buffer";
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: import from “node:buffer”

@gleb-modal gleb-modal merged commit f7d1246 into main Jun 18, 2025
4 checks passed
@gleb-modal gleb-modal deleted the gleb/fix-negative-ints-and-marks branch June 18, 2025 17:26
billyb2 pushed a commit to depot/libmodal that referenced this pull request Jul 16, 2025
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.

2 participants