summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
Commit message (Collapse)AuthorAgeFilesLines
* * Microscopic corrections to make things compile on the Cray APP.Guido van Rossum1993-04-071-2/+2
| | | | | * Removed one use of $> in Makefile and warned about others. Added configurable lines in Makefile to change CC and AR.
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-12/+20
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-14/+4
| | | | | | | | | | * 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.
* Made builtins int(), long(), float(), oct() and hex() more generic.Guido van Rossum1992-09-121-0/+59
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* lint fixGuido van Rossum1992-03-271-2/+3
|
* Make / and % do the same as divmod.Guido van Rossum1992-01-191-117/+67
|
* Different shift implementation.Guido van Rossum1992-01-141-2/+34
|
* Improved exceptions.Guido van Rossum1991-12-101-13/+15
|
* Added shift and mask ops.Guido van Rossum1991-10-241-1/+107
|
* printobject now returns an error codeGuido van Rossum1991-06-071-1/+2
|
* Added nonzero testGuido van Rossum1991-05-141-0/+8
|
* Added divmod and abs, fixed negative powersGuido van Rossum1991-05-051-18/+70
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-41/+73
|
* Fix zero division checks: return if it occurs!Guido van Rossum1990-10-261-3/+3
|
* CHanged errors somewhat.Guido van Rossum1990-10-211-3/+3
|
* New error handling.Guido van Rossum1990-10-141-36/+37
|
* Initial revisionGuido van Rossum1990-10-141-0/+250