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