Repository navigation
-
Builds on released Mojo 1.0. The pixi channel moved from
max-nightlytomaxand the dependency pin from>=1.0.0b3.dev…to
>=1.0,<2; CI installsmojo==1.0.0from PyPI instead of the nightly
index with--prerelease allow. The weekly drift check still runs
against the latest nightly, so the repo still reports when the language
moves under it. No source changes were needed. -
README test count corrected: 38 → 59. The 173 CPython
urllib.parse
fixtures still regenerate byte-identical, and 600 mutated inputs ran
with zero crashes and zero hangs. -
New
url.errorsmodule — the position-aware parse-error pattern shared
across the mojo-* parser suite:line_colmaps a byte offset in a
source buffer to a 1-based (line, byte-column) pair, andparse_error
builds anErrorreading<msg> at line <L>, column <C>: '<snippet>'
with a whitespace-trimmed, ~30-byte, UTF-8-safe snippet of the
offending line. Exported asurl.line_col/url.parse_error.
The library itself mirrorsurllib.parse's permissive behavior and has
no raising parse paths today, so no existing messages changed; the
helpers are ready for future strict/validating APIs. 21 new unit tests
intest/test_errors.mojocover every documented edge case.