summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ANSIfy yet another hidden function definition.Thomas Wouters2000-07-241-5/+0
|
* Fix typo in previous patch.Thomas Wouters2000-07-241-3/+3
|
* *** empty log message ***Thomas Wouters2000-07-241-3/+3
|
* Remove function-less prototype (old function that was removed ?) thatThomas Wouters2000-07-241-1/+0
| | | | happens to be a C++ reserved word, too.
* Restore TestSkipped exception; appears to have disappeared in last checkin.Fred Drake2000-07-241-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 outEric S. Raymond2000-07-241-109/+170
| | | | entry point descriptions.
* Patch #100926 - Better error messages for socket exceptions on Windows. ↵Mark Hammond2000-07-241-2/+78
| | | | [Slight style differences from posted patch]
* Another missed ansification.Thomas Wouters2000-07-231-4/+1
|
* ANSIfy functions that were hiding inside a macro.Thomas Wouters2000-07-231-1/+1
|
* -- SRE 0.9.6 sync. this includes:Fredrik Lundh2000-07-237-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: signalTim Peters2000-07-236-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 closeFredrik Lundh2000-07-231-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 ofTim Peters2000-07-233-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 pointingTim Peters2000-07-231-1/+1
| | | | it out!
* -- changed w_more to take an integer instead of a charFredrik Lundh2000-07-231-2/+2
| | | | (this is what the callers expect).
* Recent ANSIfication introduced a couple instances ofTim Peters2000-07-233-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 bytecodeThomas Wouters2000-07-231-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 thanThomas Wouters2000-07-232-4/+4
| | | | empty argumentlists.
* ANSIfication: remove very-old-varargs code, fix function declarations soThomas Wouters2000-07-224-38/+4
| | | | they include prototypes.
* Even more ANSIfication: fix as many function pointers and declarations asThomas Wouters2000-07-2210-17/+18
| | | | possible.
* ANSIfication: add proper prototypes to function-pointers and declarations.Thomas Wouters2000-07-221-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 toThomas Wouters2000-07-221-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 sureThomas Wouters2000-07-221-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 Wouters2000-07-225-7/+8
|
* Remember to return something if RETSIGTYPE is not 'void'. Do we still needThomas Wouters2000-07-221-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 forThomas Wouters2000-07-226-34/+3
| | | | 'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-2214-145/+109
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* Mass ANSIfication.Thomas Wouters2000-07-2216-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 Wouters2000-07-2245-1526/+704
| | | | declarations yet, those come later.
* Fix two instances of empty argument lists, and fix styleThomas Wouters2000-07-221-79/+78
| | | | ('PyObject** x' -> 'PyObject **x')
* Remove unused variable.Thomas Wouters2000-07-221-1/+0
|
* Remove unused helper-function 'posix_strint'.Thomas Wouters2000-07-221-18/+0
|
* Mark Favas's fix for typos in docstrings.Thomas Wouters2000-07-221-4/+4
|
* Added a few docstringsPaul Prescod2000-07-211-0/+7
|
* Added docstringsPaul Prescod2000-07-211-5/+71
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-2159-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 Wouters2000-07-211-2/+2
|
* added doc for isatty()Skip Montanaro2000-07-191-0/+6
|
* restructured a bit and added some more content...Skip Montanaro2000-07-191-53/+142
|
* make TestFailed a class exceptionSkip Montanaro2000-07-191-1/+2
|
* added rewritten normpath from Moshe Zadka that does the right thing withSkip Montanaro2000-07-191-23/+18
| | | | paths containing ..
* added documentation for new functions {get,set}_history_lengthSkip Montanaro2000-07-191-0/+11
|
* added history file truncation based upon code from Johannes Zellner.Skip Montanaro2000-07-191-0/+42
|
* Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)Thomas Wouters2000-07-192-10/+8
|
* ANSIfy the just-checked-in isatty() wrapper.Thomas Wouters2000-07-191-3/+1
|
* new method isatty from Thomas WoutersSkip Montanaro2000-07-191-0/+16
|
* 'carb' resource for carbon application.Jack Jansen2000-07-181-0/+15
|
* Some thanks weren't checked in yet.Jack Jansen2000-07-181-2/+2
|
* MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵Jack Jansen2000-07-182-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 Jansen2000-07-181-0/+3
|