- 24 Tem, 2000 18 kayıt (commit)
-
-
Jack Jansen yazdı
-
Fred Drake yazdı
-
Thomas Wouters yazdı
version of SSLeay (now known as OpenSSL.)
-
Thomas Wouters yazdı
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 yazdı
closes patch #100956
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Jack Jansen yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
happens to be a C++ reserved word, too.
-
Fred Drake yazdı
Make both TextFailed and TestSkipped subclasses of Error, which derives from Exception. Docstrings have been added for the exceptions and module.
-
Eric S. Raymond yazdı
entry point descriptions.
-
Mark Hammond yazdı
Patch #100926 - Better error messages for socket exceptions on Windows. [Slight style differences from posted patch]
-
- 23 Tem, 2000 11 kayıt (commit)
-
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Fredrik Lundh yazdı
+ 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 yazdı
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 yazdı
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 yazdı
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 yazdı
it out!
-
Fredrik Lundh yazdı
(this is what the callers expect).
-
Tim Peters yazdı
#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 yazdı
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 yazdı
empty argumentlists.
-
- 22 Tem, 2000 11 kayıt (commit)
-
-
Thomas Wouters yazdı
they include prototypes.
-
Thomas Wouters yazdı
possible.
-
Thomas Wouters yazdı
Also, fix a bug found by said declarations, where a string was defined as unsigned char*, but used as signed.
-
Thomas Wouters yazdı
return something if RETSIGTYPE is not void, in functions that are defined as returning RETSIGTYPE.
-
Thomas Wouters yazdı
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 yazdı
-
Thomas Wouters yazdı
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 yazdı
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
-
Thomas Wouters yazdı
char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
-
Thomas Wouters yazdı
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 yazdı
declarations yet, those come later.
-