Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1500293: fix memory leaks in _subprocess module. | Georg Brandl | 2006-06-04 | 1 | -3/+10 |
| | |||||
* | Convert more modules to METH_VARARGS. | Georg Brandl | 2006-05-29 | 1 | -2/+2 |
| | |||||
* | Years in the making. | Tim Peters | 2006-03-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | objimpl.h, pymem.h: Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE} to PyObject_{Free, FREE} in a release build. They're aliases for the system free() now. _subprocess.c/sp_handle_dealloc(): Since the memory was originally obtained via PyObject_NEW, it must be released via PyObject_FREE (or _DEL). pythonrun.c, tokenizer.c, parsermodule.c: I lost count of the number of PyObject vs PyMem mismatches in these -- it's like the specific function called at each site was picked at random, sometimes even with memory obtained via PyMem getting released via PyObject. Changed most to use PyObject uniformly, since the blobs allocated are predictably small in most cases, and obmalloc is generally faster than system mallocs then. If extension modules in real life prove as sloppy as Python's front end, we'll have to revert the objimpl.h + pymem.h part of this patch. Note that no problems will show up in a debug build (all calls still go thru obmalloc then). Problems will show up only in a release build, most likely segfaults. | ||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | added TerminateProcess support to _subprocess driver | Fredrik Lundh | 2005-12-18 | 1 | -0/+21 |
| | |||||
* | added PSF licensing blurbs to relevant files | Fredrik Lundh | 2005-12-14 | 1 | -0/+3 |
| | |||||
* | r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100 | Fredrik Lundh | 2005-11-12 | 1 | -0/+3 |
| | | | | | | | #1346547 added basic error checking to the STARTUPINFO code in CreateProcess. | ||||
* | r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100 | Fredrik Lundh | 2005-11-12 | 1 | -0/+3 |
| | | | | | fixed resource leak in _subprocess.CreateProcess when using explicit environments | ||||
* | When using shell=True on Windows, don't display a shell window by default. ↵ | Peter Astrand | 2004-11-07 | 1 | -0/+3 |
| | | | | Fixes #1057061. | ||||
* | Before this turns into an unreadable mess, follow PEP 7 by using | Tim Peters | 2004-10-12 | 1 | -315/+340 |
| | | | | hard tab indents in C code. | ||||
* | Added Peter Astrand's subprocess module. | Fredrik Lundh | 2004-10-12 | 1 | -0/+511 |