X Tutup
Skip to content

[3.13] gh-141930: Use the regular IO stack to write .pyc files for a better error message on failure (GH-141931)#142023

Merged
Yhg1s merged 1 commit intopython:3.13from
cmaloney:backport-656a64b-3.13
Dec 1, 2025
Merged

[3.13] gh-141930: Use the regular IO stack to write .pyc files for a better error message on failure (GH-141931)#142023
Yhg1s merged 1 commit intopython:3.13from
cmaloney:backport-656a64b-3.13

Conversation

@cmaloney
Copy link
Contributor

@cmaloney cmaloney commented Nov 27, 2025

  • Use open() to write the bytecode
  • Convert to unittest style asserts
  • Tweak news, thanks @vstinner
  • Tidy
  • reword NEWS, avoid word "retried" (cherry picked from commit 656a64b)

…for a better error message on failure (pythonGH-141931)

* Use open() to write the bytecode
* Convert to unittest style asserts
* Tweak news, thanks @vstinner
* Tidy
* reword NEWS, avoid word "retried"
(cherry picked from commit 656a64b)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup