summaryrefslogtreecommitdiffstats
path: root/Modules/almodule.c
Commit message (Collapse)AuthorAgeFilesLines
* staticforward bites the dust.Jeremy Hylton2002-07-171-2/+2
| | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-123/+84
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-2/+2
| | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
* More sprintf -> PyOS_snprintf.Tim Peters2001-11-281-1/+2
|
* Correct argument parsing for alp_getstatus, which is METH_VARARGS.Martin v. Löwis2001-11-031-1/+1
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Do the absolute minimal amount of modifications to eradicateBarry Warsaw2000-09-011-5/+2
| | | | | | | | | | | | | | | Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | 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 ;)
* replace PyXXX_Length calls with PyXXX_Size callsJeremy Hylton2000-07-121-2/+2
|
* ANSI-fication of the SGI modules (note that svmodule.c and sgimodule.cPeter Schneider-Kamp2000-07-101-223/+76
| | | | | | have already been checked in) UNTESTED!
* Python 2.0 is not supposed to use string exceptions in the standard libraryFred Drake2000-07-061-1/+1
| | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-4/+4
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-52/+52
| | | | PyArg_ParseTuple() format string arguments as possible.
* The call to PyArg_ParseTuple in al_Connect had one too few arguments.Guido van Rossum1999-12-101-1/+1
| | | | This fixes PR#157.
* Now that we have standard (optional) long long support, the long longGuido van Rossum1998-08-311-66/+0
| | | | | support in this module can go. The patch only deletes code (PyLong_FromLongLong() and PyLong_AsLongLong()). By Sjoerd Mullender.
* Fix some problems that a picky SGI compiler reported. Two were benignGuido van Rossum1998-07-071-3/+1
| | | | | (unreachable break after a return) but one was a real bug: ReadFrames() was getting a bogus framecount because of a missing '&'.
* New version by Sjoerd, with support for IRIX 6 audio library.Guido van Rossum1997-04-031-340/+3035
|
* Renamed, but not throughly tested.Roger E. Masse1997-01-031-226/+235
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-2/+0
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-41/+40
|
* almodule.c: added close method, equivalent to closeport.Sjoerd Mullender1993-12-201-0/+1
| | | | thread.h: use PROTO instead of _P for prototypes.
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-171-1/+1
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-2/+2
| | | | | | | | | | * 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.
* Added new audio library functionality (getstatus, float sample fmts)Jack Jansen1993-02-101-0/+128
|
* added getname, getdefault and getminmax functionsGuido van Rossum1992-08-191-0/+43
|
* Modified to allow other threads to run in a multithreaded environment.Jack Jansen1992-08-131-0/+6
|
* Mark's name is Callow, not CallowsGuido van Rossum1992-05-151-1/+1
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Use getargs() function.Guido van Rossum1992-01-271-36/+34
|
* Added some error checks.Guido van Rossum1991-10-201-1/+17
|
* Call (*func), not ALgetparams!Guido van Rossum1991-09-131-1/+1
|
* Added queryparams, get/setparams.Guido van Rossum1991-09-101-2/+96
| | | | Free config object used to get sample width.
* Initial revisionGuido van Rossum1991-09-091-0/+492