[issue4928] Problem with tempfile.NamedTemporaryFile on Solaris 10
New submission from Richard Philips : On Solaris 10 (Solaris 10 5/08 s10x_u5wos_10 X86), with python 2.5 (Python 2.5.2 (r252:60911, Sep 8 2008, 16:53:36) [C] on sunos5), tempfile.NamedTemporaryFile creates - as advertised - a temporary file. After closing this file object (e.g. by exiting the python process), the temporary file is indeed removed. But if you just kill the python process, the temporary file is not destroyed. This behavior is different on Red Hat Linux and MS Vista, on these OSes the temporary file is removed. A snapshot to illustrate the behavior: [moto /]# python Python 2.5.2 (r252:60911, Sep 8 2008, 16:53:36) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import os, tempfile >>> f = tempfile.NamedTemporaryFile() >>> f.name '/tmp/tmpfHraUd' >>> os.getpid() 4403 >>> x = "With root priveleges, I execute: 'kill 4403'" >>> >>> Terminated [moto /]# -- components: Library (Lib) messages: 79727 nosy: rphilips severity: normal status: open title: Problem with tempfile.NamedTemporaryFile on Solaris 10 type: behavior versions: Python 2.5 ___ Python tracker <http://bugs.python.org/issue4928> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4928] Problem with tempfile.NamedTemporaryFile on Solaris 10
Richard Philips added the comment: [Replaces msg 79727] On Solaris 10 (Solaris 10 5/08 s10x_u5wos_10 X86), with python 2.5 (Python 2.5.2 (r252:60911, Sep 8 2008, 16:53:36) [C] on sunos5), tempfile.NamedTemporaryFile creates - as advertised - a temporary file. After closing this file object (e.g. by exiting the python process), the temporary file is indeed removed. But if you just kill the python process, the temporary file is not destroyed. This behavior is different on Red Hat Linux and MS Vista, on these OSes the temporary file is removed. A snapshot to illustrate the behavior: [moto /]# python Python 2.5.2 (r252:60911, Sep 8 2008, 16:53:36) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import os, tempfile >>> f = tempfile.NamedTemporaryFile() >>> f.name '/tmp/tmpfHraUd' >>> os.getpid() 4403 >>> x = "With root priveleges, I execute: 'kill 4403'" >>> >>> Terminated [moto /]# ls /tmp/tmpfHraUd /tmp/tmpfHraUd [moto /]# ___ Python tracker <http://bugs.python.org/issue4928> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20278] Wrong URL to the pysqlite web page
New submission from Richard Philips: The reference to the pysqlite web page on: http://docs.python.org/3.4/library/sqlite3.html should be: https://github.com/ghaering/pysqlite -- assignee: docs@python components: Documentation messages: 208261 nosy: Richard.Philips, docs@python priority: normal severity: normal status: open title: Wrong URL to the pysqlite web page versions: Python 3.4 ___ Python tracker <http://bugs.python.org/issue20278> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com