Tim Peters
9cda54dda3
Assorted Windows buildno, copyright and version number changes for 2.2.1a1.
...
Repair PY_VERSION in patchlevel.h.
2002-02-28 07:43:20 +00:00
Martin v. Löwis
0d21e64409
Include <unistd.h> in Python.h. Fixes #500924 .
2002-01-12 11:13:24 +00:00
Tim Peters
fc1a7ce985
Update the example Windows extension to 2.2 (was hardcoded to 2.1).
2001-12-15 22:27:01 +00:00
Tim Peters
1ca1296157
The parser doesn't need its own implementation of assert, and having its
...
own interfered with including Python.h. Remove Python's assert.h.
2001-12-04 03:18:48 +00:00
Barry Warsaw
58ab084ac6
PyWin_FindRegisteredModule(): Conversion of sprintf() to
...
PyOS_snprintf() for buffer overrun avoidance.
2001-11-28 21:03:37 +00:00
Tim Peters
603c6831d0
SF patch 473749 compile under OS/2 VA C++, from Michael Muller.
...
Changes enabling Python to compile under OS/2 Visual Age C++.
2001-11-05 02:45:59 +00:00
Tim Peters
5b40f1c212
SF bug #474077 2.2b1: Error compiling extns with BCC
...
Removed "#undef HAVE_HYPOT" line from Borland config, as suggested.
Whether this will break some other Borland usage is a good question I
can't answer.
2001-10-30 21:09:55 +00:00
Tim Peters
1566a17af5
Get hotshot closer to compiling on Windows.
...
Still broken: GETTIMEOFDAY. This macro obviously isn't being defined
on Windows, so there's logic errors here I'd rather Fred untangled.
2001-10-12 22:08:39 +00:00
Mark Hammond
19fdbfb5c4
Fix bug #410274 - sys.prefix isn't always set.
...
If after calculating sys.path we do not have sys.prefix set, we loop over all path entries checking if one can point to our home directory.
2001-09-07 14:08:01 +00:00
Mark Hammond
c2d272a1d5
Base address updates for bug #442142 - DLL base assignments need update
2001-09-06 06:42:00 +00:00
Tim Peters
6e13a562ae
Enable large file support on Win32 systems.
...
Curious: the MS docs say stati64 etc are supported even on Win95, but
Win95 doesn't support a filesystem that allows partitions > 2 Gb.
test_largefile: This was opening its test file in text mode. I have no
idea how that worked under Win64, but it sure needs binary mode on Win98.
BTW, on Win98 test_largefile runs quickly (under a second).
2001-09-06 00:32:15 +00:00
Tim Peters
79248aa1e4
SF bug [ #456252 ] Python should never stomp on [u]intptr_t.
...
pyport.h: typedef a new Py_intptr_t type.
DELICATE ASSUMPTION: That HAVE_UINTPTR_T implies intptr_t is
available as well as uintptr_t. If that turns out not to be
true, things must get uglier (C99 wants both, so I think it's
an assumption we're *likely* to get away with).
thread_nt.h, PyThread_start_new_thread: MS _beginthread is documented
as returning unsigned long; no idea why uintptr_t was being used.
Others: Always use Py_[u]intptr_t, never [u]intptr_t directly.
2001-08-29 21:37:10 +00:00
Tim Peters
a6b9e3c814
Windows fiddling for 2.2a2: bump build number; update copyright and
...
company info in resource files; change installer strings to match.
This belongs in the release branch too, of course.
2001-08-19 00:56:28 +00:00
Tim Peters
6d6c1a35e0
Merge of descr-branch back into trunk.
2001-08-02 04:15:00 +00:00
Tim Peters
76f373d081
Repair more now-obsolete references to config.h.
2001-07-26 21:34:59 +00:00
Martin v. Löwis
4f1cd8bdcb
Patch #411138 : Rename config.h to pyconfig.h. Closes bug #231774 .
2001-07-26 13:41:06 +00:00
Neil Schemenauer
7d4bb9f179
Add -E command line switch (ignore environment variables like PYTHONHOME
...
and PYTHONPATH).
2001-07-23 16:30:27 +00:00
Fred Drake
832181e5dc
Define the constants needed to allow the os.tempnam(), os.tmpfile(), and
...
os.tmpnam() functions to be made available.
This is part of SF patch #435492 .
2001-07-17 20:35:59 +00:00
Tim Peters
0d5dd68692
Python.h: Don't attempt to redefine NDEBUG if it's already defined.
...
Others: Remove redundant includes of assert.h.
2001-07-15 18:38:47 +00:00
Fredrik Lundh
793c1972fe
make wchar_t usable again on Windows (this enables the MBCS codecs)
2001-06-27 19:49:17 +00:00
Fredrik Lundh
9b14ab367a
Make Unicode work a bit better on Windows...
2001-06-26 22:59:49 +00:00
Tim Peters
208efe5640
Windows build broke from recent Unicode changes -- need to #define
...
SIZEOF_SHORT by hand here.
Also added dynamic check that SIZEOF_SHORT is correct for the platform (in
_testcapimodule).
2001-06-26 22:40:47 +00:00
Tim Peters
58e0a8c130
SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
2001-05-14 22:32:33 +00:00
Tim Peters
d29abb9915
SF bug 418296: WinMain.c should use WIN32_LEAN_AND_MEAN.
...
I believe Kevin Rodgers here! The old WINDOWS_LEAN_AND_MEAN has, AFAICT,
always been wrong.
2001-04-24 05:16:29 +00:00
Tim Peters
7f00deb032
SF bug #417508 : 'hypot' not found with Borland C++Build.
2001-04-21 03:20:47 +00:00