Skip to content

0.144.0: a share leaves out a file it could not read as an element - #43

Merged
tmoosting merged 1 commit into
mainfrom
share-unread
Nov 23, 2026
Merged

tmoosting merged 1 commit into
mainfrom
share-unread

Conversation

@tmoosting

Copy link
Copy Markdown
Member

The folder format's rule for a share, as ruled on 2026-11-23: a share carries a file in a type folder only when the writer read it as an element and found no hidden mark. A file there that could not be read (not UTF-8 JSON, a write cut short, nested more than 200 deep, a number that is not finite, not an object) is left out too, and unread_left_out= receives those paths apart from the hidden ones. Until now a share carried a file that was no JSON, so a hidden element whose file was cut short travelled with its text.

A copy carries such a file byte for byte. 0.143.0's ValueError for a file the reader refuses is gone.

Eight faults planted one at a time each turn a test red.

🤖 Generated with Claude Code

… copy carries it as it is

The folder format's rule for a share, as ruled on 2026-11-23: a share carries a file in a type folder
only when the writer read it as an element and found no hidden mark. A file there that could not be
read (not UTF-8 JSON, a write cut short, nested more than 200 deep, a number that is not finite, not
an object) is left out too, and unread_left_out, a second list, receives those paths apart from the
hidden ones. Until now a share carried a file that was no JSON, so a hidden element whose file was cut
short travelled with its text.

A copy carries such a file byte for byte and never rewrites it. 0.143.0's ValueError for a file the
reader refuses is gone: nothing raises for such a file.

Eight faults planted one at a time each turn a test red.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@tmoosting
tmoosting merged commit f80d1fc into main Nov 23, 2026
11 checks passed
@tmoosting
tmoosting deleted the share-unread branch November 23, 2026 19:00

This branch was previously deployed

1 inactive deployment
pypi — f80d1fc4 Deployed Nov 23, 2026 by tmoosting via publish #231
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.

1 participant