summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
AgeCommit message (Collapse)AuthorLines
1995-03-09use PROTO macro around fn prototypeGuido van Rossum-1/+1
1995-01-20 support "O&" taking an object constructor a void*Guido van Rossum-2/+10
1995-01-17rename method arg because of typedef conflictGuido van Rossum-4/+4
1995-01-09api version checkingGuido van Rossum-14/+16
1995-01-07New newmethodobject() interface takes struct methodlist pointerGuido van Rossum-15/+14
instead of individual components; initmodule3() now has doc string argument as well
1995-01-04Added 1995 to copyright message.Guido van Rossum-4/+5
bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
1995-01-02Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum-49/+242
err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c.
1994-09-29 * Python/{modsupport.c,getargs.c,Makefile.in},Guido van Rossum-340/+0
Include/modsupport.h: moved getargs() to its own file and re-implemented it entirely to support optional arguments, multiple arguments without surrounding parentheses (when called as newgetargs()), and better error messages
1994-08-30Merge back to main trunkGuido van Rossum-47/+98
1993-07-05* Makefile: added all: and default: targets.Guido van Rossum-0/+4
* many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
1993-03-16* Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum-30/+21
* Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
1993-02-08* stdwinmodule.c: various new commands: setwin{pos,size},Guido van Rossum-8/+18
listfontnames, bitmap ops. * listobject.c: use mkvalue() when possible; avoid weird error when calling append() without args. * modsupport.c: new feature in getargs(): if the format string contains a semicolor the string after that is used as the error message instead of "bad argument list (format %s)" when there's an error.
1993-01-26* Added Fixcprt.py: script to fix copyright message.Guido van Rossum-2/+2
* various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
1993-01-04* Configure.py: use #!/usr/local/bin/pythonGuido van Rossum-3/+6
* posixmodule.c: move extern function declarations to top * listobject.c: cmp() arguments must be void* if __STDC__ * Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of strdup() -- it is a portability risk * Makefile: enclosed ranlib command in parentheses for Sequent Make which aborts if the command is not found even if '-' is present * timemodule.c: time() returns a floating point number, in microsecond precision if BSD_TIME is defined.
1992-08-27suppress unnecessary error message if too many arguments are passedGuido van Rossum-2/+5
1992-08-14check for embedded \0 in strings for z and s formatsGuido van Rossum-2/+13
1992-05-15Added parameter decls to do_mkvalue for non-template machinesGuido van Rossum-1/+4
1992-04-13Merged with Steve Miale's versionGuido van Rossum-79/+145
1992-04-13Added mkvalue() functionGuido van Rossum-0/+127
1992-04-05Copyright for 1992 addedGuido van Rossum-1/+1
1992-03-27Shut up lintGuido van Rossum-0/+2
1992-01-27New getargs() function: a single varargs function,Guido van Rossum-294/+185
guided by a format string, makes all get*arg() functions unnecessary.
1991-12-16Add "varargs" attribute.Guido van Rossum-1/+1
1991-09-10getlonglongargs --> getlonglongargGuido van Rossum-2/+20
Added getlongobjectarg.
1991-07-27Support for long integersGuido van Rossum-0/+4
1991-07-01Added getintintintarg() (3 int args)Guido van Rossum-0/+15
1991-04-03Moved get*doublearg() routines here from mathmodule.cGuido van Rossum-0/+29
1991-02-19Added copyright notice.Guido van Rossum-0/+24
1990-12-20"Compiling" versionGuido van Rossum-33/+8
1990-10-14Move err_badarg() and err_nomme() to errors.c.Guido van Rossum-16/+0
1990-10-14Initial revisionGuido van Rossum-0/+398