-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
curses: use tempfile.TemporaryFile for get/putwin #53
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bpo-29176: getwin() and putwin() functions of the curses module now use tempfile.TemporaryFile instead of calling the C mkstemp() function to create a temporary file in a more portable and safer manner.
Codecov Report
@@ Coverage Diff @@
## master #53 +/- ##
==========================================
- Coverage 82.37% 82.37% -0.01%
==========================================
Files 1427 1427
Lines 350948 350948
==========================================
- Hits 289093 289087 -6
- Misses 61855 61861 +6 Continue to review full report at Codecov.
|
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Sep 9, 2017
…annels - document, that the sender must notify the receiver of an end-of-iteration condition by sending a StopIteration exception. - document the return value of channel.send_sequence() - issue python#53: document the behaviour of channel.close() - add another test case to test_chanel. https://bitbucket.org/stackless-dev/stackless/issues/78 https://bitbucket.org/stackless-dev/stackless/issues/53 (grafted from 38b6cdef017849134ee433c78d6daf168c1c01e2)
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Nov 10, 2021
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Nov 21, 2021
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jan 23, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Mar 8, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Mar 13, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Apr 22, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Apr 24, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Apr 24, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Apr 24, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
May 17, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
May 27, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Jun 6, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Jun 24, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Sep 22, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Dec 8, 2022
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Mar 2, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
isidentical
pushed a commit
to isidentical/cpython
that referenced
this pull request
Mar 28, 2023
test_eof: Fix failed case `test_eof_with_line_continuation`
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Apr 7, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Apr 16, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 18, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 20, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 23, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 24, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
naveen521kk
pushed a commit
to naveen521kk/cpython
that referenced
this pull request
Jun 25, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Jul 28, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Aug 27, 2023
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Feb 10, 2024
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
lazka
added a commit
to lazka/cpython
that referenced
this pull request
Aug 25, 2024
In case CC="ccache gcc" then subprocess would interpret it as one command and fail to find it. Instead split the command line into separate arguments. Fixes python#53
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
bpo-29176: getwin() and putwin() functions of the curses module now
use tempfile.TemporaryFile instead of calling the C mkstemp()
function to create a temporary file in a more portable and safer
manner.