summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
Commit message (Collapse)AuthorAgeFilesLines
* Quickly renamed the remaining files -- this directory is done.Guido van Rossum1997-04-291-100/+106
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Corrected format string in api_version_warning.Sjoerd Mullender1996-01-231-1/+1
|
* use PROTO macro around fn prototypeGuido van Rossum1995-03-091-1/+1
|
* support "O&" taking an object constructor a void*Guido van Rossum1995-01-201-2/+10
|
* rename method arg because of typedef conflictGuido van Rossum1995-01-171-4/+4
|
* api version checkingGuido van Rossum1995-01-091-14/+16
|
* New newmethodobject() interface takes struct methodlist pointerGuido van Rossum1995-01-071-15/+14
| | | | | instead of individual components; initmodule3() now has doc string argument as well
* Added 1995 to copyright message.Guido van Rossum1995-01-041-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().
* Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum1995-01-021-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.
* * Python/{modsupport.c,getargs.c,Makefile.in},Guido van Rossum1994-09-291-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
* Merge back to main trunkGuido van Rossum1994-08-301-47/+98
|
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-051-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.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-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.
* * stdwinmodule.c: various new commands: setwin{pos,size},Guido van Rossum1993-02-081-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.
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-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
* * Configure.py: use #!/usr/local/bin/pythonGuido van Rossum1993-01-041-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.
* suppress unnecessary error message if too many arguments are passedGuido van Rossum1992-08-271-2/+5
|
* check for embedded \0 in strings for z and s formatsGuido van Rossum1992-08-141-2/+13
|
* Added parameter decls to do_mkvalue for non-template machinesGuido van Rossum1992-05-151-1/+4
|
* Merged with Steve Miale's versionGuido van Rossum1992-04-131-79/+145
|
* Added mkvalue() functionGuido van Rossum1992-04-131-0/+127
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Shut up lintGuido van Rossum1992-03-271-0/+2
|
* New getargs() function: a single varargs function,Guido van Rossum1992-01-271-296/+187
| | | | guided by a format string, makes all get*arg() functions unnecessary.
* Add "varargs" attribute.Guido van Rossum1991-12-161-1/+1
|
* getlonglongargs --> getlonglongargGuido van Rossum1991-09-101-2/+20
| | | | Added getlongobjectarg.
* Support for long integersGuido van Rossum1991-07-271-0/+4
|
* Added getintintintarg() (3 int args)Guido van Rossum1991-07-011-0/+15
|
* Moved get*doublearg() routines here from mathmodule.cGuido van Rossum1991-04-031-0/+29
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-33/+8
|
* Move err_badarg() and err_nomme() to errors.c.Guido van Rossum1990-10-141-16/+0
|
* Initial revisionGuido van Rossum1990-10-141-0/+398