- 24 Jul, 2000 4 commits
-
-
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 15 commits
-
-
Thomas Wouters authored
they include prototypes.
-
Thomas Wouters authored
possible.
-
Thomas Wouters authored
Also, fix a bug found by said declarations, where a string was defined as unsigned char*, but used as signed.
-
Thomas Wouters authored
return something if RETSIGTYPE is not void, in functions that are defined as returning RETSIGTYPE.
-
Thomas Wouters authored
to return something if RETSIGTYPE isn't void, in functions that are defined to return RETSIGTYPE. Work around an argumentlist mismatch ('void' vs. 'void *') by using a static wrapper function.
-
Thomas Wouters authored
-
Thomas Wouters authored
to worry about systems that have signal-handlers return 'int' ? Not all of the code does, though nothing will break because of it.
-
Thomas Wouters authored
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
-
Thomas Wouters authored
char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
-
Thomas Wouters authored
Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments.
-
Thomas Wouters authored
declarations yet, those come later.
-
Thomas Wouters authored
('PyObject** x' -> 'PyObject **x')
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
- 21 Jul, 2000 4 commits
-
-
Paul Prescod authored
-
Paul Prescod authored
-
Thomas Wouters authored
and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
-
Thomas Wouters authored
-
- 19 Jul, 2000 6 commits
-
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Skip Montanaro authored
paths containing ..
-
Skip Montanaro authored
-
Skip Montanaro authored
-