| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
company info in resource files; change installer strings to match.
This belongs in the release branch too, of course.
|
| |
|
| |
|
| |
|
|
|
|
| |
and PYTHONPATH).
|
|
|
|
|
|
| |
os.tmpnam() functions to be made available.
This is part of SF patch #435492.
|
|
|
|
| |
Others: Remove redundant includes of assert.h.
|
| |
|
| |
|
|
|
|
|
|
| |
SIZEOF_SHORT by hand here.
Also added dynamic check that SIZEOF_SHORT is correct for the platform (in
_testcapimodule).
|
| |
|
|
|
|
|
| |
I believe Kevin Rodgers here! The old WINDOWS_LEAN_AND_MEAN has, AFAICT,
always been wrong.
|
| |
|
|
|
|
| |
installations.
|
|
|
|
|
| |
to be used in Windows. They got out of synch. Repaired that, and added
comments to each one pointing at the other.
|
|
|
|
| |
NOTE: someone who understands Unix config should remove it from acconfig.h too.
|
|
|
|
| |
#131064, #129584, #127722. See the discussion in bug #131064
|
|
|
|
|
| |
If someone knows how to turn the new table of guaranteed-registered system
sounds into a LaTeX table, be my guest.
|
| |
|
| |
|
|
|
|
|
| |
do something non-useless on Win9X boxes. WinME unknown to me. Someone with
NT/2000 make sure it still works there!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SF patch #103683: Alternative dll version resources.
Changes similar to the patch. MarkH should review.
File version and Product version text strings now 2.1a2.
64-bit file and product version numbers are now
PY_MAJOR_VERSION, PY_MINOR_VERSION, messy, PYTHON_API_VERSION
where
messy = PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL
Updated company name to "Digital Creations 2".
Copyright now lists Guido; "C in a circle" symbol used instead of (C).
Comments added so this is less likely to get flubbed again, and
#if/#error guys added to trigger if the version number manipulations
above overflow.
|
| |
|
| |
|
| |
|
|
|
|
| |
MSVC project file (as the instructions always recommended doing).
|
|
|
|
| |
subproject is gone, replaced by the new pythoncore subproject.
|
|
|
|
|
|
|
| |
Wasn't built on Windows; not in config.c either.
Module init function missing DL_EXPORT magic.
test_xreadline output file obviously wrong (started w/ "test_xrl").
test program very unclear about what was expected.
|
|
|
|
| |
Still needs docs; see bug report (which was reassigned to Fred) for MS's docs.
|
| |
|
| |
|
|
|
|
| |
quick) patch Patch #101801.
|
|
|
|
| |
dont need to announce it to the world every time they use freeze!
|
|
|
|
|
|
| |
(I had explicitly disabled it a while ago, possibly unecessarily, along with
rgbimg, audioop, and imageop, which are advertised as "not for 64-bit
platforms.)
|
|
|
|
|
|
| |
If there was a NULL registry key, Python could barf.
Also wraps some surrounding lines to 80 chars.
|
|
|
|
| |
This should match the situation in the 1.6b1 tree.
|
|
|
|
|
|
|
|
|
|
|
| |
ceval.c:
define recurion_limit (static), default value is 2500
define Py_GetRecursionLimit and Py_SetRecursionLimit
raise RuntimeError if limit is exceeded
PC/config.h:
remove plat-specific definition
sysmodule.c:
add sys.(get|set)recursionlimit
|
|
|
|
| |
HKEY_CURRENT_USER can override.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes it possible to use gnu-win32 and lcc-win32
(http://www.cs.virginia.edu/~lcc-win32/) compilers to build
extension modules. It adds compiler specific sections to
PC/config.h .
It also extends the Borland compiler section. This has then two parts,
one for Win32 and the other one for the rest. The Win32 part
should be almost complete.
*** This patch is not intended to make it possible to compile
Python with these compilers, it is intended to be able to
use these compilers to build extension modules. ****
|
|
|
|
| |
Ensure the "proxied" command's return code bubbles back up.
|
|
|
|
| |
with uintptr_t (fix MSVC 5.0 build)
|
|
|
|
|
| |
python20_d.lib) only active on MSVC++; different library formats needed
for different compilers, and it's handled by the Distutils anyways.
|
|
|
|
| |
object.
|
|
|
|
| |
they include prototypes.
|
|
|
|
|
| |
char**) and return an int even on PC platforms. If not, please fix
PC/utils/makesrc.c ;-P
|
|
|
|
|
|
|
|
|
|
| |
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
|