Guido van Rossum
5dc8eb0914
sysmodule.c: calling sys.settrace() or sys.setprofile() without
...
arguments crashed in INCREF() calls which should be XINCREF() calls.
timemodule.c: fix for SEQUENT port (sys/select, struct timezone) by
Jaap Vermeulen
xxobject.c: include modsupport.h
1992-06-19 13:57:27 +00:00
Guido van Rossum
57639655c7
New copyright
1992-04-06 12:35:43 +00:00
Guido van Rossum
bab9d03855
Copyright for 1992 added
1992-04-05 14:26:55 +00:00
Guido van Rossum
8dd79cf788
Don't allow assignment to attributes named __*__
1992-04-05 14:24:32 +00:00
Guido van Rossum
719f5fa86a
lint fix
1992-03-27 17:31:02 +00:00
Guido van Rossum
3132a5a7dc
answer lint's complaints
1992-03-27 17:28:44 +00:00
Guido van Rossum
8b27d929a6
Lint stuff (involves casts, yuck!)
1992-03-27 17:27:05 +00:00
Guido van Rossum
eec181ae88
Lint
...
./
1992-03-27 17:26:44 +00:00
Guido van Rossum
2a591667bd
Lint
1992-03-27 17:26:38 +00:00
Guido van Rossum
0c182a1322
Fix lint bug
1992-03-27 17:26:13 +00:00
Guido van Rossum
96163c1dec
Lint...
1992-03-27 17:24:47 +00:00
Guido van Rossum
85998fa069
Silence lint
1992-03-27 17:23:48 +00:00
Guido van Rossum
51415a7b3b
Quiet lint
1992-03-27 17:23:38 +00:00
Guido van Rossum
febd551bab
Change error handling. Call clearerr() more often.
1992-03-04 16:39:24 +00:00
Guido van Rossum
fa3da8aa7c
Include modsupport.h for getargs().
1992-01-27 16:53:23 +00:00
Guido van Rossum
56cd67ad47
Get rid of redundant type checks.
...
Define % operator similar to int%int.
1992-01-26 18:16:35 +00:00
Guido van Rossum
e32e014c7e
Add prototypes.
...
Change / and % to match divmod.
1992-01-19 16:31:05 +00:00
Guido van Rossum
2b16a6feff
Make / and % do the same as divmod.
1992-01-19 16:28:51 +00:00
Guido van Rossum
7c36ad7f44
New function gettupleslice(v, i, j).
1992-01-14 18:45:33 +00:00
Guido van Rossum
4c260ff2a5
Changed to 2's complement bitwise ops. Got rid of ZABS etc.
1992-01-14 18:36:43 +00:00
Guido van Rossum
f3b351f140
Different shift implementation.
1992-01-14 18:33:22 +00:00
Guido van Rossum
a38c0ff7cd
Added READONLY specifier to data members.
1992-01-14 18:32:20 +00:00
Guido van Rossum
088bc2ad3c
Added f_lasti and f_lineno members.
1992-01-14 18:32:11 +00:00
Guido van Rossum
afbb8db8e6
Fixed bug in long masking ops.
1991-12-31 13:14:13 +00:00
Guido van Rossum
3ea7412d38
Change error messages for impossible assignment slightly.
1991-12-24 13:28:03 +00:00
Guido van Rossum
32dffaa016
Fix assignment of a list to a slice of itself.
1991-12-24 13:27:34 +00:00
Guido van Rossum
201be057fb
Added message to EOFError.
1991-12-24 13:26:41 +00:00
Guido van Rossum
7fa52f84c7
Explicitly check for weird values after calling pow().
1991-12-16 15:43:14 +00:00
Guido van Rossum
c06022966f
Add "varargs" attribute.
1991-12-16 13:07:24 +00:00
Guido van Rossum
87e7ea72a6
Use new exceptions.
1991-12-10 14:00:03 +00:00
Guido van Rossum
2912f22afc
Use IOError.
1991-12-10 13:59:09 +00:00
Guido van Rossum
bd3a2e6b11
Use AttributeError.
1991-12-10 13:58:49 +00:00
Guido van Rossum
3a62845094
Improved exceptions.
1991-12-10 13:57:36 +00:00
Guido van Rossum
9a9faddbcb
Formulate better error strings.
1991-12-10 13:56:55 +00:00
Guido van Rossum
e2966a6362
The cl_bases member of a class object is now never NULL.
1991-12-10 13:53:23 +00:00
Guido van Rossum
c6913e7da2
Made the sign use one's complement; implemented shifting and masking operators.
1991-11-19 20:26:46 +00:00
Guido van Rossum
670ceb30d3
Deleted unused local variable.
1991-11-19 20:26:11 +00:00
Guido van Rossum
8aff84a100
Call write(fileno(fp), ...) instead of fwrite for LARGE writes.
1991-11-12 15:42:49 +00:00
Guido van Rossum
7928cd7636
Added shift and mask ops.
1991-10-24 14:59:31 +00:00
Guido van Rossum
3d3037d51a
Changed convert to add '0' or '0x' prefix for oct/hex.
...
Added NULL function pointers for shift and mask ops.
1991-10-24 14:55:57 +00:00
Guido van Rossum
27acb3379e
Added NULL function pointers for shift and mask ops.
1991-10-24 14:55:28 +00:00
Guido van Rossum
e9c430fd3b
Implemented __methods__ attribute
1991-10-20 20:21:15 +00:00
Guido van Rossum
e6f7d18e6b
Added count() method.
...
Changed some conditional INCREFs into XINCREFs.
1991-10-20 20:20:40 +00:00
Guido van Rossum
15ecff4c5e
Finally implemented divmod().
1991-10-20 20:16:45 +00:00
Guido van Rossum
9430839acc
Add several secret __*__ attributes
1991-10-20 20:11:48 +00:00
Guido van Rossum
18a372f04c
getlonglongargs --> getlonglongarg
1991-09-10 14:55:58 +00:00
Guido van Rossum
278ef59110
Check for write errors after printing a value
1991-07-27 21:40:24 +00:00
Guido van Rossum
2fe53f7fec
The print operation now returns status!
1991-07-01 18:52:31 +00:00
Guido van Rossum
9fb036811a
Change cmpobject() to coerce numerical values before comparing them
1991-07-01 18:48:04 +00:00
Guido van Rossum
49e85146e2
printobject now returns an error code
...
Remove superfluous err_nomem() call
,
1991-06-07 22:59:30 +00:00