Commit Graph

519 Commits

Author SHA1 Message Date
Tim Peters 773feaf529 initwinsound(): this no longer compiled on Windows,
because code snuck in between auto declarations.
2006-01-19 15:25:07 +00:00
Tim Peters 2188bf03bc initmsvcrt(): This no longer compiled on Windows, because
a recent change inserted code before an auto declaration.
2006-01-19 15:21:30 +00:00
Neal Norwitz 1ac754fa10 Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis 4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Tim Peters c3d12ac88c const poisoning, spreading to fix new const warnings
in _winreg.c.
2005-12-24 06:03:06 +00:00
Fredrik Lundh e515293567 added TerminateProcess support to _subprocess driver 2005-12-18 21:06:46 +00:00
Fredrik Lundh 63168a52f4 added PSF licensing blurbs to relevant files 2005-12-14 22:29:34 +00:00
Walter Dörwald 51490ace7e Fix typo. 2005-11-30 20:16:17 +00:00
Martin v. Löwis e2a060257f Silence VS2005 warnings about deprecated functions. 2005-11-29 17:09:13 +00:00
Martin v. Löwis 30b4975d29 Limit x86 machine instructions and Win95 support to _M_IX86. 2005-11-29 17:08:24 +00:00
Fredrik Lundh 3a49e92d7d r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100
#1346547

 added basic error checking to the STARTUPINFO code
 in CreateProcess.
2005-11-12 10:15:14 +00:00
Fredrik Lundh bb4692b6f2 r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100
fixed resource leak in _subprocess.CreateProcess when using
 explicit environments
2005-11-12 10:15:03 +00:00
Martin v. Löwis ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
Fred Drake db390c1ad8 fix typos, mostly in comments 2005-10-28 14:39:47 +00:00
Raymond Hettinger d56827c38f Add AST files to VC6 build. 2005-10-23 04:47:13 +00:00
Raymond Hettinger 94ac197531 Update the PC configuration and project files for sha256 and sha512. 2005-08-24 00:28:21 +00:00
Georg Brandl 7eb4b7d177 Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Raymond Hettinger 9c323f8de4 SF patch #941881: PEP 309 Implementation (Partial Function Application).
Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
2005-02-28 19:39:44 +00:00
Andrew MacIntyre 6ed710a15b update version numbers 2005-02-17 12:50:27 +00:00
Andrew MacIntyre 578371f080 add notes about subprocess module & thread stacks, SSL support 2005-02-17 12:46:34 +00:00
Andrew MacIntyre 744b313d85 add build machinery for the SSL socket module 2005-02-17 12:44:51 +00:00
Trent Mick 4d81ac9ca8 Update PSF copyright year to 2005. 2005-02-09 21:03:47 +00:00
Thomas Heller 9f2e3be4e8 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.

Already backported.
2005-02-03 20:35:10 +00:00
Thomas Heller 8abe7bfb2f Set PYTHONHOME before loading Python, so that sys.path will be set correctly.
Already backported.
2005-02-03 20:11:28 +00:00
Andrew MacIntyre ff59f3c416 make thread stack size compile-time tunable on OS/2, increase main stack 2005-01-17 12:18:12 +00:00
Thomas Heller 54266fce8d cvsignore files generated by make_versioninfo. 2004-12-31 16:37:32 +00:00
Martin v. Löwis a2cc2695bb Update example to VC 7.1. Will backport to 2.4. 2004-12-29 14:15:58 +00:00
Thomas Heller 0f25b72228 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

Already backported.
2004-12-22 17:24:14 +00:00
Andrew MacIntyre d0278ec97f OS/2 specific fixes related to SF bug # 1003471 2004-12-12 08:28:11 +00:00
Raymond Hettinger de7b99045d Update the MSC6 pythoncore projects to compile for Py2.5 2004-12-02 08:53:14 +00:00
Thomas Heller 8992b9bdf5 printf format code for integers is %d not %s.
Will backport.
2004-12-01 19:43:02 +00:00
Thomas Heller 6ad6ee6411 Update import library name on windows. 2004-12-01 19:39:52 +00:00
Thomas Heller 9cc5cb7c4b Running the pre-install or post-install script did not work when
Python was installed with the 'only for me' option. The registry key
had a hardcoded '2.3' in it where the python version chosen for
installation should be used instead.

Will backport myself.
2004-12-01 18:18:08 +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
Andrew MacIntyre fec1ce0b72 remove rotor module 2004-10-03 08:29:55 +00:00
Andrew MacIntyre 3dac89edaf note module removals, update on BitTorrent issue 2004-10-03 08:26:36 +00:00
Andrew MacIntyre 96b3725ca0 bring modules up to date, correct .DEF file version 2004-10-03 08:11:30 +00:00
Tim Peters 862f0593d8 Introduced a Py_IS_NAN macro, which probably works on the major platforms
today.  pyconfig.h can override it if not, and can also override
Py_IS_INFINITY now.  Py_IS_NAN and Py_IS_INFINITY are overridden now
for Microsoft compilers, using efficient MS-specific spellings.
2004-09-23 19:11:32 +00:00
Martin v. Löwis 5a6653cee1 Revert creation of launcher.exe 2004-09-08 15:57:36 +00:00
Martin v. Löwis 97329754f8 Add support for launcher.exe 2004-09-07 15:40:12 +00:00
Martin v. Löwis ab9351bf36 Add main program for icon file. 2004-09-03 13:32:57 +00:00
Raymond Hettinger 53e50cb6b3 Remove rotor from the build. 2004-08-31 19:33:47 +00:00
Raymond Hettinger 6ce6ef3e78 Remove rotor and xreadlines from VC 6 build. 2004-08-31 18:54:35 +00:00
Martin v. Löwis 7bbed946ea Fix installdir for Tix 2004-08-31 16:19:01 +00:00