New submission from dontbugme :
I'm trying to use asyncio.subproceess and am having difficulty killing the
subprocesses after timeout. My use case is launching processes that hold on to
file handles and other exclusive resources, so subsequent processes can only be
launched after the
New submission from dontbugme:
you can see https://github.com/mintty/mintty/issues/609
os.popen('chcp 65001 && ' + JAVA + ' -jar ' + CHECKSTYLE_JAR + ' -c ' +
CHECKSTYLE_XML + ' "%s/%s"' % (COMMIT_TEMP_DIT, changed)).read()
--
dontbugme added the comment:
you can add InstallPath key with the corresponding value at
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.6\]
if you want disutils installer to detect your python
That makes him detect and install the librarys or scripts to the right
directory, but
dontbugme added the comment:
After asking at the IRC channel, posborne resolved the error:
Also, the behaviour of exiting the main thread before all threads
has exited is undefined. Is the behaviour different if you add t.join() to the
end of the script?
Code:
#!/usr/bin/env python
import
dontbugme added the comment:
I did not understand the question.
If you were meaning running a plain print(), then it does work:
#!/usr/bin/env python
print "foo"
IDLE 2.6.4 No Subprocess
>>>
foo
>>>
Well, as you suggested the problem most prob
New submission from dontbugme :
PythonW.exe crash, tested under Windows 7 x86 / x64, Python v2.6.4.
The crash can be reproduced by opening and running the attached code in IDLE.
TY!
Error Message:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Python26\pythonw.exe
This
New submission from dontbugme :
The following code raises OperationalError exceptions:
python -c 'import sqlite3; sqlite3.connect(":memory:").execute("bad
syntax")'
python -c 'import sqlite3; sqlite3.connect(":memory:").execute("SELECT *
FROM n
New submission from dontbugme :
So, say I'm sub-classing ctypes.Structure with a class: MyClass.
I define __init__() in MyClass..
If I explicitly instantiate MyClass(), then the __init__() is properly
executed as expected.
But say I have a CFUNCTYPE where I set it's restype m
New submission from dontbugme :
the webbrowser library produces a zombie process when opening urls.
please see http://dev.deluge-torrent.org/ticket/928
and the original bug report (by me) on ubuntu's launchpad (https://
bugs.launchpad.net/bugs/313149) for details.
could not find any refer
New submission from dontbugme :
makesockaddr() in socketmodule.c will fall through from AF_BLUETOOTH to
AF_PACKET if none of Bluetooth protocols match. That's not a very
appropriate thing to do.
--
messages: 78483
nosy: dontbugme
severity: normal
status: open
title: undesired s
10 matches
Mail list logo