]> granicus.if.org Git - python/log
python
24 years agoUpdate magic number.
Jeremy Hylton [Fri, 1 Sep 2000 20:33:26 +0000 (20:33 +0000)]
Update magic number.

Fix import support to work with import as variant of Python 2.0.  The
grammar for import changed, requiring changes in transformer and code
generator, even to handle compilation of imports with as.

24 years agoInstall LICENSE.txt and README.txt.
Tim Peters [Fri, 1 Sep 2000 19:59:11 +0000 (19:59 +0000)]
Install LICENSE.txt and README.txt.
In the Welcome dialog:
    Reworded reference to non-existent "Exit Setup" button.
    Removed useless "Back" button.
    Changed "push" to "click".

24 years agoTentative license. Could still change for the 2.0b1 release and will
Guido van Rossum [Fri, 1 Sep 2000 19:51:14 +0000 (19:51 +0000)]
Tentative license.  Could still change for the 2.0b1 release and will
definitely change for the 2.0 final release.

24 years agoGuido pointed out that the "non-admin install" blurb got displayed
Tim Peters [Fri, 1 Sep 2000 19:30:26 +0000 (19:30 +0000)]
Guido pointed out that the "non-admin install" blurb got displayed
very late in the process when running on Windows 2000 without admim
privs.  Rearranged so that the admin check is done at the start
instead.  Added words to the end of the blurb to make it very clear
how to abort the install (wasn't obvious to me that "Cancel" was
the right thing to click).

24 years agoAdding new files, removing some.
Guido van Rossum [Fri, 1 Sep 2000 19:27:34 +0000 (19:27 +0000)]
Adding new files, removing some.

24 years agoRepaired damaged comments, and extra spaces in fatal error msgs we'd better
Tim Peters [Fri, 1 Sep 2000 19:26:36 +0000 (19:26 +0000)]
Repaired damaged comments, and extra spaces in fatal error msgs we'd better
not ever see!

24 years agoThe usual
Guido van Rossum [Fri, 1 Sep 2000 19:25:51 +0000 (19:25 +0000)]
The usual

24 years agoCorrect configure.in version.
Guido van Rossum [Fri, 1 Sep 2000 19:22:55 +0000 (19:22 +0000)]
Correct configure.in version.

24 years agoMove the Py_DECREF(x) after the error: label so that we don't leak x
Guido van Rossum [Fri, 1 Sep 2000 15:35:12 +0000 (15:35 +0000)]
Move the Py_DECREF(x) after the error: label so that we don't leak x
when PyDict_SetItemString() fails.

24 years agoRob Hooft, Moshe Zadka: converted to 4 space indents and re instead of regex.
Guido van Rossum [Fri, 1 Sep 2000 13:41:37 +0000 (13:41 +0000)]
Rob Hooft, Moshe Zadka: converted to 4 space indents and re instead of regex.

24 years agoBack off to HKCU (instead of HKLM) if user doesn't have "NT adminstrator
Tim Peters [Fri, 1 Sep 2000 11:45:02 +0000 (11:45 +0000)]
Back off to HKCU (instead of HKLM) if user doesn't have "NT adminstrator
privileges".  Untested except on Win98SE (where Wise writes to HKLM).

24 years agoCosmetics on Py_Get/SetRecursionLimit (for the style guide)
Vladimir Marangozov [Fri, 1 Sep 2000 11:07:19 +0000 (11:07 +0000)]
Cosmetics on Py_Get/SetRecursionLimit (for the style guide)

24 years agoUpdate documentation for PyErr_Format, because the function has changed.
Moshe Zadka [Fri, 1 Sep 2000 09:47:20 +0000 (09:47 +0000)]
Update documentation for PyErr_Format, because the function has changed.
Connected to patch 100895

24 years agoDo the absolute minimal amount of modifications to eradicate
Barry Warsaw [Fri, 1 Sep 2000 09:01:32 +0000 (09:01 +0000)]
Do the absolute minimal amount of modifications to eradicate
Py_FatalError() from module initialization functions.  The importing
mechanism already checks for PyErr_Occurred() after module importation
and it Does The Right Thing.

Unfortunately, the following either were not compiled or tested by the
regression suite, due to issues with my development platform:

almodule.c
cdmodule.c
mpzmodule.c
puremodule.c
timingmodule.c

24 years agoTool to generate binary GNU .mo file from .po template files. Written
Barry Warsaw [Fri, 1 Sep 2000 08:10:08 +0000 (08:10 +0000)]
Tool to generate binary GNU .mo file from .po template files.  Written
by Martin v. Loewis, proofed by Barry Warsaw for coding standards,
typos, and to make command line options compatible with GNU msgfmt
where they overlap.

Closes patch #101295.

24 years agoAdded installation of w9xpopen.exe.
Tim Peters [Fri, 1 Sep 2000 07:54:04 +0000 (07:54 +0000)]
Added installation of w9xpopen.exe.
Removed installation of Lib/plat-win/*.py, because it no longer exists!

24 years agoFix grouping, again. This time properly :-) Sorry, guys.
Thomas Wouters [Fri, 1 Sep 2000 07:53:25 +0000 (07:53 +0000)]
Fix grouping, again. This time properly :-) Sorry, guys.

24 years agoApplying patch #100994 to allow JPython to use more of the standard
Barry Warsaw [Fri, 1 Sep 2000 06:53:52 +0000 (06:53 +0000)]
Applying patch #100994 to allow JPython to use more of the standard
Python test suite.  Specifically,

- import time instead of strop in test_b1

- test for ClassType of exceptions using isinstance instead of
  equality in test_exceptions

- remove __builtins__ from dir() output in test_pkg

test_pkg output needs to be regenerated.

24 years agoFix test_popen2 on Windows, recently broken by changes to the dict(!)
Tim Peters [Fri, 1 Sep 2000 06:51:24 +0000 (06:51 +0000)]
Fix test_popen2 on Windows, recently broken by changes to the dict(!)
implementation.  You don't want to know.  I've asked Guido to give this
a critical review (we agreed on the approach, but the implementation
proved more ... interesting ... than anticipated).  This will almost
certainly be the highlight of Mark Hammond's day <wink>.

24 years agoApplied patch #101350, closing it.
Barry Warsaw [Fri, 1 Sep 2000 06:40:07 +0000 (06:40 +0000)]
Applied patch #101350, closing it.

24 years agoDocument the new optional argument "rest" on the transfercmd(),
Barry Warsaw [Fri, 1 Sep 2000 06:32:32 +0000 (06:32 +0000)]
Document the new optional argument "rest" on the transfercmd(),
ntransfercmd(), and retrbinary() commands.  This closes SF patch
#101187.

24 years agoAdded support for RFC 959's REST command (restart), closing SF patch
Barry Warsaw [Fri, 1 Sep 2000 06:09:23 +0000 (06:09 +0000)]
Added support for RFC 959's REST command (restart), closing SF patch
#101187, which some modifications.  Specifically,

ntransfercmd(), transfercmd(), and retrbinary() all grow an optional
`rest' argument, which if not None, is used as the argument to an FTP
REST comman dbefore the socket is returned.  Differences from the SF
patch:

- always compare against None with `is' or `is not' instead of == or !=

- no parens around conditional

- RFC 959 defines the argument to REST is a string containing any
  ASCII characters in the range [33..126].  Therefore, we use the %s
  format character instead of %f or %d as suggested in the patch's
  comments.  Note that we do /not/ sanity checkthe contents of the
  rest argument (but we'll document this in the library reference
  manual).

24 years agoDocument PyImport_AppendInittab(), PyImport_ExtendInittab(), and
Fred Drake [Fri, 1 Sep 2000 05:30:00 +0000 (05:30 +0000)]
Document PyImport_AppendInittab(), PyImport_ExtendInittab(), and
struct _inittab.

This closes SourceForge bug #111499.

24 years agoset the default threshold much higher
Jeremy Hylton [Fri, 1 Sep 2000 04:01:55 +0000 (04:01 +0000)]
set the default threshold much higher
we don't need to run gc frequently

24 years agocode part of patch #100895 by Fredrik Lundh
Jeremy Hylton [Fri, 1 Sep 2000 03:49:47 +0000 (03:49 +0000)]
code part of patch #100895 by Fredrik Lundh

PyErr_Format computes size of buffer needed rather than relying on
static buffer.

24 years agoDon't call Py_FatalError in module initialization
Jeremy Hylton [Fri, 1 Sep 2000 03:46:16 +0000 (03:46 +0000)]
Don't call Py_FatalError in module initialization
(leaving the rest of the modules for Barry)

24 years agoRevert removal of void from function definition. Guido sez I can take it
Tim Peters [Fri, 1 Sep 2000 03:34:26 +0000 (03:34 +0000)]
Revert removal of void from function definition.  Guido sez I can take it
out again after we complete switching to C++ <wink>.  Thanks to Greg Stein
for hitting me.

24 years agoNow that StreamRequestHandler defaults rfile to buffered, make it
Guido van Rossum [Fri, 1 Sep 2000 03:27:34 +0000 (03:27 +0000)]
Now that StreamRequestHandler defaults rfile to buffered, make it
unbuffered (by setting the class variable rbufsize to 0), because we
(may) need to pass the file descriptor to the subprocess running the
CGI script positioned after the headers.

24 years agoIn class StreamRequestHandler, make the default buffering for rfile
Guido van Rossum [Fri, 1 Sep 2000 03:25:14 +0000 (03:25 +0000)]
In class StreamRequestHandler, make the default buffering for rfile
and wfile class variables (that the instance can also override).
Change the default for rfile to buffered, because that seems to make a
big difference in performance on some platforms.

An anti-patch is needed to revert the effect in CGIHTTPServer.py which
I'll check in momentarily.

24 years agorefactor __del__ exception handler into PyErr_WriteUnraisable
Jeremy Hylton [Fri, 1 Sep 2000 02:47:25 +0000 (02:47 +0000)]
refactor __del__ exception handler into PyErr_WriteUnraisable
add sanity check to gc: if an exception occurs during GC, call
PyErr_WriteUnraisable and then call Py_FatalEror.

24 years agoAdd three prototypes for functions in history.h to shut up gcc -Wall.
Guido van Rossum [Fri, 1 Sep 2000 02:43:38 +0000 (02:43 +0000)]
Add three prototypes for functions in history.h to shut up gcc -Wall.

24 years agoMoodules -> Modules.
Guido van Rossum [Fri, 1 Sep 2000 02:40:11 +0000 (02:40 +0000)]
Moodules -> Modules.

24 years agoAdd parens suggested by gcc -Wall.
Guido van Rossum [Fri, 1 Sep 2000 02:39:00 +0000 (02:39 +0000)]
Add parens suggested by gcc -Wall.

24 years agoRepaired comment.
Tim Peters [Fri, 1 Sep 2000 02:20:20 +0000 (02:20 +0000)]
Repaired comment.

24 years agoSet the recursion limit to 1000 -- 2500 was not enough, let's be
Guido van Rossum [Fri, 1 Sep 2000 01:52:08 +0000 (01:52 +0000)]
Set the recursion limit to 1000 -- 2500 was not enough, let's be
conservative.

24 years agoRene Liebscher/Thomas Heller:
Greg Ward [Fri, 1 Sep 2000 01:44:45 +0000 (01:44 +0000)]
Rene Liebscher/Thomas Heller:
* ensure the "dist" directory exists
* raise exception if using for modules containing compiled extensions
  on a non-win32 platform.
* don't create an .ini file anymore (it was just for debugging)

24 years agoRene Liebscher:
Greg Ward [Fri, 1 Sep 2000 01:28:33 +0000 (01:28 +0000)]
Rene Liebscher:
* reverse library names from bcpp_library to library_bcpp
* move some code to the right places, to put the def-files
  in the right directories again

24 years agoRene Liebscher: comment fixes.
Greg Ward [Fri, 1 Sep 2000 01:24:31 +0000 (01:24 +0000)]
Rene Liebscher: comment fixes.

24 years agoRene Liebscher: hack '_init_posix()' to handle the BeOS linker script.
Greg Ward [Fri, 1 Sep 2000 01:23:26 +0000 (01:23 +0000)]
Rene Liebscher: hack '_init_posix()' to handle the BeOS linker script.
(With a worry-wart comment added by me about where we *should* add the
Python library to the link.)

24 years agoBump version to 0.9.2.
Greg Ward [Fri, 1 Sep 2000 01:00:40 +0000 (01:00 +0000)]
Bump version to 0.9.2.

24 years agoAdded 'run_setup()' to allow outsiders to run a setup script under
Greg Ward [Fri, 1 Sep 2000 00:52:45 +0000 (00:52 +0000)]
Added 'run_setup()' to allow outsiders to run a setup script under
fairly tight control, and the '_setup_stop_after' and '_setup_distribution'
globals to provide the tight control.

This isn't entirely reliable yet: it dies horribly with a NameError on the
example PIL setup script in examples/pil_setup.py (at least with Python
1.5.2; untested with current Python).  There's some strangeness going
on with execfile(), but I don't understand it and don't have time
to track it down right now.

24 years agoSupply missing prototypes for new Py_{Get,Set}RecursionLimit; fixes compiler wngs;
Tim Peters [Fri, 1 Sep 2000 00:01:58 +0000 (00:01 +0000)]
Supply missing prototypes for new Py_{Get,Set}RecursionLimit; fixes compiler wngs;
un-analize Get's definition ("void" is needed only in declarations, not defns, &
is generally considered bad style in the latter).

24 years agoGNUTranslations._parse(): Fix portability problems on 64-bit machines
Barry Warsaw [Thu, 31 Aug 2000 23:28:52 +0000 (23:28 +0000)]
GNUTranslations._parse(): Fix portability problems on 64-bit machines
by masking all unsigned integers with 0xffffffff.

24 years agocloses bug #112468 (and all the other bugs that surfaced when
Fredrik Lundh [Thu, 31 Aug 2000 22:57:55 +0000 (22:57 +0000)]
closes bug #112468 (and all the other bugs that surfaced when
I fixed the a bug in the regression test harness...)

24 years agoFix BeOS check in the libainstall target; noted by Mark Favas
Fred Drake [Thu, 31 Aug 2000 22:02:46 +0000 (22:02 +0000)]
Fix BeOS check in the libainstall target; noted by Mark Favas
<m.favas@per.dem.csiro.au>.

24 years agoMinor adjustment to Setup.in message, based on comment from Barry Warsaw.
Fred Drake [Thu, 31 Aug 2000 21:53:03 +0000 (21:53 +0000)]
Minor adjustment to Setup.in message, based on comment from Barry Warsaw.

24 years agoAfter rerunning autoheader, two symbols (HAVE__GETPTY and WITH_LIBDB)
Guido van Rossum [Thu, 31 Aug 2000 20:03:54 +0000 (20:03 +0000)]
After rerunning autoheader, two symbols (HAVE__GETPTY and WITH_LIBDB)
appear in a different place.  Oh well.

24 years agoTest case to exercise fix for error propogation bug in dictionarys.
Fred Drake [Thu, 31 Aug 2000 19:48:52 +0000 (19:48 +0000)]
Test case to exercise fix for error propogation bug in dictionarys.

24 years agoFix markup error and minor consistency nit.
Fred Drake [Thu, 31 Aug 2000 19:35:56 +0000 (19:35 +0000)]
Fix markup error and minor consistency nit.

24 years agoSlight performance hack that also avoids requiring the existence of thread
Fred Drake [Thu, 31 Aug 2000 19:31:38 +0000 (19:31 +0000)]
Slight performance hack that also avoids requiring the existence of thread
state for dictionaries that have only been indexed by string keys.

See the comments in SourceForge for more.

This closes SourceForge patch #101309.

24 years agoscript that reports a fairly safe recursionlimit for a specific platform
Jeremy Hylton [Thu, 31 Aug 2000 19:24:17 +0000 (19:24 +0000)]
script that reports a fairly safe recursionlimit for a specific platform

24 years agoadd user-modifiable recursion_limit
Jeremy Hylton [Thu, 31 Aug 2000 19:23:01 +0000 (19:23 +0000)]
add user-modifiable recursion_limit

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

24 years agoClear errors raised by PyObject_Compare() without losing any existing
Fred Drake [Thu, 31 Aug 2000 19:04:07 +0000 (19:04 +0000)]
Clear errors raised by PyObject_Compare() without losing any existing
exception context.  This avoids improperly propogating errors raised by
a user-defined __cmp__() by a subsequent lookup operation.

This patch does *not* include the performance enhancement patch for
dictionaries with string keys only; that will be checked in separately.

This closes SourceForge patch #101277 and bug #112558.

24 years agoThis module has a poor name, since it can be used under FreeBSD and
Jeremy Hylton [Thu, 31 Aug 2000 18:11:07 +0000 (18:11 +0000)]
This module has a poor name, since it can be used under FreeBSD and
Linux.  Perhaps winaudio would be better, as it would offend both
parties equally.

tg@freebsd.org: allow this module to compile under FreeBSD
(he suggests voxwareaudio)

24 years agopatch #101733: fix glitch in FreeBSD conf
Jeremy Hylton [Thu, 31 Aug 2000 17:45:35 +0000 (17:45 +0000)]
patch #101733: fix glitch in FreeBSD conf

24 years agoDocument the limitation that urllib does not work with proxies which
Fred Drake [Thu, 31 Aug 2000 17:23:35 +0000 (17:23 +0000)]
Document the limitation that urllib does not work with proxies which
require authenication.  This is an implementation limitation rather than
required behavior, and may be fixed in the future.

This closes SourceForge bug #111725.

24 years agoIf Setup is older than Setup.in, issue a bold warning that the Setup may
Fred Drake [Thu, 31 Aug 2000 16:56:15 +0000 (16:56 +0000)]
If Setup is older than Setup.in, issue a bold warning that the Setup may
need to be checked to make sure all the latest information is present.

This closes SourceForge patch #101275.

24 years agoRemove obsolete --with(out)-readline configure option
Vladimir Marangozov [Thu, 31 Aug 2000 16:40:08 +0000 (16:40 +0000)]
Remove obsolete --with(out)-readline configure option

24 years agoAdded abstract.
Greg Ward [Thu, 31 Aug 2000 16:36:31 +0000 (16:36 +0000)]
Added abstract.

24 years agoUNARY_NEG is supposed to be UNARY_NEGATIVE (spotted by Charles Waldman
Fred Drake [Thu, 31 Aug 2000 16:26:35 +0000 (16:26 +0000)]
UNARY_NEG is supposed to be UNARY_NEGATIVE (spotted by Charles Waldman
<cgw@fnal.gov>).

Fix minor problem with EXTENDED_ARG description markup..

24 years agoSkip Montanaro <skip@mojam.com>:
Fred Drake [Thu, 31 Aug 2000 16:13:20 +0000 (16:13 +0000)]
Skip Montanaro <skip@mojam.com>:
Update the generated files related to the autoconf support for BSD db.

This closes SourceForge patch #101272.

24 years agoSkip Montanaro <skip@mojam.com>:
Fred Drake [Thu, 31 Aug 2000 16:11:07 +0000 (16:11 +0000)]
Skip Montanaro <skip@mojam.com>:
Update the build structures to automatically detect the presence of BSD db,
including the proper name of the header file to include.  Has all the
expected niceties associated with yet-more-configure-options.  ;)

This checkin includes changes for non-generated files only; subsequent
checkin will catch those.

This is part of SourceForge patch #101272.

24 years agofixes bug #111951
Jeremy Hylton [Thu, 31 Aug 2000 15:48:10 +0000 (15:48 +0000)]
fixes bug #111951
applies patch #101369 by Moshe Zadke
use explicit list of always safe characters instead of string.letters
add test case

24 years agoUpdate some version information for tools based on prodding from Greg Ward.
Fred Drake [Thu, 31 Aug 2000 15:29:38 +0000 (15:29 +0000)]
Update some version information for tools based on prodding from Greg Ward.

24 years ago_PySys_Init(): When setting up sys.version_info, use #if/#elif.../#endif
Fred Drake [Thu, 31 Aug 2000 15:21:11 +0000 (15:21 +0000)]
_PySys_Init():  When setting up sys.version_info, use #if/#elif.../#endif
                instead of four #if/#endif blocks.  This shortens the
                code and improves readability.

24 years agoapply patch #101362 by Vladimir Marangozov
Jeremy Hylton [Thu, 31 Aug 2000 15:10:24 +0000 (15:10 +0000)]
apply patch #101362 by Vladimir Marangozov
also initial static debug variable to 0

24 years agoGet rid of "sec:" prefix that slipped into a couple of \label's.
Greg Ward [Thu, 31 Aug 2000 14:47:05 +0000 (14:47 +0000)]
Get rid of "sec:" prefix that slipped into a couple of \label's.

24 years agoGNUTranslations.BE_MAGIC: don't be so clever in calculating this from
Barry Warsaw [Thu, 31 Aug 2000 10:45:54 +0000 (10:45 +0000)]
GNUTranslations.BE_MAGIC: don't be so clever in calculating this from
LE_MAGIC; it breaks on Tru64.

24 years agoNew method getnamespace.
Sjoerd Mullender [Thu, 31 Aug 2000 10:27:00 +0000 (10:27 +0000)]
New method getnamespace.
Since the application never gets to see the namespace abbreviation
used in the XML document, but some applications may need to know them,
we provide this method.

24 years agoBe a little more careful to avoid including style information in the
Fred Drake [Thu, 31 Aug 2000 07:19:07 +0000 (07:19 +0000)]
Be a little more careful to avoid including style information in the
generated markup.

Don't be careless with the navigation icons!  We should use the blank
icon where there is not anyplace to go for a particular position in the
navigation bar.

24 years agoAlways room to remove more formatting from the HTML!
Fred Drake [Thu, 31 Aug 2000 07:15:57 +0000 (07:15 +0000)]
Always room to remove more formatting from the HTML!

24 years agoFix grouping: this is how I intended it, misguided as I was in boolean
Thomas Wouters [Thu, 31 Aug 2000 07:02:19 +0000 (07:02 +0000)]
Fix grouping: this is how I intended it, misguided as I was in boolean
operator associativity.

24 years agoMove common parameters to mkhowto to a variable, add up-link from the
Fred Drake [Thu, 31 Aug 2000 07:00:17 +0000 (07:00 +0000)]
Move common parameters to mkhowto to a variable, add up-link from the
generated documents to the document index.

24 years agoAdd --up-link and --up-title parameters to allow linking the top level
Fred Drake [Thu, 31 Aug 2000 06:58:34 +0000 (06:58 +0000)]
Add --up-link and --up-title parameters to allow linking the top level
of the generated document to an external index.  These correspond to the
-up_url and -up_title parameters of LaTeX2HTML.

24 years agoPush some table header formatting to the style sheet; this also helps
Fred Drake [Thu, 31 Aug 2000 06:22:54 +0000 (06:22 +0000)]
Push some table header formatting to the style sheet; this also helps
separate some of the ties between l2hinit.perl and python.perl.

Revamp the "title page" construction to allow more flexibility.

24 years agoRemove obsolete scripts.
Fred Drake [Thu, 31 Aug 2000 06:15:30 +0000 (06:15 +0000)]
Remove obsolete scripts.

24 years agoAdd --l2h-init option, which can augment the standard LaTeX2HTML
Fred Drake [Thu, 31 Aug 2000 06:14:38 +0000 (06:14 +0000)]
Add --l2h-init option, which can augment the standard LaTeX2HTML
initialization with additional Perl files.  This can be given more
than once.

24 years agoCentralize the processing logic for LaTeX documents into the mkhowto script;
Fred Drake [Thu, 31 Aug 2000 06:12:35 +0000 (06:12 +0000)]
Centralize the processing logic for LaTeX documents into the mkhowto script;
do not use mkdvi.sh or mkhtl.sh any more.

This slows down building all versions of the documentation, but if you are
only building one format, it does not matter.

24 years agoRelocate the popen2 documentation since it is now substantially more
Fred Drake [Thu, 31 Aug 2000 06:09:26 +0000 (06:09 +0000)]
Relocate the popen2 documentation since it is now substantially more
portable.

24 years agoPyOS_CheckStack(): Better ANSI'fy this while we're at it.
Fred Drake [Thu, 31 Aug 2000 05:52:44 +0000 (05:52 +0000)]
PyOS_CheckStack():  Better ANSI'fy this while we're at it.

24 years agoDocument PyOS_CheckStack().
Fred Drake [Thu, 31 Aug 2000 05:50:40 +0000 (05:50 +0000)]
Document PyOS_CheckStack().
Fix a couple of really minor markup nits.

24 years agoAdd a comment explaining the return value of PyOS_CheckStack().
Fred Drake [Thu, 31 Aug 2000 05:38:39 +0000 (05:38 +0000)]
Add a comment explaining the return value of PyOS_CheckStack().

24 years agoPeter Schneider-Kamp <nowonder@nowonder.de>:
Fred Drake [Thu, 31 Aug 2000 05:18:54 +0000 (05:18 +0000)]
Peter Schneider-Kamp <nowonder@nowonder.de>:
Remove some of GCC's warning in -Wstrict-prototypes mode.

This closes SourceForge patch #101342.

24 years agoRemoved compiler warning about wanting explicit grouping around &&
Fred Drake [Thu, 31 Aug 2000 05:15:44 +0000 (05:15 +0000)]
Removed compiler warning about wanting explicit grouping around &&
expression next to a || expression; this is a readability-inspired
warning from GCC.

24 years agoAdded a little more dependency information.
Fred Drake [Thu, 31 Aug 2000 05:11:48 +0000 (05:11 +0000)]
Added a little more dependency information.

24 years agoAdded prototype for PyToken_ThreeChars(), to remove compiler warning
Fred Drake [Thu, 31 Aug 2000 05:09:57 +0000 (05:09 +0000)]
Added prototype for PyToken_ThreeChars(), to remove compiler warning
in Parser/grammar.c.

24 years agoAdded note about documenting the SSL support in the socket module.
Fred Drake [Thu, 31 Aug 2000 05:08:00 +0000 (05:08 +0000)]
Added note about documenting the SSL support in the socket module.

24 years agoRemove one compiler warning found with -Wstrict-prototypes.
Fred Drake [Thu, 31 Aug 2000 05:07:19 +0000 (05:07 +0000)]
Remove one compiler warning found with -Wstrict-prototypes.

24 years agotg@freebsd.org
Jeremy Hylton [Thu, 31 Aug 2000 02:42:11 +0000 (02:42 +0000)]
tg@freebsd.org
close SF patch #101354

24 years agoAdd /GX to 'compile_options'. This is definitely needed for C++ source;
Greg Ward [Thu, 31 Aug 2000 00:31:07 +0000 (00:31 +0000)]
Add /GX to 'compile_options'.  This is definitely needed for C++ source;
according to the MS docs it enables exception-handling, and (according
to Alex Martelli <aleaxit@yahoo.com>) is needed to compile without
getting warnings from standard C++ library headers.  Apparently
it doesn't cause any problems with C code, so I haven't bothered
conditionalizing the use of /GX.

24 years agoadds support for --with-pydebug configure option
Skip Montanaro [Wed, 30 Aug 2000 22:29:48 +0000 (22:29 +0000)]
adds support for --with-pydebug configure option

24 years agoBetter error message with UnboundLocalError
Paul Prescod [Wed, 30 Aug 2000 20:25:01 +0000 (20:25 +0000)]
Better error message with UnboundLocalError

24 years agoAdd ".cxx" to the list of known C++ extensions.
Greg Ward [Wed, 30 Aug 2000 17:32:24 +0000 (17:32 +0000)]
Add ".cxx" to the list of known C++ extensions.

24 years agoAdded docstring for 'wrap()' function.
Greg Ward [Wed, 30 Aug 2000 17:16:27 +0000 (17:16 +0000)]
Added docstring for 'wrap()' function.

24 years agoPyOS_CheckStack() returns 1 when failing, not -1.
Guido van Rossum [Wed, 30 Aug 2000 15:53:50 +0000 (15:53 +0000)]
PyOS_CheckStack() returns 1 when failing, not -1.

24 years agoPush a little more here to avoid style information in the generation
Fred Drake [Wed, 30 Aug 2000 15:02:13 +0000 (15:02 +0000)]
Push a little more here to avoid style information in the generation
scripts as much as possible.

24 years agoRemove the reference to stdwin. The comment was still true, but no
Fred Drake [Wed, 30 Aug 2000 14:33:02 +0000 (14:33 +0000)]
Remove the reference to stdwin.  The comment was still true, but no
longer meaningful to a new user, since stdwin is long gone.

24 years agodoc changes to parallel changes to calendar.py module
Skip Montanaro [Wed, 30 Aug 2000 14:02:25 +0000 (14:02 +0000)]
doc changes to parallel changes to calendar.py module

24 years agopatches from David Goodger. Closes patch 101085.
Skip Montanaro [Wed, 30 Aug 2000 14:01:28 +0000 (14:01 +0000)]
patches from David Goodger.  Closes patch 101085.

* deletes cache
* adds firstweekday and setfirstweekday functions that allow user to control
  which day of the week is first when displaying calendars
* adds month, week, calendar functions that return their results instead of
  printing them
* adds symbolic constants MONDAY, ..., SUNDAY so users need not remember the
  ordinal values of the weekdays

24 years agoFix markup error
Andrew M. Kuchling [Wed, 30 Aug 2000 12:55:42 +0000 (12:55 +0000)]
Fix markup error