Skip to content

[8.7.0] starlark interpreter: Fix string.splitlines() incorrectly splitting UTF8 characters (https://github.com/bazelbuild/bazel/pull/28909)#28932

Merged
iancha1992 merged 1 commit intobazelbuild:release-8.7.0from
bazel-io:cp28909-8.7.0-164726
Mar 9, 2026

Conversation

@bazel-io
Copy link
Copy Markdown
Member

@bazel-io bazel-io commented Mar 9, 2026

string.splitlines() should not split on u+0085 (NEL) in UTF-8 as byte array mode.

Closes #28909.

RELNOTES[INC]: string.splitlines() no longer incorrectly treats u+0085 (NEL) as a
newline character

PiperOrigin-RevId: 880902483
Change-Id: Id7c26c84eb50259c576036f333b0ccdb83f681d5

Commit 77acc77

…TF8 characters (bazelbuild#28909)

string.splitlines() should not split on u+0085 (NEL) in UTF-8 as byte array mode.

Closes bazelbuild#28909.

RELNOTES[INC]: string.splitlines() no longer incorrectly treats u+0085 (NEL) as a
newline character

PiperOrigin-RevId: 880902483
Change-Id: Id7c26c84eb50259c576036f333b0ccdb83f681d5
@bazel-io bazel-io requested a review from a team as a code owner March 9, 2026 16:47
@bazel-io bazel-io added team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel awaiting-review PR is awaiting review from an assigned reviewer labels Mar 9, 2026
@bazel-io bazel-io requested review from fmeum and tetromino March 9, 2026 16:47
@iancha1992 iancha1992 added this pull request to the merge queue Mar 9, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 9, 2026
@iancha1992 iancha1992 added this pull request to the merge queue Mar 9, 2026
Merged via the queue into bazelbuild:release-8.7.0 with commit b5d7197 Mar 9, 2026
47 checks passed
@github-actions github-actions Bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants