Skip to content

First draft for fixing issue #2566 - #2567

Merged
klayoutmatthias merged 5 commits into
masterfrom
bugfix/issue-2566
Nov 30, 2026
Merged

klayoutmatthias merged 5 commits into
masterfrom
bugfix/issue-2566

Conversation

@klayoutmatthias

Copy link
Copy Markdown
Collaborator

The solution is to serialize 64bit as "#l..."/"#ul..." and 32bit as "#.../#u..." both on Windows and Linux. This way, new files written with the new version can be read by old Windows versions and old Linux versions.

On deserialization, "#l..." and "#..." is turned into 64bit or 32bit, depending on the value. Same for
"#ul..." and "#u...". This way, there should be
no difference between Windows and Linux and new
Windows versions can read Linux files written with old versions.

Matthias Koefferlein added 3 commits November 26, 2026 23:27
The solution is to serialize 64bit as "#l..."/"#ul..."
and 32bit as "#.../#u..." both on Windows and Linux.
This way, new files written with the new version can
be read by old Windows versions and old Linux versions.

On deserialization, "#l..." and "#..." is turned into
64bit or 32bit, depending on the value. Same for
"#ul..." and "#u...". This way, there should be
no difference between Windows and Linux and new
Windows versions can read Linux files written with
old versions.
@klayoutmatthias
klayoutmatthias merged commit 985e2aa into master Nov 30, 2026
24 checks passed
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.

Python int serialized in metadata as C++ long and fails to be read on Windows

1 participant