summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile: added IMGFILE; moved some stuff around.Guido van Rossum1992-09-171-1/+1
| | | | | | | | * flmodule.c: added some missing functions; changed readonly flags of some data members based upon FORMS documentation. * listobject.c: fixed int/long arg lint bug (bites PC compilers). * several: removed redundant print methods (repr is good enough). * posixmodule.c: added (still experimental) process group functions.
* Remove outdated warning in comments.Guido van Rossum1992-09-031-3/+0
|
* * renamed malloc.h mymalloc.h, and added MALLARG as the type of theGuido van Rossum1992-08-191-1/+7
| | | | | | | | argument to malloc() (size_t or unsigned int) * listobject.c: check for overflow of the size of the object, so things like range(0x7fffffff) will raise MemoryError instead of calling malloc() with -4 (and then crashing -- malloc's fault)
* * Makefile: cosmeticsGuido van Rossum1992-08-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* listobject.c: added optional cmp function to list.sort().Guido van Rossum1992-08-031-7/+54
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Include modsupport.h for getargs().Guido van Rossum1992-01-271-0/+1
|
* Fix assignment of a list to a slice of itself.Guido van Rossum1991-12-241-1/+10
|
* Use new exceptions.Guido van Rossum1991-12-101-2/+2
|
* Added count() method.Guido van Rossum1991-10-201-8/+24
| | | | Changed some conditional INCREFs into XINCREFs.
* printobject now returns an error codeGuido van Rossum1991-06-071-6/+7
|
* Add warning about Lambert's bug.Guido van Rossum1991-04-161-0/+3
|
* Swapped list_ass_item and list_ass_slice to satisfy Standard C.Guido van Rossum1991-04-031-18/+18
|
* Added repeat (for list*integet).Guido van Rossum1991-03-061-1/+99
| | | | Added methods remove(), reverse() and index().
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-17/+1
|
* Added external interface to sort a list.Guido van Rossum1990-10-301-0/+15
|
* New errors.Guido van Rossum1990-10-211-32/+46
|
* Initial revisionGuido van Rossum1990-10-141-0/+482