- 24 Jul, 2000 27 commits
-
-
Andrew M. Kuchling authored
reversed tests resulted in an exception when you supplied the correct number of arguments
-
Fred Drake authored
use the last one specified on the command line instead of all of them. Smaller changes to reflect updated support.
-
Fredrik Lundh authored
(cf. test/output/test_sre)
-
Jack Jansen authored
Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_ParseTuple format strings.
-
Jack Jansen authored
-
Jack Jansen authored
Added PyMac_getscript() which returns the pythonic name of the current script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund.
-
Jack Jansen authored
Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now.
-
Jack Jansen authored
If any of the builds in a group fails offer to stop the fullbuild process and open the failing projects in codewarrior.
-
Jack Jansen authored
Added a "compile-time" flag PPC_ONLY, if set we make ppc-only applications without posting the dialog. This is the normal situation since 1.6alfa (no more 68k support).
-
Jack Jansen authored
-
Fred Drake authored
-
Thomas Wouters authored
version of SSLeay (now known as OpenSSL.)
-
Thomas Wouters authored
for systems that are missing those declarations from system include files. Start by moving a pointy-haired ones from their previous locations to the new section. (The gethostname() one, for instance, breaks on several systems, because some define it as (char *, size_t) and some as (char *, int).) I purposely decided not to include the summary of used #defines like Tim did in the first section of pyport.h. In my opinion, the number of #defines likedly to be used by this section would make such an overview unwieldy. I would suggest documenting the non-obvious ones, though.
-
Peter Schneider-Kamp authored
closes patch #100956
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Jack Jansen authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
happens to be a C++ reserved word, too.
-
Fred Drake authored
Make both TextFailed and TestSkipped subclasses of Error, which derives from Exception. Docstrings have been added for the exceptions and module.
-
Eric S. Raymond authored
entry point descriptions.
-
Mark Hammond authored
Patch #100926 - Better error messages for socket exceptions on Windows. [Slight style differences from posted patch]
-
- 23 Jul, 2000 11 commits
-
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Fredrik Lundh authored
+ added "regs" attribute + fixed "pos" and "endpos" attributes + reset "lastindex" and "lastgroup" in scanner methods + removed (?P#id) syntax; the "lastindex" and "lastgroup" attributes are now always set + removed string module dependencies in sre_parse + better debugging support in sre_parse + various tweaks to build under 1.5.2
-
Tim Peters authored
handlers "return void", according to ANSI C. Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro. Left RETSIGTYPE in the config stuff, because it's not clear to me that others aren't relying on it (e.g., extension modules).
-
Fredrik Lundh authored
return the exit code. Only works on Windows NT/2000, due to limitations in the Win9X shell. (based on patch #100941 by David Bolen)
-
Tim Peters authored
good C practice hasn't been available to everything all along. Added Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) macro to pyport.h; this just casts VALUE from type WIDE to type NARROW, but assert-fails if Py_DEBUG is defined and info is lost due to casting. Replaced a line in Fredrik's fix to marshal.c to use the new macro.
-
Tim Peters authored
it out!
-
Fredrik Lundh authored
(this is what the callers expect).
-
Tim Peters authored
#if RETSIGTYPE != void That isn't C, and MSVC properly refuses to compile it. Introduced new Py_RETURN_FROM_SIGNAL_HANDLER macro in pyport.h to expand to the correct thing based on RETSIGTYPE. However, only void is ANSI! Do we still have platforms that return int? The Unix config mess appears to #define RETSIGTYPE by magic without being asked to, so I assume it's "a problem" across Unices still.
-
Thomas Wouters authored
MAGIC number. When updating it next time, be sure it's higher than 50715 * constants. (Shouldn't be a problem if everyone keeps to the proper algorithm.)
-
Thomas Wouters authored
empty argumentlists.
-
- 22 Jul, 2000 2 commits
-
-
Thomas Wouters authored
they include prototypes.
-
Thomas Wouters authored
possible.
-