Commit Graph

317 Commits

Author SHA1 Message Date
Guido van Rossum 7a461e5aaf New module regsub contains sub(), gsub() and split() as in nawk.
string.splitfields(s, '') now returns [s] as split() in nawk.
Added _exit to exported functions of os.
1992-09-20 21:41:09 +00:00
Guido van Rossum 3577113d83 Added post_mortem() and pm() interfaces to pdb and wdb.
Added colorsys.py (color system conversions).
SV.py: new version for new svideo.h (Sjoerd).
DEVICE.py: added VIDEO event type.
1992-09-08 11:59:04 +00:00
Guido van Rossum 87b74730c3 New module 'colorsys' implements conversions between different color systems. 1992-09-07 09:41:48 +00:00
Sjoerd Mullender da3eee99e8 version for new library 1992-09-03 13:08:04 +00:00
Guido van Rossum 4e16098ce7 Added a _v21 def to FL.py and added two new input field types
Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py
Added new module bisect.py and used it in sched.py.
Mostly cosmetic changes to profile.py (changed output format).
1992-09-02 20:43:20 +00:00
Guido van Rossum 354166fa05 Changed to use regex directly instead of regexp. 1992-08-25 12:31:03 +00:00
Guido van Rossum 9022fceae8 New module implementing a multi-everything queue. 1992-08-25 12:30:44 +00:00
Guido van Rossum ae507a42a0 splitfields(s, '') is illegal 1992-08-19 16:49:58 +00:00
Guido van Rossum 732282fa11 Module getattr doesn't exist any more, it's now called newdir. 1992-08-19 16:49:37 +00:00
Guido van Rossum 4732ccf642 Added emacs.py (for misc/py-connect.el).
posixpath.py: added undocumented expanndvars() (expands $VAR in string).
1992-08-09 13:54:50 +00:00
Guido van Rossum 2d4aa4f5d4 Removed *.libs (now in ./sgi);
added gettext() method to TextEdit.py;
fixed string.atoi() to ignore leading zeros.
1992-08-06 22:33:41 +00:00
Sjoerd Mullender 099d923344 new file for SGI Video 1992-08-04 13:47:11 +00:00
Guido van Rossum 741c81a51f New module to support decoding multipart messages (also see mimetools). 1992-07-13 14:40:45 +00:00
Guido van Rossum 01ca336ed1 New modules mimetools and rfc822.
Minor, minor changes to commands.py and sndhdr.py.
1992-07-13 14:28:59 +00:00
Guido van Rossum eb23155a8e Changed calendar.py to define lists of literals instead of tuples.
Got rid of old module 'localtime.py'.
1992-07-09 11:05:12 +00:00
Guido van Rossum 73b715e259 Initial revision 1992-06-03 16:50:01 +00:00
Guido van Rossum 05b55e76f0 Fix pnm test for short files and add X bitmap as recognized type 1992-06-03 16:48:44 +00:00
Guido van Rossum d482e8ad4a Remove reference to obsolete module 'audio' 1992-06-03 16:47:49 +00:00
Guido van Rossum ada67ec3e1 Comment out debug prints (by Sjoerd) 1992-06-03 16:47:24 +00:00
Guido van Rossum 1c34fc7afb Initial revision 1992-05-27 14:06:59 +00:00
Guido van Rossum 9ea0fbc6de Unmerged except and finally clauses 1992-05-06 11:39:49 +00:00
Guido van Rossum 8899a9ca40 Add names for perm bits (S_IREAD etc).
Only extract 4 bits of mode to get the file type
1992-05-06 11:38:27 +00:00
Guido van Rossum e238829359 Add CDDA_DATASIZE to exported constants 1992-05-06 11:38:11 +00:00
Guido van Rossum 509d24aac3 fix a typo in samestat() (ST_DEV, not STD_DEV);
rewrite ismount() to compare stats of path and path/..
1992-05-06 11:36:49 +00:00
Guido van Rossum a3cd071e4c DISK is written with a K 1992-04-23 11:34:39 +00:00
Guido van Rossum 58230c3a05 Changed caching code 1992-04-22 14:33:26 +00:00
Guido van Rossum dee5d8eb04 The getstatus() method of a Readcd instance always calls
self.player.getstatus().
1992-04-22 13:44:48 +00:00
Guido van Rossum f94e309321 Initial revision 1992-04-22 13:24:13 +00:00
Guido van Rossum 8176258421 Initial revision 1992-04-21 15:36:23 +00:00
Guido van Rossum 9a1425d4fd Initial revision 1992-04-13 18:30:07 +00:00
Guido van Rossum fff3a1ee05 Added help() fn; use os.sep 1992-04-06 14:04:58 +00:00
Guido van Rossum 6a1f089420 Use *args syntax instead of +args 1992-04-06 14:03:53 +00:00
Guido van Rossum b59cdd4356 Add separator 1992-04-06 14:03:45 +00:00
Guido van Rossum 33693ea92a '+' no longer accepted for varargs list 1992-04-03 16:33:00 +00:00
Guido van Rossum ceb3ba2afc Different syntax: cannot mix except and finally any more 1992-04-03 16:32:37 +00:00
Guido van Rossum 7084ec8167 getattr() is now built-in; no longer need a class to simulate varargs. 1992-04-02 10:37:02 +00:00
Guido van Rossum aa257d90da use os and os.path 1992-03-31 19:07:25 +00:00
Guido van Rossum bf1710ac5f use std module os 1992-03-31 19:06:54 +00:00
Guido van Rossum d9596e3a79 mac -> os 1992-03-31 19:05:11 +00:00
Guido van Rossum 25d7cafd8a posix -> os 1992-03-31 19:04:48 +00:00
Guido van Rossum 3bc034bb79 Use bitwise ops instead of %; added some warnings and comments 1992-03-31 19:03:19 +00:00
Guido van Rossum e58f98bfcf path -> posixpath 1992-03-31 19:02:55 +00:00
Guido van Rossum 41f9503c11 Mostly rewritten to be more flexible and more portable
./
1992-03-31 19:02:01 +00:00
Guido van Rossum 1a76ef260d Added definition for pardir ('..') 1992-03-31 18:57:28 +00:00
Guido van Rossum c96207abb3 posix -> os 1992-03-31 18:55:40 +00:00
Guido van Rossum a05026b38d 'cat' no longer exists 1992-03-31 18:55:00 +00:00
Guido van Rossum 2684738d2f Renamed to posixpath; changed def'n of split(). 1992-03-31 18:54:35 +00:00
Guido van Rossum 627efd94e9 Some weird forms of try statements are no longer allowed. 1992-03-31 18:54:11 +00:00
Guido van Rossum 6da6aebfdb Initial revision 1992-03-30 12:39:06 +00:00
Guido van Rossum 26e67b0db8 Don't import fl (it tries to initialize GL) but assume it's always v2.0. 1992-03-27 15:14:25 +00:00
Guido van Rossum 6ff2e90c51 Add function to expand tabs. 1992-03-27 15:13:31 +00:00
Guido van Rossum cb7ce349e2 Add a function to return just the line number of a code object. 1992-03-27 15:13:08 +00:00
Guido van Rossum c341c62e81 Search through the module search path.
Add a warning to the top that this is the case.
1992-03-27 15:12:43 +00:00
Guido van Rossum b5a40dcade Initial revision 1992-03-27 15:10:29 +00:00
Guido van Rossum edbfcbd7ef use settrace() intreface 1992-03-27 15:09:46 +00:00
Guido van Rossum 35dcf454e1 Document sys.settrace(). 1992-03-27 15:06:53 +00:00
Guido van Rossum 24e77d429d Commented out debug print statements; be a little more clever
about strings containing backslashes.
1992-03-25 14:53:05 +00:00
Guido van Rossum 10d10ffb1b Change the order in which Floatnumber and Intnumber are tried
so it will correctly recognize floats.
Fix the test program so it works again.
1992-03-16 18:30:24 +00:00
Guido van Rossum 29be3b97a6 Initial revision 1992-03-15 21:37:43 +00:00
Guido van Rossum 465c499544 Added a cache so that the slow parser isn't such a problem in practice. 1992-02-19 14:50:10 +00:00
Guido van Rossum 3bead0984c Initial revision 1992-01-27 17:00:37 +00:00
Guido van Rossum 19a86e72df Added MINHEIGHT. Use self.dict as environment for evaluation. 1992-01-27 17:00:10 +00:00
Guido van Rossum fac6da22ff Added a method "format_stack_entry" to be used by derived classes.
Forget about the temp file.
1992-01-27 16:59:34 +00:00
Guido van Rossum d7d8cd44c1 Don't print repeated commands. 1992-01-27 16:59:04 +00:00
Guido van Rossum 23efba4cd1 Rewritten to use bdb.Bdb as base class. 1992-01-27 16:58:47 +00:00
Guido van Rossum 576136044c Adde getmargin() method to calculate the width of the margin. 1992-01-27 16:58:21 +00:00
Guido van Rossum 6fd42b8e92 Split in TextWindow and SourceWindow.
Count lines in Python.
1992-01-27 16:58:03 +00:00
Guido van Rossum 0bf32e3c78 Split in a number of subtest for easy maintenance and continued Mac support. 1992-01-27 16:57:38 +00:00
Guido van Rossum bd7fd1a225 Use output from h2py. 1992-01-24 12:54:01 +00:00
Guido van Rossum 27060c004e Minor fixes. 1992-01-24 01:12:39 +00:00
Guido van Rossum b53e67837b Initial revision 1992-01-24 01:12:17 +00:00
Guido van Rossum 177dd80799 Experimental version writes the command to a file. 1992-01-24 01:12:00 +00:00
Guido van Rossum babe2bf8f4 Initial revision 1992-01-22 22:21:31 +00:00
Guido van Rossum 7ac1c81f4f Added 'r(et)v(al) command.
Added pdd (post-mortem debugging) method to class Pdb.
1992-01-16 13:55:21 +00:00
Guido van Rossum 6fe08b0fe4 Moved documentation out to pdb.doc file.
Moved class Cmd out to module cmd.py.
Rewrote implementation of stack trace to incorporate traceback objects.
1992-01-16 13:50:21 +00:00
Guido van Rossum cff3454eff Use $TMPDIR if it is set in the environment. 1992-01-14 18:31:56 +00:00
Guido van Rossum a61ff7b160 New implementation method for case conversion. 1992-01-14 18:31:29 +00:00
Guido van Rossum 92df0c67d0 Added to-do list. 1992-01-14 18:30:15 +00:00
Guido van Rossum 7ac4878773 Make nicer comments.
Added expanduser() and normcase() and isabs() and isfile().
1992-01-14 18:29:32 +00:00
Guido van Rossum 31104f4624 Initial revision 1992-01-14 18:28:36 +00:00
Guido van Rossum 599f2ed208 Added 'normcase' function. 1992-01-14 18:28:18 +00:00
Guido van Rossum 3ec6c1d401 Get rid of debug print statement. 1992-01-14 18:27:26 +00:00
Guido van Rossum e9cde31c47 Now uses varargs syntax to grep more than one file. 1992-01-12 23:33:52 +00:00
Guido van Rossum b914257366 Almost complete rewritten. Documentation added.
Simple interface "pdb.run('<statement>')" added.
1992-01-12 23:32:55 +00:00
Guido van Rossum c2ef5c2ded Never return a non-existing pathname.
Rewrote has_magic using a regular expression match.
1992-01-12 23:32:11 +00:00
Guido van Rossum 05e5219f53 Rewritten using regex. 1992-01-12 23:29:29 +00:00
Guido van Rossum 9542c58d45 Use module os.
Split off file cache to module 'linecache'.
1992-01-12 23:27:56 +00:00
Guido van Rossum d6c3f25f3e react to interrupts differently 1992-01-12 23:26:55 +00:00
Guido van Rossum bba77af37a Use module 'os' 1992-01-12 23:26:24 +00:00
Guido van Rossum 921c82401b Initial revision 1992-01-10 14:54:42 +00:00
Guido van Rossum 70083dee12 Bugfix: it choked on an empty argument! 1992-01-09 11:37:07 +00:00
Guido van Rossum bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum 4d8e859e8f Initial revision 1992-01-01 19:34:47 +00:00
Guido van Rossum 42d1f63c54 New == syntax; regs is no longer a method. 1992-01-01 19:33:02 +00:00
Guido van Rossum d4e5a733b2 Cosmetic changes; sabotage 'go' and 'stdwin'; New == syntax. 1992-01-01 19:30:14 +00:00
Guido van Rossum 5fca8a1b0d Adapted to new "regex" module.
Introduced egrep() and emgrep() variants.
Use '==' for equality test.
.,
1991-12-31 00:00:35 +00:00
Guido van Rossum 6c6b78d6bd Initial revision 1991-12-30 16:03:05 +00:00
Guido van Rossum 564f5507c3 y
New class syntax
1991-12-30 16:02:20 +00:00
Guido van Rossum d404569b97 New class syntax 1991-12-30 16:02:10 +00:00
Guido van Rossum 4a3a41f1bb Use 'global' instead of struct kludge. 1991-12-26 13:10:50 +00:00
Guido van Rossum 8fd7eee6db Use new stdwinevents. 1991-12-26 13:06:52 +00:00
Guido van Rossum ccfd6e105b New class syntax.
Use ImportERror
1991-12-26 13:06:39 +00:00
Guido van Rossum ce08448165 New class syntax. 1991-12-26 13:06:29 +00:00
Guido van Rossum decc4b99e1 Use ImportError 1991-12-26 13:06:22 +00:00
Guido van Rossum 1820010c1a New class syntax. 1991-12-26 13:05:52 +00:00
Guido van Rossum 470e7617a9 Use AttributeError. 1991-12-26 13:05:43 +00:00
Guido van Rossum aa3760d91d Use ImportError. 1991-12-26 13:05:14 +00:00
Guido van Rossum 61f9d0d242 Use modern stdwinevent constants. 1991-12-26 13:04:16 +00:00
Guido van Rossum 946749f6fe Use AttributeError 1991-12-26 13:04:02 +00:00
Guido van Rossum 2234bc9101 Use ImportError.
New class syntax.
1991-12-26 13:03:52 +00:00
Guido van Rossum 869100a919 Get rid of BCOMPAT.
New class syntax.
1991-12-26 13:03:39 +00:00
Guido van Rossum bb3753d720 Use Attr*Error.
New class syntax.
1991-12-26 13:03:23 +00:00
Guido van Rossum 4dedbf7197 Use KeyError. 1991-12-26 13:03:14 +00:00
Guido van Rossum 5c5e829a5d Use IOError. 1991-12-26 13:02:59 +00:00
Guido van Rossum 2f242582f7 Use ImportError; New class syntax. 1991-12-26 13:00:45 +00:00
Guido van Rossum 7610599756 Added ZeroDivisionError except clauses. 1991-12-16 13:10:58 +00:00
Guido van Rossum befa2936d0 Attempt at speeding up. 1991-12-16 13:10:14 +00:00
Guido van Rossum a594fabbfa New opcodes: UNPACK_ARG, STORE_GLOBAL, DELETE_GLOBAL, LOAD_LOCAL, LOAD_GLOBAL 1991-12-16 13:09:28 +00:00
Guido van Rossum d39e412482 Now automatically test for V2.0. 1991-12-12 17:39:09 +00:00
Guido van Rossum b00649cd06 Initial revision 1991-12-11 17:29:59 +00:00
Guido van Rossum ccf0ca2860 Changes for FORMS 2.0. 1991-12-10 13:49:34 +00:00
Guido van Rossum c67eecf64d Added improved comments. 1991-11-19 20:41:32 +00:00
Guido van Rossum 3f4f91704c Comment 0.9.1 alternative to windows.remove(win) out. 1991-11-19 20:41:07 +00:00
Guido van Rossum eee9498b71 Initial revision 1991-11-12 15:38:08 +00:00
Guido van Rossum 5478cc68f8 Added a comment about a possible interface change. 1991-11-12 15:37:53 +00:00
Guido van Rossum d3778f9f60 Added samefile() function. 1991-11-12 15:37:40 +00:00
Guido van Rossum f109f86de5 Added defines for pixmode. 1991-11-12 15:34:54 +00:00
Guido van Rossum 5f5b137017 Added new constants (some? all?) for FORMS version 1.5. 1991-11-12 15:33:59 +00:00
Guido van Rossum 2483cbb8ce Initial revision 1991-09-17 08:12:16 +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
Guido van Rossum fbe0a8e090 macpath.cat --> join 1991-08-16 13:27:45 +00:00
Guido van Rossum 0b7448020a integrate with stdwinq 1991-08-16 13:24:58 +00:00
Guido van Rossum dff84043e4 save match function instead of regexp object 1991-08-16 13:24:42 +00:00
Guido van Rossum 14d53bf164 Added vspacepixels.
Integrated with stdwinq.
1991-08-16 13:24:20 +00:00
Guido van Rossum 48154be152 Now uses pipes. 1991-08-16 13:23:29 +00:00
Guido van Rossum 0d3f4678ba Used mainloop instead of WindowParent functions 1991-08-16 13:22:53 +00:00
Guido van Rossum e825f15900 minsize->getminsize
Keyboard focus policy
more?
1991-08-16 13:22:23 +00:00
Guido van Rossum e11d4ccbb6 minsize -> getminsize
Keyboard interface
1991-08-16 13:22:08 +00:00
Guido van Rossum 3c8045acf1 Added activate/deactivate.
minsize --> getminsize.
Added 'boxed' option.
Added lost of code to realize (?)
1991-08-16 13:19:43 +00:00
Guido van Rossum 9b1bfc8810 minsize --> getminsize.
Added keyboard downcalls.
(I mean keyboard focus policy and activate/deactivate)
1991-08-16 13:17:27 +00:00
Guido van Rossum ce27298640 minsize --> getminsize; new implementation of getminsize 1991-08-16 13:17:07 +00:00
Guido van Rossum cadae0fc14 minsize --> getminsize 1991-08-16 13:16:25 +00:00
Guido van Rossum d085cc6f5d Initial revision 1991-08-16 13:15:56 +00:00
Guido van Rossum ac62b9e7cb Renamed path.cat to path.join 1991-08-16 13:14:46 +00:00
Guido van Rossum ca197b520e minsize --> getminsize 1991-08-16 13:05:37 +00:00