- 23 Tem, 2000 9 kayıt (commit)
-
-
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 15 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.
-
Thomas Wouters yazdı
('PyObject** x' -> 'PyObject **x')
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
- 21 Tem, 2000 4 kayıt (commit)
-
-
Paul Prescod yazdı
-
Paul Prescod yazdı
-
Thomas Wouters yazdı
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 yazdı
-
- 19 Tem, 2000 9 kayıt (commit)
-
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
paths containing ..
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Skip Montanaro yazdı
-
- 18 Tem, 2000 3 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
MacPython on MacOSX DP4 gets started in the wrong directory. The workaround (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.
-