Commit Graph
9 Commits
Author SHA1 Message Date
Shahar Naveh 2dddc63d59 Update some libs & tests to 3.14.7 (#8577)
* Update some libs and tests to 3.14.7

* test_shlex.py

* email
2026-08-22 20:55:49 +09:00
Kwak Byoung Min 483b2125e8 Fix StringIO newline splitting and character positions (#8351)
* Keep StringIO text operations CPython-compatible

Constraint: email.feedparser depends on StringIO(newline='') recognizing CR, LF, and CRLF boundaries.
Rejected: an email-specific parser workaround | StringIO is the shared root cause.
Confidence: high
Scope-risk: moderate
Directive: Keep internal storage byte-based; convert only at StringIO API boundaries.
Tested: prek run --all-files; test_memoryio; test_email; full workspace verification by contributor
Assisted-by: Codex:gpt-5.6-sol

* Run restored StringIO conformance tests

Constraint: upstream StringIO tests already cover the repaired behavior.
Rejected: new RustPython-only regression tests | existing CPython coverage is sufficient.
Confidence: high
Scope-risk: narrow
Directive: Remove expected-failure markers only while the inherited tests pass.
Tested: prek run --all-files; test_memoryio; test_email
Assisted-by: Codex:gpt-5.6-sol

* Keep StringIO newline handling consistent

Constraint: StringIO must apply its newline mode consistently when constructing, writing, and reading text.\nRejected: a readline-only fix | it leaves CR and CRLF modes internally inconsistent.\nConfidence: high\nScope-risk: moderate\nDirective: Keep StringIO buffer contents valid WTF-8 before using unchecked views.\nTested: prek run --all-files; cargo clippy -p rustpython-vm -- -D warnings; test_memoryio; test_shlex; test_email; workspace excluding rustpython-capi; full workspace manually verified by contributor\nNot-tested: local rustpython-capi workspace test crashes with a pre-existing macOS SIGSEGV\nAssisted-by: Codex:gpt-5.6-sol
2026-07-24 01:00:17 +09:00
CPython Developers 5662e988b0 Update shlex from v3.14.2-288-g06f9c8ca1c 2026-02-02 08:10:15 +09:00
Shahar Naveh a54873d302 Update shlex from 3.13.5 (#5977) 2025-07-15 21:27:05 +09:00
Hackerwins f46dd59c91 Remove unexpected successes in test_shlex 2022-01-22 17:32:31 +09:00
Padraic Fanning 344539f5c3 Unmark passing test 2022-01-17 11:19:46 -05:00
Padraic Fanning 65cb692810 Update test_shlex.py to CPython 3.9 2022-01-17 11:13:36 -05:00
Padraic Fanning 839632288a Mark erroring tests 2021-05-07 16:20:10 -04:00
Padraic Fanning 266a1e68c0 Add test_shlex from CPython 3.8 2021-05-07 16:20:10 -04:00