319 Commits

Author SHA1 Message Date
Tim Peters
43825132d3 Update the Windows DLL resource info for 2.2.3. 2003-05-30 16:01:58 +00:00
Tim Peters
1fda5e5c12 Assorted 2.2.3c1 and copyright changes specific to Windows. 2003-05-22 15:39:10 +00:00
Neal Norwitz
421535989a backport:
revision 1.14
date: 2003/01/15 23:38:15;  author: mhammond;  state: Exp;  lines: +1 -1
Correct docstring for SetValueEx()

revision 1.13
date: 2002/12/20 20:13:35;  author: theller;  state: Exp;  lines: +1 -1
Fix an error message in the _winreg module. The error message referred
to a constant in the 'win32con' module, but this constant is also
defined in the _winreg module itself.
2003-02-02 19:26:25 +00:00
Tim Peters
b20643d03c Update FIELD3 of Windows 64-bit binary version # for 2.2.2. 2002-10-14 15:07:34 +00:00
Tim Peters
1759eb778e SF bug 621507: python22.dll incorrect "File version".
The MS resource compiler can't do arithmetic.  Fixed it by hand.  Note
that the new PCbuild\field3.py was added to help with this, and injects
another manual step into the Python Windows release process.
2002-10-11 18:38:20 +00:00
Neal Norwitz
4732ffc057 Fix grammar 2002-04-15 22:59:45 +00:00
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