[issue17824] pty.spawn handles errors improperly

2013-04-23 Thread Gustavo Niemeyer
New submission from Gustavo Niemeyer: This simple script will spawn N Python interpreters that aren't properly collected due to the improper error handling: import pty for i in range(N): try: pty.spawn(["/non-existent"]) except: pass -- components: Library

[issue1521950] shlex.split() does not tokenize like the shell

2012-02-22 Thread Gustavo Niemeyer
Changes by Gustavo Niemeyer : -- nosy: -niemeyer ___ Python tracker <http://bugs.python.org/issue1521950> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9071] TarFile doesn't support member files with a leading "./"

2010-06-29 Thread Gustavo Niemeyer
Gustavo Niemeyer added the comment: Indeed, nice use of the time machine! :-) Thanks Lars! -- ___ Python tracker <http://bugs.python.org/issue9071> ___ ___ Pytho

[issue9071] TarFile doesn't support member files with a leading "./"

2010-06-24 Thread Gustavo Niemeyer
Gustavo Niemeyer added the comment: Please note that even if unpacking such a tar might be semantically equivalent to a version which strips out the "./" prefix, it should be possible to create a tar with valid path names such as these. In the case of debs, for instance, the files

[issue1287] os.environ.pop doesn't work

2007-10-16 Thread Gustavo Niemeyer
Changes by Gustavo Niemeyer: -- nosy: niemeyer severity: normal status: open title: os.environ.pop doesn't work versions: Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.6, Pytho

[issue1287] os.environ.pop doesn't work

2007-10-16 Thread Gustavo Niemeyer
New submission from Gustavo Niemeyer: >>> import os >>> os.system("echo $ASD") 0 >>> os.environ["ASD"] = "asd" >>> os.system("echo $ASD") asd 0 >>> os.environ.pop("ASD") 'asd