Commit Graph

40064 Commits

Author SHA1 Message Date
Guido van Rossum c405b7b2fa Support ".pyc" files: cached compilation results.
(Similar to Emacs ".elc" files.)
1991-06-04 19:39:42 +00:00
Guido van Rossum 2cfd356f0a Removed Think C 3.0 stuff and wish list. 1991-06-04 19:38:58 +00:00
Guido van Rossum a1ab7fae44 In support of popen(), file objects are now parametrized with a close
function on creation.  (There's a funny thing about the return
value of the close function that should be resolved.)
Also added 'isatty' method.
1991-06-04 19:37:39 +00:00
Guido van Rossum 067b9c0aef Remove test for unimplemented sq_repeat method (see tupleobject comments) 1991-06-04 19:36:54 +00:00
Guido van Rossum f380e66c0f Fix comments in string_as_sequence 1991-06-04 19:36:32 +00:00
Guido van Rossum b8393da8f8 Finally implement tuple*number. From now on all sequence types
must (pretend to) support all operations except assignments;
if you don't want to support an operation you have to provide
a dummy function that raises an exception...
1991-06-04 19:35:24 +00:00
Guido van Rossum 85e3b01f3b Removed utimes() compatibility hack.
Added _exit, exec, fork, getpid, getppid, kill and wait.
1991-06-03 12:42:10 +00:00
Guido van Rossum 326f582763 Don't print the line number for syntax errors in string parsing. 1991-06-03 11:02:09 +00:00
Guido van Rossum 301f1a6f79 Added declarations for dnewlongobject and dgetlongvalue. 1991-06-03 10:58:51 +00:00
Guido van Rossum 149e9ea24c Added dnewlongobject(), function to convert double to long int. 1991-06-03 10:58:24 +00:00
Guido van Rossum ad40531aa1 Fix conversion of double to long; stylistic changes. 1991-06-03 10:58:01 +00:00
Guido van Rossum 246b9d8258 Don't suppress wsetfont("");
Don't report WE_MENU events with None as menu pointer;
Added stdwin.getactie() function;
Moved code to turn WINDOW* into windowobject* to a separate function.
1991-06-03 10:55:14 +00:00
Guido van Rossum 76ad8ed51d Call clearerr() after EOF seen. 1991-06-03 10:54:55 +00:00
Guido van Rossum c7ec9c98e2 Fix off-by-one error in long_repr.
Implement long_pow.
1991-05-28 21:58:16 +00:00
Guido van Rossum 70d934601f Fix special cases in pow() 1991-05-28 21:57:39 +00:00
Guido van Rossum 4b9cf8eed9 Added text.setactive and text.setview.
Moved some functions around.
1991-05-28 21:57:04 +00:00
Guido van Rossum a759f64294 Initial revision 1991-05-14 12:25:35 +00:00
Guido van Rossum aa1791765e *** empty log message *** 1991-05-14 12:22:25 +00:00
Guido van Rossum 17fca179bc *** empty log message *** 1991-05-14 12:13:40 +00:00
Guido van Rossum a2a181a6a3 Added xor functions.
Hide/show focus hacks around tedraw are no longer needed.
1991-05-14 12:09:25 +00:00
Guido van Rossum cf7423ac8f Added nonzero to number methods 1991-05-14 12:08:10 +00:00
Guido van Rossum 23d6f0e8e7 Many small changes 1991-05-14 12:06:49 +00:00
Guido van Rossum badb116f5e Added wdigit and stwodigits typedefs, and changed prototypes. 1991-05-14 12:06:16 +00:00
Guido van Rossum 0bff015ac3 Added nonzero test 1991-05-14 12:05:32 +00:00
Guido van Rossum 50b4ef64eb Added nonzero test 1991-05-14 11:57:01 +00:00
Guido van Rossum fb8edfce22 Don't optimize <string> and <stdin> code 1991-05-14 11:56:03 +00:00
Guido van Rossum 4965bc8ac4 Declare ticker as int; made testbool generic for all numeric types 1991-05-14 11:51:49 +00:00
Guido van Rossum f023c463d7 Added recognition of 'l' or 'L' as long integer suffix 1991-05-05 20:16:20 +00:00
Guido van Rossum 6a1f54c09c Include sys/select.h for IBM R2 1991-05-05 20:15:54 +00:00
Guido van Rossum eb4361af6c Defined path delimiter for MS-DOS as semicolon 1991-05-05 20:14:35 +00:00
Guido van Rossum 541c8c0b2e Added many new functions 1991-05-05 20:13:41 +00:00
Guido van Rossum 97ad2d80e5 Added divmod and abs methods for numbers 1991-05-05 20:11:43 +00:00
Guido van Rossum 05ab111b1d Enabled (and fixed) newvarobject() 1991-05-05 20:10:41 +00:00
Guido van Rossum edcc38aac5 Initial revision 1991-05-05 20:09:44 +00:00
Guido van Rossum 0046695d0c Added divmod and abs, fixed negative powers 1991-05-05 20:08:27 +00:00
Guido van Rossum 175a9ea8c8 Pre-define MS-DOS separator 1991-05-05 20:07:59 +00:00
Guido van Rossum eba1b5efe1 Added (dummy) divmod and (functional) abs.
Fixed comments in number methods list
1991-05-05 20:07:00 +00:00
Guido van Rossum e3a204fe47 Added long integer support. 1991-05-05 20:05:35 +00:00
Guido van Rossum faf9c960a2 Renamed class members to instances and class methods to instance methods
,.
1991-05-05 20:04:55 +00:00
Guido van Rossum e8122f19a0 Renamed class methods to instance methods (which they are) 1991-05-05 20:03:07 +00:00
Guido van Rossum d4905454cc Added long() and support for longs in int() and float();
turned abs() and divmod() into generic versions;
added pow().
1991-05-05 20:00:36 +00:00
Guido van Rossum 9227c0e184 Added longobject.h 1991-05-05 20:00:02 +00:00
Guido van Rossum 67fa160744 Minor improvements. Removed footnote about CWI pathnames. 1991-04-23 14:14:57 +00:00
Guido van Rossum a9d5c228f9 Added \dataitem command; removed DRAFT from title; changed a word
in the reference to the reference document.
1991-04-23 14:11:26 +00:00
Guido van Rossum ab2885ee96 Clarify comment. 1991-04-21 19:34:48 +00:00
Guido van Rossum a31b9ccbbc Delay zero after successful action. 1991-04-21 19:33:53 +00:00
Guido van Rossum fa0e726154 Remove reference to util. 1991-04-21 19:33:30 +00:00
Guido van Rossum e2e162ec42 Initial revision 1991-04-21 19:32:43 +00:00
Guido van Rossum 40b0f3aa0e Use built-in file.read() instead of util.readfile(). 1991-04-21 19:31:39 +00:00
Guido van Rossum 001fa6a20f Don't sleep if msecs <= 0. 1991-04-21 19:31:10 +00:00