504 Commits

Author SHA1 Message Date
Martin v. Löwis
a50f9a4ea0 Patch #1570253: Fix build problems caused by backports. 2006-10-04 09:12:40 +00:00
Andrew M. Kuchling
e7031223e3 [Backport of rev. 42093 by neal.norwitz]
Check return result from Py_InitModule*().  This API can fail.

Probably should be backported.
2006-09-27 19:17:32 +00:00
Georg Brandl
bf1f7683ab Bug #1500293: fix memory leaks in _subprocess module.
(backport from rev. 46651)
2006-06-04 22:15:45 +00:00
Anthony Baxter
022a55c0d9 update - still some old .cvsignore files lying around 2006-03-23 02:26:07 +00:00
Neal Norwitz
3273cb5eee Backport r42314 which fixed Windows breakage when checking that socket
descriptors fit in fd_set.

Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.
Proposed by Tim Peters implemented by Martin von Loewis.
2006-02-12 21:07:17 +00:00
Georg Brandl
2fec8b935f Update general copyright year to 2006. 2006-02-11 15:30:59 +00:00
Georg Brandl
87494a52f1 Fix all wrong instances of "it's". 2005-07-22 21:48:52 +00:00
Andrew MacIntyre
28c2ae28fe add notes about subprocess module & thread stacks, SSL support 2005-02-17 12:47:42 +00:00
Andrew MacIntyre
7db9cb36fe add build machinery for the SSL socket module 2005-02-17 12:47:03 +00:00
Thomas Heller
2ee5bae04a Running a bdist_wininst installer, built with Python 2.3, installing
for Python 2.4 caused a segfault when post_install_script was used.

The reason was that the file handle passed to PyRun_SimpleFile() was
created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL.

So, I replaced PyRun_SimpleFile() with PyRun_SimpleString().  The
segfault is gone, but the output of the postinstall script doesn't
show up, because still freopen() from MSVCRT is used.
2005-02-03 20:37:04 +00:00
Thomas Heller
698fcf469b Set PYTHONHOME before loading Python, so that sys.path will be set correctly.
Already backported.
2005-02-03 20:09:24 +00:00
Andrew MacIntyre
59fc345b9d backport: make thread stack size compile-time tunable on OS/2, incr main stack 2005-01-17 12:20:31 +00:00
Martin v. Löwis
83100494fc Update example to VC 7.1. 2004-12-29 14:21:24 +00:00
cvs2svn
78bdc04232 This commit was manufactured by cvs2svn to create branch
'release24-maint'.
2004-12-29 14:21:24 +00:00
Thomas Heller
e179698419 Close stdout and stderr, which are redirected into a temp file, before
trying to remove this file - the file was never removed before.

Fixes [ 1067732 ] wininst --install-script leaves residual files
2004-12-22 16:49:05 +00:00
Thomas Heller
21b112869e Fix a typo from the last checkin. 2004-12-22 16:40:30 +00:00
Thomas Heller
625ba9511c Backport of rev. 1.12 from the trunk. 2004-12-22 16:33:38 +00:00
Andrew MacIntyre
e6b4ad34b4 backport of OS/2 specific fixes related to SF bug # 1003471 2004-12-12 08:32:41 +00:00
Peter Astrand
c1d6536d60 When using shell=True on Windows, don't display a shell window by default. Fixes #1057061. 2004-11-07 14:30:34 +00:00
Martin v. Löwis
919637afb0 Add _subprocess.c 2004-10-15 04:27:51 +00:00
Martin v. Löwis
15b23a083d Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x. 2004-10-15 04:26:18 +00:00
Tim Peters
4eb59782a8 Supply the _subprocess module under 7.1. I'm not sure what the status
of this should be on non-WIN32 Windows variants.
2004-10-12 21:48:57 +00:00
Tim Peters
f3250b0b0b Before this turns into an unreadable mess, follow PEP 7 by using
hard tab indents in C code.
2004-10-12 21:38:22 +00:00
Fredrik Lundh
5b3687df2e Added Peter Astrand's subprocess module. 2004-10-12 15:26:28 +00:00
Tim Peters
7f468f29f4 SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
2004-10-11 02:40:51 +00:00