Skip to content

onlyworlds 0.66.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 17:22
· 327 commits to main since this release
  • The review profile's readers: onlyworlds.review with proposed_mark_of, hands_on_as_proposed, PROPOSED_MARK and ProposedMark, exported from the package. proposed_mark_of(element, today=None) gives the mark as a reader that shows a world shows it, {"by", "expires", "lapsed"}, or None for a settled element (absent, None, or a value that is not an object); by and expires are trimmed of Unicode White_Space as the room profile trims, expires is read only as a day (YYYY-MM-DD, ASCII digits), and lapsed is true from that day on, in UTC as keel reads it (a today that is not a day is a TypeError). hands_on_as_proposed(element) is what a reader that hands a world on leaves out: x_review_proposed with any value but absent or None, so a malformed value (a doubt) is left out too (rule 4). pack.is_proposed now calls it. The profile has no fixture yet; tests/test_review.py holds the npm SDK's 17 cases, including one per language default that would read differently (a byte order mark, U+001C, Arabic-Indic digits).