summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
AgeCommit message (Collapse)AuthorLines
1997-08-12Added buffer_info() method that returns address and length in bytes ofGuido van Rossum-0/+10
the buffer used to hold the array -- for dangerous low-level I/O.
1997-06-02array_type -> ArrayTypeGuido van Rossum-2/+2
1997-05-23PyObject_Compare can raise an exception now.Guido van Rossum-4/+4
1997-05-22Defined array.array_type, the type object.Guido van Rossum-1/+6
1997-05-16Address the following problem on DOS and Win 3.1, reported by JimGuido van Rossum-12/+12
Ahlstrom: Arraymodule.c has static functions H_getitem and h_getitem, and a few others which differ only in case. These are a problem on Windows 3.1, since a case-sensitive link causes Winsock to fail (hey, it's not my fault). Please convert H_etc to HH_etc etc.
1997-05-05Checkin of Jack's buffer mods.Guido van Rossum-0/+53
Not really checked, but didn't fail any tests either...
1997-04-11Keep Microsoft VC happy.Guido van Rossum-2/+2
1997-01-03Add new formats B, H, I, L for unsigned data types (analogous to theGuido van Rossum-1/+85
recent changes in the struct module).
1996-12-09Removed some unneeded header files and reedited with a fixed-width fontRoger E. Masse-14/+19
from emacs as per recomendation from GvR
1996-12-09Renamed Grandly (I think).Roger E. Masse-265/+270
1996-12-05Keep gcc -Wall happy.Guido van Rossum-0/+8
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1995-03-09changes for MPWGuido van Rossum-1/+1
1995-01-22make routines staticGuido van Rossum-5/+5
1995-01-17Made some more things static, and other cleanup for new naming schemeGuido van Rossum-5/+5
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
1995-01-02Another bulky set of minor changes.Guido van Rossum-8/+1
Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
1994-08-19Changes for MacGuido van Rossum-0/+4
1994-08-01Merge alpha100 branch back to main trunkGuido van Rossum-102/+43
1993-11-23* timemodule.c: Add hack for Solaris 2.Guido van Rossum-1/+1
* posixmodule.c: don't prototype getcwd() -- it's not portable... * mappingobject.c: double-check validity of last_name_char in dict{lookup,insert,remove}. * arraymodule.c: need memmove only for non-STDC Suns. * Makefile: comment out HTML_LIBS and XT_USE by default * pythonmain.c: don't prototype getopt() -- it's not standardized * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to recvfrom() to (ANY*). * pythonrun.c (initsigs): fix prototype, make it static * intobject.c (LONG_BIT): only #define it if not already defined * classobject.[ch]: remove all references to unused instance_convert() * mappingobject.c (getmappingsize): Don't return NULL in int function.
1993-11-10* posixmodule.c: added set{uid,gid}.Guido van Rossum-2/+14
* {tuple,list,mapping,array}object.c: call printobject with 0 for flags * compile.c (parsestr): use quote instead of '\'' at one crucial point * arraymodule.c (array_getattr): Added __members__ attribute
1993-11-05Fix stupib bug in concatenationGuido van Rossum-1/+1
1993-11-03* nismodule.c: database keys and values can contain null bytes. be moreGuido van Rossum-23/+69
careful about these. * arraymodule.c: added 8 byte swap; added 'i' format character; added reverse() method; rename read/write to fromfile/tofile. * config.c: Set version to 0.9.9++. * rotormodule.c (r_rand): declare k1..k5 as unsigned longs so the shifts will have a well-defined effect independent of word size. * bltinmodule.c: renamed bagof() to filter().
1993-11-01* ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,Guido van Rossum-1/+2
pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
1993-10-11* Extended X interface: pixmap objects, colormap objects visual objects,Sjoerd Mullender-1/+1
image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists.
1993-06-17* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum-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().
1993-04-07* Microscopic corrections to make things compile on the Cray APP.Guido van Rossum-0/+8
* Removed one use of $> in Makefile and warned about others. Added configurable lines in Makefile to change CC and AR.
1993-02-19Added new module "array" (for now optional) defining array objects.Guido van Rossum-0/+1152