Amaury Forgeot d'Arc
14d6b0f8f0
Update project files for all Windows supported compilers
2008-04-14 19:55:40 +00:00
Brett Cannon
76ca13ca2a
Fix an accidental bug of an non-existent init function.
2008-04-13 00:25:15 +00:00
Brett Cannon
e974689038
Re-implement the 'warnings' module in C. This allows for usage of the
...
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.
Closes issue #1631171 .
2008-04-12 23:44:07 +00:00
Amaury Forgeot d'Arc
7adc776ea6
Issue 2408: remove the _types module
...
It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType),
when they can easily be obtained with python code.
These expressions even work with Jython.
I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 )
at least this change makes it simpler.
2008-04-08 22:07:05 +00:00
Andrew M. Kuchling
eba0004198
Typographical fix: 32bit -> 32-bit, 64bit -> 64-bit
2008-04-08 01:33:10 +00:00
Mark Hammond
495cf99aaf
Issue #2513 : enable 64bit cross compilation on windows.
2008-04-07 01:53:39 +00:00
Mark Hammond
8a3c8716e8
From issue 1753245 - better _winreg support for x64.
...
Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey,
KEY_WOW64_64KEY and KEY_WOW64_32KEY.
2008-04-06 01:42:06 +00:00
Amaury Forgeot d'Arc
1725f2470b
One #ifdef too much, and I broke all windows buildbots:
...
in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules.
Let this line even for older SDKs, they don't use it anyway.
2008-03-28 22:43:38 +00:00
Amaury Forgeot d'Arc
94eba715ad
Repair compilation for Visual Studio 2005.
...
I applied the same changes manually to VS7.1 and VC6 files; completely untested.
(Christian, don't try too hard merging this change into py3k.
It will be easier to do the same work again on the branch)
2008-03-28 21:55:29 +00:00
Christian Heimes
9a960c6015
Revert commit accident
2008-03-27 01:38:47 +00:00
Christian Heimes
a82e8db5e4
Hopefully added _fileio module to the Windows build system
2008-03-27 01:36:21 +00:00
Neal Norwitz
4677fbf7de
Try to fix a bunch of compiler warnings on Win64.
2008-03-25 04:18:18 +00:00
Barry Warsaw
189b6d85c9
More copyright year and version number bumps
2008-03-01 03:15:20 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Eric Smith
a73fbe791d
Added future_builtins, which contains PEP 3127 compatible versions of hex() and oct().
2008-02-23 03:09:44 +00:00
Amaury Forgeot d'Arc
e7fa408741
Compilation was broken on Windows since the introduction of Advanced String Formatting.
...
Only PCBuild (vs9) was really tested.
Changes for older compilers were done manually.
2008-02-17 20:56:31 +00:00
Martin v. Löwis
e0d30ef0ca
Patch #1736 : Fix file name handling of _msi.FCICreate.
2008-02-12 13:47:26 +00:00
Christian Heimes
95d644708e
Issue #1706 : Require Windows 2000+
...
Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too
Added -d option to build.bat (same as -c Debug) and fixed warning about /build option
Updated Windows related readme.txt files
2008-02-09 19:55:22 +00:00
Andrew MacIntyre
52895fc39f
Rename module definition file to reflect v2.6.
2008-02-03 07:01:11 +00:00
Andrew MacIntyre
e6d9010b77
Update OS/2 EMX build bits for 2.6.
2008-02-03 06:58:06 +00:00
Christian Heimes
195b883bb4
vs9to8 sync
2008-01-09 14:46:10 +00:00
Christian Heimes
b39a756afd
Added __enter__ and __exit__ functions to HKEY object
...
Added ExpandEnvironmentStrings to the _winreg module.
2008-01-08 15:46:10 +00:00
Christian Heimes
aee643b01f
Reverted last transaction. It's the wrong branch.
2008-01-04 15:34:06 +00:00
Christian Heimes
306179b173
And here is the rest of Hirokazu Yamamoto's patch for VS6.0 support. Thanks Hiro!
2008-01-04 15:29:00 +00:00
Christian Heimes
1beea3be3e
Issue #1726 : Remove Python/atof.c from PCBuild/pythoncore.vcproj
2008-01-03 15:41:30 +00:00
Christian Heimes
d9fbab2621
Removed PCbuild8/ directory and added a new build directory for VS 2005
...
based on the VS 2008 build directory to PC/VS8.0. The script
PCbuild/vs8to9.py was added to sync changes from PCbuild to PC/VS8.0.
Kristjan, the initial creator of the PCbuild8 directory is fine with the replacement. I've moved the new version of the VS 2005 build directory next to the other legacy build directories. The new sync script is based on the work of wreck and syncs changes in the project, property and solution files.
2008-01-02 17:43:40 +00:00
Christian Heimes
e1c6af06ec
The root of the project is two levels up from PC/VS7.1
2008-01-01 13:58:16 +00:00
Christian Heimes
44ac35519b
Fixed path to _ssl.c in Windows make file, take three ...
2007-12-31 19:25:22 +00:00
Christian Heimes
340f081341
Fixed path to _ssl.c in Windows make file, take two
2007-12-31 19:23:22 +00:00
Christian Heimes
763c06f760
Fixed path to _ssl.c in Windows make file
2007-12-31 19:20:57 +00:00
Christian Heimes
34ab3db862
Fixed path
2007-12-31 19:16:56 +00:00
Christian Heimes
82552229d2
Fixed include paths of PC/VS7.1
2007-12-31 16:17:13 +00:00
Christian Heimes
656dc2adee
Fix paths for build bot
2007-12-31 14:59:26 +00:00
Christian Heimes
915d5d96d8
Moved PCbuild directory to PC/VS7.1
2007-12-31 14:51:18 +00:00
Christian Heimes
0a8143f646
Applied patch #1635 : Float patch for inf and nan on Windows (and other platforms).
...
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes
61927fc049
Stupid save all didn't safe it all ...
2007-12-10 15:39:09 +00:00
Christian Heimes
7c7f6afa92
Added wide char api variants of getch and putch to msvcrt module. The wide char methods are required to fix #1578 in py3k. I figured out that they might be useful in 2.6, too.
2007-12-10 15:12:41 +00:00
Christian Heimes
3d2f564d41
Several Windows related cleanups:
...
* Removed a #define from pyconfig.h. The macro was already defined a few lines higher.
* Fixed path to tix in the build_tkinter.py script
* Changed make_buildinfo.c to use versions of unlink and strcat which are considered safe by Windows (as suggested by MvL).
* Removed two defines from pyproject.vsprops that are no longer required. Both are defined in pyconfig.h and make_buildinfo.c doesn't use the unsafe versions any more (as suggested by MvL).
* Added some more information about PGO and the property files to PCbuild9/readme.txt.
Are you fine with the changes, Martin?
2007-12-06 21:13:06 +00:00
Christian Heimes
9f6d4ceb43
Although pyconfig.h claims that WIN32 is obsolete it is still required for the locale module. locale.getdefaultlocale() fails silently w/o the WIN32 macro.
2007-12-01 01:03:20 +00:00
Christian Heimes
3971f6b8fb
Removed or replaced some more deprecated preprocessor macros.
...
Moved the _DEBUG and NDEBUG macros to two new property files.
Fixed #1527 Problem with static libs on Windows
Updated README.txt
2007-11-30 19:18:08 +00:00
Martin v. Löwis
d476a400b4
Bug #1216 : Restore support for Visual Studio 2002.
...
Will backport to 2.5.
2007-10-12 08:56:52 +00:00
Mark Hammond
a6a21fabbc
Correct use of Py_BUILD_CORE - now make sure it is defined before it is
...
referenced, and also fix definition of _WIN32_WINNT.
Resolves patch 1761803.
2007-07-30 00:45:29 +00:00
Mark Hammond
df7f38face
Correctly detect AMD64 architecture on VC2003
2007-07-27 05:08:54 +00:00
Mark Hammond
d0aabc03c6
In consultation with Kristjan Jonsson, only define WINVER and _WINNT_WIN32
...
if (a) we are building Python itself and (b) no one previously defined them
2007-07-27 04:52:32 +00:00
Martin v. Löwis
6819210b9e
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
...
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
2007-07-21 06:55:02 +00:00
Martin v. Löwis
da073e1601
Patch #1734014 : Use _I64_MAX instead of LLONG_MAX.
...
Will backport to 2.5.
2007-06-14 20:46:25 +00:00
Martin v. Löwis
71d11d30c4
Fix Windows build.
2007-06-09 07:58:05 +00:00
Martin v. Löwis
6371cd8177
Patch #1733960 : Allow T_LONGLONG to accept ints.
...
Will backport to 2.5.
2007-06-09 07:42:52 +00:00
Kristján Valur Jónsson
629ec26f63
Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.
2007-05-26 19:31:39 +00:00
Mark Hammond
5f2ba9f2b1
Remove definition of PY_UNICODE_TYPE from pyconfig.h, allowing the
...
definition in unicodeobject.h to be used, giving us the desired
wchar_t in place of 'unsigned short'. As discussed on python-dev.
2007-05-23 02:04:28 +00:00
Brett Cannon
7e93587746
Try to remove rgbimg from Windows builds.
2007-05-20 19:05:06 +00:00
Kristján Valur Jónsson
c0e9840028
Revert compiler comment to AMD64 for x64/AMD64 builds.
2007-05-04 00:25:08 +00:00
Kristján Valur Jónsson
f030394de3
Fix problems in x64 build that were discovered by the testsuite:
...
- Reenable modules on x64 that had been disabled aeons ago for Itanium.
- Cleared up confusion about compilers for 64 bit windows. There is only Itanium and x64. Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above.
- Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms.
- Fixed thread_nt.h. The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier. Anyway, win95 is no longer a target platform.
- Itertools module used wrong constant to check for overflow in count()
- PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member.
- PyLong_FromSsize_t() incorrectly specified that the operand were unsigned.
With these changes, the x64 passes the testsuite, for those modules present.
2007-05-03 20:27:03 +00:00
Kristján Valur Jónsson
7a0da19087
Complete revamp of PCBuild8 directory. Use subdirectories for each project under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64.
2007-04-30 15:17:46 +00:00
Kristján Valur Jónsson
17b8e97e2e
Merge change 54909 from release25-maint: Fix several minor issues discovered using code analysis in VisualStudio 2005 Team Edition
2007-04-25 00:10:50 +00:00
Trent Mick
e6bdb9be0e
Add the necessary dependency for the Windows VC6 build to ensure 'pythoncore'
...
is built before '_ctypes' is attempted.
Will backport to 2.5 once it is unfrozen for 2.5.1.
2007-04-13 23:22:05 +00:00
Kristján Valur Jónsson
019fcbc2e8
Fix potential crash in path manipulation on windows
2007-04-13 22:20:13 +00:00
Raymond Hettinger
eb9798892d
Prepare collections module for pure python code entries.
2007-02-28 18:37:52 +00:00
Anthony Baxter
83955ef639
update to (c) years to include 2007
2007-01-06 04:45:54 +00:00
Martin v. Löwis
2607e6c021
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
...
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
2006-11-21 18:20:25 +00:00
Tim Peters
b03c35bac3
Add missing svn:eol-style to text files.
2006-10-18 05:10:28 +00:00
Martin v. Löwis
79282a2b13
Remove obsolete file. Will backport.
2006-10-17 18:09:55 +00:00
Martin v. Löwis
7addebfde0
Patch #1457736 : Update VC6 to use current PCbuild settings.
...
Will backport to 2.5.
2006-10-17 15:18:06 +00:00
Martin v. Löwis
f56591cb52
Set the eol-style for project files to "CRLF".
2006-10-15 11:57:40 +00:00
Martin v. Löwis
6eb36b0cfa
Patch #1577551 : Add ctypes and ET build support for VC6.
...
Will backport to 2.5.
2006-10-15 08:51:22 +00:00
Martin v. Löwis
c9e82f6234
Patch #1576954 : Update VC6 build directory; remove redundant
...
files in VC7. Will backport to 2.5.
2006-10-15 07:54:40 +00:00
Georg Brandl
412a9ea10e
Patch #1572724 : fix typo ('=' instead of '==') in _msi.c.
2006-10-09 19:03:06 +00:00
Martin v. Löwis
8b274265f0
Add MSVC8 project files to create wininst-8.exe.
2006-10-04 15:25:28 +00:00
Kristján Valur Jónsson
b15a0ccf6d
Update the PCBuild8 solution.
...
Facilitate cross-compilation by having binaries in separate Win32 and x64 directories.
Rationalized configs by making proper use of platforms/configurations.
Remove pythoncore_pgo project.
Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation.
Removed I64 support, but this can be easily added by copying the x64 platform settings.
2006-09-05 17:58:12 +00:00
Neal Norwitz
094353c484
Try to get Windows bots working again
2006-08-18 04:58:33 +00:00
Barry Warsaw
d17301f95c
Enable the building of the _types module on Windows.
...
Note that this has only been tested for VS 2003 since that's all I have.
2006-07-27 23:50:40 +00:00
Georg Brandl
844f7ddcdc
Patch #1527744 : right order of includes in order to have HAVE_CONIO_H defined properly.
2006-07-24 13:46:47 +00:00
Martin v. Löwis
d22968af17
Patch #1232023 : Don't include empty path component from registry,
...
so that the current directory does not get added to sys.path.
Also fixes #1526785 .
2006-07-24 11:54:53 +00:00
Martin v. Löwis
bda0dde1c4
Patch #1448199 : Release GIL around ConnectRegistry.
2006-07-24 10:26:33 +00:00
Andrew MacIntyre
bb4503716f
Build updates for OS/2 EMX port
2006-07-23 12:57:02 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Kristján Valur Jónsson
dbeaa699cd
Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.
...
Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
2006-06-09 16:28:01 +00:00
Georg Brandl
ad62489e47
Bug #1500293 : fix memory leaks in _subprocess module.
2006-06-04 22:15:37 +00:00
Martin v. Löwis
5844b12c44
Updated version (win32-icons2.zip) from #1490384 .
2006-06-03 07:42:26 +00:00
Georg Brandl
bf92f46572
Convert more modules to METH_VARARGS.
2006-05-29 21:58:42 +00:00
Nick Coghlan
c649ec5b69
Apply modified version of Collin Winter's patch #1478788
...
Renames functional extension module to _functools and adds a Python
functools module so that utility functions like update_wrapper can be
added easily.
2006-05-29 12:43:05 +00:00
Martin v. Löwis
8301c7923d
Rest of patch #1490384 : Commit icon source, remove
...
claim that Erik von Blokland is the author of the
installer picture.
2006-05-28 16:57:38 +00:00
Kristján Valur Jónsson
f94323fbb4
Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms
2006-05-25 15:53:30 +00:00
Tim Peters
f178e5c1b7
Get the Windows build working again (recover from
...
`struct` module changes).
2006-05-23 19:34:37 +00:00
Tim Peters
31a4262d3d
Define SIZEOF_{DOUBLE,FLOAT} on Windows. Else
...
Michael Hudson's nice gimmicks for IEEE special
values (infinities, NaNs) don't work.
2006-05-22 11:29:41 +00:00
Martin v. Löwis
a43190bc78
Patch #1492356 : Port to Windows CE (patch set 1).
2006-05-22 09:15:18 +00:00
Martin v. Löwis
f90347fdbb
Patch 1490384: New Icons for the PC build.
2006-05-22 08:48:14 +00:00
Martin v. Löwis
879768dd97
Change WindowsError to carry the Win32 error code in winerror,
...
and the DOS error code in errno. Revert changes where
WindowsError catch blocks unnecessarily special-case OSError.
2006-05-11 13:28:43 +00:00
Martin v. Löwis
449be38305
Port to Python 2.5. Drop .DEF file. Change output file names to .pyd.
2006-04-22 15:19:54 +00:00
Thomas Heller
2f3f136b81
Allocate the 0x1D1A0000 base adress for the _ctypes extension module.
...
Export the COM entry point functions.
Note that there are several conflicting base addresses defined for
other extensions, also not all are listed in dllbase_nt.txt.
2006-04-13 08:33:58 +00:00
Tim Peters
c9d78aa470
Years in the making.
...
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.
2006-03-26 23:27:58 +00:00
Martin v. Löwis
9ca8789ee3
Update to Tk 8.4.12 and Tix 8.4.0
2006-03-21 13:20:29 +00:00
Neal Norwitz
c4bd28c303
Remove some more references to regex that I missed.
2006-03-16 07:05:59 +00:00
Neal Norwitz
10be10cbe7
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
2006-03-16 06:50:13 +00:00
Martin v. Löwis
f8d767198f
lower-case time_t.
2006-03-06 16:32:05 +00:00
Martin v. Löwis
a2d4d6c285
Patch #1437769 : notice that time_t is a 64-bit type in VS2005
2006-03-06 16:30:25 +00:00
Martin v. Löwis
dd860caa8f
Update copyright notice.
2006-03-05 13:39:10 +00:00
Martin v. Löwis
fbab90e95b
Import bdist_msi
2006-03-05 13:36:04 +00:00
Tim Peters
fe8a56680a
Remove svn:mime-type (inexplicably set to a binary type),
...
and set svn:eol-style to native, on some text files.
2006-03-01 06:28:58 +00:00
Martin v. Löwis
577b5b960d
Create _ast module.
...
Cleanup Python-ast.c generation.
2006-02-27 15:23:19 +00:00
Tim Peters
313fcd41ab
PyEnumKey(): Stop including the trailing NUL byte
...
in the returned string (logic error introduced by
recent patch).
2006-02-19 04:05:39 +00:00
Tim Peters
d9ab979f36
PyEnumKey(): Remove unused local.
2006-02-19 03:34:15 +00:00
Georg Brandl
b2699b242d
Add sizeof() instead of hardcoding variable length
2006-02-18 23:44:24 +00:00
Georg Brandl
9a928e787c
Patch #977553 : speed up RegEnumKey call
2006-02-18 23:35:11 +00:00
Tim Peters
c7f6cf6247
getpythonregpath(): Squash compiler warning about
...
mixing signed and unsigned types in comparison.
Relatedly, `dataSize` is declared as DWORD, not as
int, so change relevant cast from (int) to (DWORD).
2006-02-16 00:35:06 +00:00
Martin v. Löwis
18e165558b
Merge ssize_t branch.
2006-02-15 17:27:45 +00:00
Martin v. Löwis
9fb181bab3
Add _lsprof.
2006-02-14 21:25:29 +00:00
Georg Brandl
b69406dc09
Update general copyright years to 2006.
2006-02-11 15:30:36 +00:00
Martin v. Löwis
f84d1b9375
Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.
...
Proposed by Tim Peters.
2006-02-11 09:27:05 +00:00
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