[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Charles-François Natali
Charles-François Natali added the comment: > it seems that this patch could be safely removed from our port tree. Alright, I'm closing then. > Thanks for all information. And thanks for your help and bug reports concerning OpenBSD-specific issues! -- resolution: -> rejected stage:

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Remi Pointel
Remi Pointel added the comment: > I could be missing something, but why do you have this patch in the first > place? I'm recently working on porting Python for OpenBSD, and this patch exists since python2.5 (since 4 years in our tree). So I don't have all responses, but I think this issue co

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Remi Pointel
Remi Pointel added the comment: I was reporting this because I thought it was better to include this upstream. However, I understand if you don't want to include this specific case. We can keep this patch in our tree, I understand your position. --

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Charles-François Natali
Charles-François Natali added the comment: > We can keep this patch in our tree, I understand your position. I could be missing something, but why do you have this patch in the first place? If it turns out to be useful, then it's of course better to include it upstream, I just don't see what t

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Charles-François Natali
Charles-François Natali added the comment: > Because it's not exactly a bug, can you only apply the patch to Python 3.3? Well, we could, but: - it doesn't fix a bug - it doesn't bring any obvious benefit (performance, security, etc) - it introduces an OS-specific case for no reason I'm open to

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread STINNER Victor
STINNER Victor added the comment: > can you only apply the patch ... Hum, I mean can *we* only apply ... -- ___ Python tracker ___ _

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread STINNER Victor
STINNER Victor added the comment: Because it's not exactly a bug, can you only apply the patch to Python 3.3? -- nosy: +haypo ___ Python tracker ___

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Charles-François Natali
Charles-François Natali added the comment: > /usr/tmp is not (used) on OpenBSD. How is that a problem? Those are just possible temporary directories to try, so if it doesn't exist, it won't be used (typically ENOENT will be catched when opening a tmpfile). Also, since it's listed last, that's

[issue12827] OS-specific location in Lib/tempfile.py for OpenBSD

2011-08-23 Thread Remi Pointel
New submission from Remi Pointel : Hello, /usr/tmp is not (used) on OpenBSD. We have specific patch to do this, but I prefer to have this modification upstream. 2.5: http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/python/2.5/patches/patch-Lib_tempfile_py 2.7: http://www.openbsd.org/cgi-bin