Commit Graph

90361 Commits

Author SHA1 Message Date
Guido van Rossum baf0ebf43c Added shift and mask ops.
Allow numbers starting with a period.
1991-10-24 14:59:40 +00:00
Guido van Rossum 7928cd7636 Added shift and mask ops. 1991-10-24 14:59:31 +00:00
Guido van Rossum 7a6dfa7d79 Added shifting and masking ops to as_number struct 1991-10-24 14:58:18 +00:00
Guido van Rossum d18ad58349 Added frexp, ldexp, modf, fmod. 1991-10-24 14:57:21 +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 006bcd42ac Made dir() more robust.
Added hex() and oct().
1991-10-24 14:54:44 +00:00
Guido van Rossum 9eb4f535aa Added shifting and masking operators. 1991-10-24 14:54:25 +00:00
Guido van Rossum 1242f1da67 Added a little comment 1991-10-20 20:28:02 +00:00
Guido van Rossum 7e3090cf08 newclassobject() gets a third argument 1991-10-20 20:26:16 +00:00
Guido van Rossum fbab905ae1 Added 2-char tokens and new versions of comparisons 1991-10-20 20:25:03 +00:00
Guido van Rossum 8883aaa5eb Added some new tokens 1991-10-20 20:24:45 +00:00
Guido van Rossum 2f1d87e9c2 Added __members__ secret attribute 1991-10-20 20:24:14 +00:00
Guido van Rossum 85f5076962 Added __dict__ attributes all over the place. 1991-10-20 20:22:50 +00:00
Guido van Rossum e0e5edcb6e Added allowbroadcast() 1991-10-20 20:22: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 c64d04dedd Implemented 2-character operators. 1991-10-20 20:20:00 +00:00
Guido van Rossum 2df7bcca97 Done a little bit about garbage collection.
Made some routines a little bit more robust.
1991-10-20 20:18:26 +00:00
Guido van Rossum 15ecff4c5e Finally implemented divmod(). 1991-10-20 20:16:45 +00:00
Guido van Rossum 5063bab973 Check for EINTR and turn it into KeyboardInterrupt
in err_errno().
1991-10-20 20:14:56 +00:00
Guido van Rossum d26d9ed2ec Added lrect{read,write} and pixmode().
Also added functions (un)packrect, not in GL but needed for tv...
Commented out all the functions that cause error messages.
1991-10-20 20:13:40 +00:00
Guido van Rossum 01cfd447d0 Comment out 'abort()' call.
Changed comparison operators.
1991-10-20 20:12:38 +00:00
Guido van Rossum 2b9d6e2008 newclassobject gets a third parameter (optional class name) 1991-10-20 20:12:10 +00:00
Guido van Rossum 9430839acc Add several secret __*__ attributes 1991-10-20 20:11:48 +00:00
Guido van Rossum dc8a108a36 Protect dir() against non-directory __dict__ attributes. 1991-10-20 20:11:03 +00:00
Guido van Rossum c0aab89d96 Added some error checks. 1991-10-20 20:10:46 +00:00
Guido van Rossum a76fb5b653 Comparison operators '<=' '>' '<>' are now 1 token.
Also support '!=' and '==' as alternatives for '<>' and '='.
1991-10-20 20:10:09 +00:00
Guido van Rossum 2483cbb8ce Initial revision 1991-09-17 08:12:16 +00:00
Guido van Rossum 944e76fb3c Fix typo. 1991-09-15 21:26:52 +00:00
Guido van Rossum 5b39796eca Fix names import. 1991-09-15 21:26:44 +00:00
Guido van Rossum c96f38eb1f Initial revision 1991-09-15 21:26:30 +00:00
Guido van Rossum 9978a16c7d Move parametrizations to "names.py" 1991-09-15 21:21:28 +00:00
Guido van Rossum 50692d62de Initial revision 1991-09-15 21:05:15 +00:00
Guido van Rossum 4f5eafb0cf Return window ID of form (later should use attr list liek objects). 1991-09-13 15:32:37 +00:00
Guido van Rossum 8db0307399 Call (*func), not ALgetparams! 1991-09-13 15:31:47 +00:00
Guido van Rossum 54ba21bd76 Make Socktype global so old and new compilers will like it. 1991-09-10 14:57:12 +00:00
Guido van Rossum b988c33d5a getlonglongargs --> getlonglongarg
Fixed type error in argument of newopenfileobject.
1991-09-10 14:56:48 +00:00
Guido van Rossum c5da350310 getlonglongargs --> getlonglongarg
Added getlongobjectarg.
1991-09-10 14:56:32 +00:00
Guido van Rossum 18a372f04c getlonglongargs --> getlonglongarg 1991-09-10 14:55:58 +00:00
Guido van Rossum 188f832ae6 Added module 'al' (SGI audio library). 1991-09-10 14:55:08 +00:00
Guido van Rossum b3a5b9bc4a Added queryparams, get/setparams.
Free config object used to get sample width.
1991-09-10 14:54:05 +00:00
Guido van Rossum 7d8b509575 Added work-arounds for MPW 3.{1,2?} code generation bug. 1991-09-10 14:53:39 +00:00
Guido van Rossum e3db862e5b Initial revision 1991-09-09 23:33:34 +00:00
Guido van Rossum a232536f50 test new functions and syntax 1991-08-16 13:29:25 +00:00
Guido van Rossum 333c2e02d0 A plus is also a sign! 1991-08-16 13:29:03 +00:00
Guido van Rossum 7045dd04d7 Initial revision 1991-08-16 13:28:28 +00:00
Guido van Rossum 784ca6c835 path.cat --> join 1991-08-16 13:28:23 +00:00
Guido van Rossum 668317db89 Added warning comment 1991-08-16 13:28:11 +00:00
Guido van Rossum 4d0fdc34d1 path.cat --> join
Added splitext
1991-08-16 13:27:58 +00:00