GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — curses: use tempfile.TemporaryFile for get/putwin by vstinner · Pull Request #53 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented Feb 12, 2017

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner
curses: use tempfile.TemporaryFile for get/putwin
0701024
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.
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Feb 12, 2017
@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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
Anselm Kruis
Stackless issue python#78: documentation update for iterating over ch…
79a08c8
…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
@lazka
distutils: split CC env var before passing to subprocess
15865f0
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
@lazka
distutils: split CC env var before passing to subprocess
8736112
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
8dde599
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
@lazka
distutils: split CC env var before passing to subprocess
382c91e
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
589c897
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
@lazka
distutils: split CC env var before passing to subprocess
1cd69ce
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
@lazka
distutils: split CC env var before passing to subprocess
5078595
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
@lazka
distutils: split CC env var before passing to subprocess
bd80176
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
@lazka
distutils: split CC env var before passing to subprocess
60018eb
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
@lazka
distutils: split CC env var before passing to subprocess
4887479
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
@lazka
distutils: split CC env var before passing to subprocess
bd4dc38
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
@lazka
distutils: split CC env var before passing to subprocess
7d93733
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
5a85f6d
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
21faf87
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
@lazka
distutils: split CC env var before passing to subprocess
951d58c
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
@lazka
distutils: split CC env var before passing to subprocess
0009d8b
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
@pablogsal
Merge pull request python#53 from CharlieZhao95/pep701/test_eof
41ba177
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
@lazka
distutils: split CC env var before passing to subprocess
891ca39
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
@lazka
distutils: split CC env var before passing to subprocess
4d1ca25
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
8df0b4a
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
c505e40
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
38acd55
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
8c6c325
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
2230fe3
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
5a5a8c0
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
e8b4d9e
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
e5554ff
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
870a004
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
fbe2d01
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
67ad65e
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
@lazka @naveen521kk
distutils: split CC env var before passing to subprocess
31fb064
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
@lazka
distutils: split CC env var before passing to subprocess
93e0902
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
@gvanrossum gvanrossum mentioned this pull request Aug 22, 2023
heap-use-after-free in _PyFunction_LookupByVersion #108253
Closed
lazka added a commit to lazka/cpython that referenced this pull request Aug 27, 2023
@lazka
distutils: split CC env var before passing to subprocess
9c6aaae
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
@LinanV LinanV mentioned this pull request Oct 23, 2023
Objects/typeobject.c: No such file or directory. #111203
Closed
lazka added a commit to lazka/cpython that referenced this pull request Feb 10, 2024
@lazka
distutils: split CC env var before passing to subprocess
3193430
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
@kcatss kcatss mentioned this pull request Feb 20, 2024
Use After Free at _heapreplace_max #115706
Closed
lazka added a commit to lazka/cpython that referenced this pull request Aug 25, 2024
@lazka
distutils: split CC env var before passing to subprocess
28f8b0c
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
@ngoldbaum ngoldbaum mentioned this pull request Sep 23, 2024
Crash running PyO3 tests with --test-threads=1000 #124375
Closed
This was referenced Feb 11, 2025
segmentfault when pip installing setuptools #129992
Closed
segmentfault when pip installing setuptools #129993
Closed
@sergey-miryanov sergey-miryanov mentioned this pull request Dec 18, 2025
Observed memory leak in ssl library: Python 3.14 GC issue #142516
Closed
@ngoldbaum ngoldbaum mentioned this pull request Mar 6, 2026
Remove deprecated and undocumented function ctypes.SetPointerType #133866
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tiran tiran Awaiting requested review from tiran

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vstinner @the-knights-who-say-ni
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.