- 09 May, 2000 7 commits
-
-
Guido van Rossum authored
is required" (we can't say more because we don't know in which context it is called).
-
Guido van Rossum authored
Fix the string methods that implement slice-like semantics with optional args (count, find, endswith, etc.) to properly handle indeces outside [INT_MIN, INT_MAX]. Previously the "i" formatter for PyArg_ParseTuple was used to get the indices. These could overflow. This patch changes the string methods to use the "O&" formatter with the slice_index() function from ceval.c which is used to do the same job for Python code slices (e.g. 'abcabcabc'[0:1000000000L]).
-
Guido van Rossum authored
with a dot. [GvR change: only unstuff when line starts with two dots.]
-
Jack Jansen authored
-
Jack Jansen authored
Fixed the help strings. Swapped the macfsn and help button numbers.
-
Jack Jansen authored
Internet Config to set creator/type based on the extension. Donated by Oliver Steele.
-
Greg Ward authored
-
- 08 May, 2000 13 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jeremy Hylton authored
called. catch the resulting AttributeError and exit cleanly.
-
Guido van Rossum authored
Fix overflow bug in ldexp(x, exp). The 'exp' argument maps to a C int for the math library call [double ldexp(double, int)], however the 'd' PyArg_ParseTuple formatter was used to yield a double, which was subsequently cast to an int. This could overflow. [GvR: mysteriously, on Solaris 2.7, ldexp(1, 2147483647) returns Inf while ldexp(1, 2147483646) raises OverflowError; this seems a bug in the math library (it also takes a real long time to compute the Inf outcome). Does this point to a bug in the CHECK() macro? It should have discovered that the result was outside the HUGE_VAL range.]
-
Guido van Rossum authored
The following modules are specifically excluded in the Win64 build: audioop, binascii, imageop, rgbimg. They are advertised as heavily 32-bit dependent. [They should probably be fixed! --GvR]
-
Guido van Rossum authored
Changes to PC\config.[hc] for Win64. MSVC defines _WINxx to differentiate the various windows platforms. Python's MS_WINxx are keyed off of these. Note that _WIN32 (and hence MS_WIN32 in Python) are defined on Win32 *and* on Win64. This is for compatibility reasons. The idea is that the common case is that code specific to Win32 will also work on Win64 rather than being specific to Win32 (i.e. there is more the same than different in WIn32 and Win64). The following modules are specifically excluded in the Win64 build: audioop, binascii, imageop, rgbimg. They are advertised as heavily 32-bit dependent. [They should probably be fixed! --GvR] The patch to config.h looks big but it really is not. These are the effective changes: - MS_WINxx are keyed off _WINxx - SIZEOF_VOID_P is set to 8 for Win64 - COMPILER string is changed appropriately for Win64
-
Guido van Rossum authored
Fix the string methods that implement slice-like semantics with optional args (count, find, endswith, etc.) to properly handle indeces outside [INT_MIN, INT_MAX]. Previously the "i" formatter for PyArg_ParseTuple was used to get the indices. These could overflow. This patch changes the string methods to use the "O&" formatter with the slice_index() function from ceval.c which is used to do the same job for Python code slices (e.g. 'abcabcabc'[0:1000000000L]). slice_index() is renamed _PyEval_SliceIndex() and is now exported. As well, the return values for success/fail were changed to make slice_index directly usable as required by the "O&" formatter. [GvR: shouldn't a similar patch be applied to unicodeobject.c?]
-
Guido van Rossum authored
Change static slice_index() to extern _PyEval_SliceIndex() (with different return value interpretation: 0 for failure, 1 for success).
-
Guido van Rossum authored
Add declaration of PyEval_SliceIndex().
-
Guido van Rossum authored
Changes the 'b', 'h', and 'i' formatters in PyArg_ParseTuple to raise an Overflow exception if they overflow (previously they just silently overflowed). Changes by Guido: always accept values [0..255] (in addition to [CHAR_MIN..CHAR_MAX]) for 'b' format; changed some spaces into tabs in other code.
-
Guido van Rossum authored
-
- 07 May, 2000 10 commits
-
-
Jack Jansen authored
Updated for the 1.6a2 distribution: added a note about the special Tcl/Tk distribution, about Quicktime Exschange and a few minor updates.
-
Jack Jansen authored
-
Jack Jansen authored
The applets need more memory nowadays, it seems (because of navservices, maybe?). Give them 4M, that should be okay for a while.
-
Jack Jansen authored
Installer for 1.6a2. This is not the optimal location for the VCT file, it should be one level higher, but I can't be bothered fixing that this time around.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Greg Ward authored
or getattr/setattr, is all that's needed.
-
Greg Ward authored
'get_options()', 'get_command_option()', 'get_command_options()'.
-
Greg Ward authored
'get_options()'.
-
- 06 May, 2000 6 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
Put the install folders in (vise), not vise, so the include files aren't accidentally picked up by the normal build process.
-
Jack Jansen authored
-
Greg Ward authored
via an 'extra_compile_args' option in the 'build_info' dictionary.
-
Guido van Rossum authored
Fix for problem with freeze when both "-m" and "-s service" options are used. (Blessed by MarkH)
-
- 05 May, 2000 4 commits
-
-
Jack Jansen authored
Adding projects to the repository again, this time in MacBinary form. If you have added the MMPr filetype as "plain binary" in the MacCVS preferences you should revert this before doing this update. Got rid of last references to GUSI1. Upped for current python CVS status. Various minor tweaks, I guess:-)
-
Jack Jansen authored
Removed string-exception preference, added tabcheck and NavService preference, upped version number.
-
Jack Jansen authored
Auto-install on import, if NavServices is available. Unless a "no navservices" flag is set Python automagically imports this module so code that uses macfs.xxxGetFile will get NavServices dialogs.
-
Jack Jansen authored
-