Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ANSIfy yet another hidden function definition. | Thomas Wouters | 2000-07-24 | 1 | -5/+0 |
| | |||||
* | Fix typo in previous patch. | Thomas Wouters | 2000-07-24 | 1 | -3/+3 |
| | |||||
* | *** empty log message *** | Thomas Wouters | 2000-07-24 | 1 | -3/+3 |
| | |||||
* | Remove function-less prototype (old function that was removed ?) that | Thomas Wouters | 2000-07-24 | 1 | -1/+0 |
| | | | | happens to be a C++ reserved word, too. | ||||
* | Restore TestSkipped exception; appears to have disappeared in last checkin. | Fred Drake | 2000-07-24 | 1 | -3/+20 |
| | | | | | Make both TextFailed and TestSkipped subclasses of Error, which derives from Exception. Docstrings have been added for the exceptions and module. | ||||
* | First round of curses documentation improvements; correct errors, flesh out | Eric S. Raymond | 2000-07-24 | 1 | -109/+170 |
| | | | | entry point descriptions. | ||||
* | Patch #100926 - Better error messages for socket exceptions on Windows. ↵ | Mark Hammond | 2000-07-24 | 1 | -2/+78 |
| | | | | [Slight style differences from posted patch] | ||||
* | Another missed ansification. | Thomas Wouters | 2000-07-23 | 1 | -4/+1 |
| | |||||
* | ANSIfy functions that were hiding inside a macro. | Thomas Wouters | 2000-07-23 | 1 | -1/+1 |
| | |||||
* | -- SRE 0.9.6 sync. this includes: | Fredrik Lundh | 2000-07-23 | 7 | -1185/+1312 |
| | | | | | | | | | | | + 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 | ||||
* | Removed all instances of RETSIGTYPE from the source code: signal | Tim Peters | 2000-07-23 | 6 | -36/+13 |
| | | | | | | | 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). | ||||
* | -- added code to the new Windows popen functions to make close | Fredrik Lundh | 2000-07-23 | 1 | -8/+90 |
| | | | | | | return the exit code. Only works on Windows NT/2000, due to limitations in the Win9X shell. (based on patch #100941 by David Bolen) | ||||
* | Included assert.h in Python.h -- it's absurd that this basic tool of | Tim Peters | 2000-07-23 | 3 | -2/+21 |
| | | | | | | | | 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. | ||||
* | Missed a return from a signal handler -- thanks to /F for pointing | Tim Peters | 2000-07-23 | 1 | -1/+1 |
| | | | | it out! | ||||
* | -- changed w_more to take an integer instead of a char | Fredrik Lundh | 2000-07-23 | 1 | -2/+2 |
| | | | | (this is what the callers expect). | ||||
* | Recent ANSIfication introduced a couple instances of | Tim Peters | 2000-07-23 | 3 | -7/+27 |
| | | | | | | | | | | | #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. | ||||
* | Oops. One of last nights ANSIfication patches accidentily upped the bytecode | Thomas Wouters | 2000-07-23 | 1 | -1/+1 |
| | | | | | | 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.) | ||||
* | Fix prototypes generated by makesetup, so they include '(void)' rather than | Thomas Wouters | 2000-07-23 | 2 | -4/+4 |
| | | | | empty argumentlists. | ||||
* | ANSIfication: remove very-old-varargs code, fix function declarations so | Thomas Wouters | 2000-07-22 | 4 | -38/+4 |
| | | | | they include prototypes. | ||||
* | Even more ANSIfication: fix as many function pointers and declarations as | Thomas Wouters | 2000-07-22 | 10 | -17/+18 |
| | | | | possible. | ||||
* | ANSIfication: add proper prototypes to function-pointers and declarations. | Thomas Wouters | 2000-07-22 | 1 | -24/+13 |
| | | | | | Also, fix a bug found by said declarations, where a string was defined as unsigned char*, but used as signed. | ||||
* | ANSIfication of function-pointers and declarations. Also, make sure to | Thomas Wouters | 2000-07-22 | 1 | -2/+5 |
| | | | | | return something if RETSIGTYPE is not void, in functions that are defined as returning RETSIGTYPE. | ||||
* | Further ANSIfication of functionpointers and declarations. Also, make sure | Thomas Wouters | 2000-07-22 | 1 | -7/+16 |
| | | | | | | 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. | ||||
* | ANSIfy as many declarations as possible. | Thomas Wouters | 2000-07-22 | 5 | -7/+8 |
| | |||||
* | Remember to return something if RETSIGTYPE is not 'void'. Do we still need | Thomas Wouters | 2000-07-22 | 1 | -0/+3 |
| | | | | | to worry about systems that have signal-handlers return 'int' ? Not all of the code does, though nothing will break because of it. | ||||
* | ANSIfications: fix empty arglists, and remove the checks for | Thomas Wouters | 2000-07-22 | 6 | -34/+3 |
| | | | | 'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch) | ||||
* | Miscelaneous ANSIfications. I'm assuming here 'main' should take (int, | Thomas Wouters | 2000-07-22 | 14 | -145/+109 |
| | | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P | ||||
* | Mass ANSIfication. | Thomas Wouters | 2000-07-22 | 16 | -330/+123 |
| | | | | | | 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. | ||||
* | Mass ANSIfication of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 45 | -1526/+704 |
| | | | | declarations yet, those come later. | ||||
* | Fix two instances of empty argument lists, and fix style | Thomas Wouters | 2000-07-22 | 1 | -79/+78 |
| | | | | ('PyObject** x' -> 'PyObject **x') | ||||
* | Remove unused variable. | Thomas Wouters | 2000-07-22 | 1 | -1/+0 |
| | |||||
* | Remove unused helper-function 'posix_strint'. | Thomas Wouters | 2000-07-22 | 1 | -18/+0 |
| | |||||
* | Mark Favas's fix for typos in docstrings. | Thomas Wouters | 2000-07-22 | 1 | -4/+4 |
| | |||||
* | Added a few docstrings | Paul Prescod | 2000-07-21 | 1 | -0/+7 |
| | |||||
* | Added docstrings | Paul Prescod | 2000-07-21 | 1 | -5/+71 |
| | |||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 59 | -117/+103 |
| | | | | | | | | | | | | | | | | | | 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 ;) | ||||
* | Small fixes by Petru Paler (patch #100946) checked in with esr's approval. | Thomas Wouters | 2000-07-21 | 1 | -2/+2 |
| | |||||
* | added doc for isatty() | Skip Montanaro | 2000-07-19 | 1 | -0/+6 |
| | |||||
* | restructured a bit and added some more content... | Skip Montanaro | 2000-07-19 | 1 | -53/+142 |
| | |||||
* | make TestFailed a class exception | Skip Montanaro | 2000-07-19 | 1 | -1/+2 |
| | |||||
* | added rewritten normpath from Moshe Zadka that does the right thing with | Skip Montanaro | 2000-07-19 | 1 | -23/+18 |
| | | | | paths containing .. | ||||
* | added documentation for new functions {get,set}_history_length | Skip Montanaro | 2000-07-19 | 1 | -0/+11 |
| | |||||
* | added history file truncation based upon code from Johannes Zellner. | Skip Montanaro | 2000-07-19 | 1 | -0/+42 |
| | |||||
* | Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P) | Thomas Wouters | 2000-07-19 | 2 | -10/+8 |
| | |||||
* | ANSIfy the just-checked-in isatty() wrapper. | Thomas Wouters | 2000-07-19 | 1 | -3/+1 |
| | |||||
* | new method isatty from Thomas Wouters | Skip Montanaro | 2000-07-19 | 1 | -0/+16 |
| | |||||
* | 'carb' resource for carbon application. | Jack Jansen | 2000-07-18 | 1 | -0/+15 |
| | |||||
* | Some thanks weren't checked in yet. | Jack Jansen | 2000-07-18 | 1 | -2/+2 |
| | |||||
* | MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵ | Jack Jansen | 2000-07-18 | 2 | -1/+17 |
| | | | | (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name. | ||||
* | Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined. | Jack Jansen | 2000-07-18 | 1 | -0/+3 |
| |