Skip to content

curses: use tempfile.TemporaryFile for get/putwin - #53

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:curses_temporaryfile
Closed

vstinner wants to merge 1 commit into
python:masterfrom
vstinner:curses_temporaryfile

Conversation

@vstinner

Copy link
Copy Markdown
Member

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.

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

codecov Bot commented Feb 12, 2017

Copy link
Copy Markdown

Codecov Report

Merging #53 into master will decrease coverage by -0.01%.
The diff coverage is n/a.

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c22bfaa...0701024. Read the comment docs.

@tiran
tiran self-requested a review February 21, 2017 14:44
@vstinner

vstinner commented Mar 2, 2017

Copy link
Copy Markdown
Member Author

@tiran wrote a simpler fix, PR #235, which was merged. I abandon my change.

@vstinner vstinner closed this Mar 2, 2017
@vstinner
vstinner deleted the curses_temporaryfile branch March 2, 2017 10:10
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

Labels

None yet

2 participants