summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* fix *serious* (new) bug in evalfile: forgot to initialize s!!!Guido van Rossum1992-08-191-0/+1
|
* use getargs() in more cases;Guido van Rossum1992-08-141-63/+48
| | | | oct(0) should return '0', not '00'
* * classobject.[ch], {float,long,int}object.c, bltinmodule.c:Guido van Rossum1992-08-141-29/+13
| | | | | | coercion is now completely generic. * ceval.c: for instances, don't coerce for + and *; * reverses arguments if left one is non-instance numeric and right one sequence.
* Changes so that user-defined classes can implement operations invokedGuido van Rossum1992-08-121-1/+34
| | | | | by special syntax: you can now define your own numbers, sequences and mappings.
* * Makefile: cosmeticsGuido van Rossum1992-08-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* lintGuido van Rossum1992-03-271-2/+0
|
* Strip leading whitespace from input().Guido van Rossum1992-03-121-0/+4
|
* Skip leading whitespace of eval() string argument.Guido van Rossum1992-03-041-1/+7
|
* Added execfile().Guido van Rossum1992-02-251-0/+37
|
* Get rid of comment about open().Guido van Rossum1992-02-051-1/+1
|
* Added getattr and setattr built-in functions.Guido van Rossum1992-01-271-0/+36
|
* long_format() is now declared in longobject.h.Guido van Rossum1992-01-191-5/+2
|
* Added SystemExit.Guido van Rossum1991-12-311-0/+2
|
* Sorted exceptions; added ImportError.Guido van Rossum1991-12-241-9/+11
|
* Regularize exceptions.Guido van Rossum1991-12-161-36/+27
|
* Added "apply"; added "SyntaxError"; changed table lay-out.Guido van Rossum1991-12-161-23/+42
|
* Added new exceptions.Guido van Rossum1991-12-101-4/+25
|
* Made dir() more robust.Guido van Rossum1991-10-241-6/+57
| | | | Added hex() and oct().
* Protect dir() against non-directory __dict__ attributes.Guido van Rossum1991-10-201-7/+14
|
* Change getbuiltin interface to get the name as an object;Guido van Rossum1991-08-161-2/+2
| | | | call dict2lookup insteead of dictlookup.
* Add and use coerce() routine for mixed mode arithmeticGuido van Rossum1991-07-011-17/+76
|
* printobject now returns an error codeGuido van Rossum1991-06-071-4/+8
|
* Fix conversion of double to long; stylistic changes.Guido van Rossum1991-06-031-3/+3
|
* Added long() and support for longs in int() and float();Guido van Rossum1991-05-051-58/+72
| | | | | turned abs() and divmod() into generic versions; added pow().
* Use fileobject's filegetline() to implement unlimited raw_input().Guido van Rossum1991-04-041-19/+1
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Reversed min and max (to alphabetical order).Guido van Rossum1991-02-191-1/+1
|
* File name shortening.Guido van Rossum1991-01-211-1/+1
|
* "Compiling" versionGuido van Rossum1990-12-201-0/+535