8000 Replace tostring() with tobytes() in stroke.py by askmeaboutlo0m · Pull Request #1300 · mypaint/mypaint · GitHub
[go: up one dir, main page]

Skip to content

Replace tostring() with tobytes() in stroke.py #1300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

askmeaboutlo0m
Copy link
Contributor

Because numpy removed the former function (in a minor release) with numpy/numpy#28254. The function was an alias, so there's no change in behavior, i.e. it always returned bytes.

See also 2a92b6b, where the same function was already replaced in strokemap.py.

Because numpy removed the former function (in a minor release) with
numpy/numpy#28254. The function was an alias, so there's no change in
behavior, i.e. it always returned bytes.

See also 2a92b6b, where the same
function was already replaced in strokemap.py.
Copy link
Contributor
@AesaraB AesaraB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AesaraB AesaraB merged commit ab017e0 into mypaint:master Jun 23, 2025
2 checks passed
jtojnar pushed a commit that referenced this pull request Jul 21, 2025
Because numpy removed the former function (in a minor release) with
numpy/numpy#28254. The function was an alias, so there's no change in
behavior, i.e. it always returned bytes.

See also 2a92b6b, where the same
function was already replaced in strokemap.py.

(cherry picked from commit ab017e0)
jtojnar pushed a commit that referenced this pull request Jul 21, 2025
Because numpy removed the former function (in a minor release) with
numpy/numpy#28254. The function was an alias, so there's no change in
behavior, i.e. it always returned bytes.

See also 2a92b6b, where the same
function was already replaced in strokemap.py.

(cherry picked from commit ab017e0)
jtojnar pushed a commit that referenced this pull request Jul 21, 2025
Because numpy removed the former function (in a minor release) with
numpy/numpy#28254. The function was an alias, so there's no change in
behavior, i.e. it always returned bytes.

See also 2a92b6b, where the same
function was already replaced in strokemap.py.

(cherry picked from commit ab017e0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0