summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* * Lib/linecache.py: don't crash on empty filenameGuido van Rossum1994-08-236-18/+131
| | | | | | | | | | | * Lib/macpath.py: don't return trailing colon for dirname() (XXX won't do for volume names -- but otherwise glob(':*:*.py') loops forever) * Lib/traceback.py: print SyntaxError correctly * Lib/stat.py: moved to posixstat.py; added macstat.py which has the constants for the Mac; and created new stat.py which includes the right one * Lib/urllib.py: fix caching bug (by disabling the cache)
* * Lib/sgi/flp.py: fix caching bug (always write the whole file toGuido van Rossum1994-08-232-28/+8
| | | | the cache!)
* * Lib/string.py: find/rfind is now the main implementation andGuido van Rossum1994-08-172-126/+82
| | | | | index/rindex is a wrapper that raises index_error (which is now always ValueError)
* do fake "import posix" for freeze.py scriptGuido van Rossum1994-08-171-0/+4
|
* * Lib/rfc822.py: fix two bugs: error in readheaders interpretingGuido van Rossum1994-08-122-6/+6
| | | | | regex.match() result, and wrong logic in getfirstmatchingheader() when the same header occurs twice consecutively
* Test set for new pow() functionGuido van Rossum1994-08-121-0/+92
|
* Add Widget.unbind and {Canvas,Text}.tag_unbind.Guido van Rossum1994-08-082-4/+18
| | | | In Widget.__init__, call config only if cnf not empty.
* Use new packing and 'name' in cnf dictGuido van Rossum1994-08-032-6/+10
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-0163-881/+2596
|
* Merge changesGuido van Rossum1994-08-011-39/+57
|
* * Lib/mhlib.py (removefromallsequences): call putsequences withGuido van Rossum1994-07-141-1/+1
| | | | | | | | | | | | | proper argument * Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in pdb now works; help messages added to pdb (lifted from pdb.doc). Also, "h pdb" calls pdb.help(). cmd.do_help() displays topics on a nicer way (I think). Also, topics for which there is a help_ method, but no do_method (like "pdb" above) are displayed in a special way. My own mod: fix break on function to also support methods.
* read various startup files in Tcl and Python based upon className andGuido van Rossum1994-07-122-2/+46
| | | | baseName.
* Fix bug in At() (Steen)Guido van Rossum1994-07-122-6/+6
|
* Make Pack.newinfo() return a dictGuido van Rossum1994-07-112-2/+20
|
* Added _exit and register as Tcl command exit. Micro lay-out fix.Guido van Rossum1994-07-072-4/+12
|
* Totally changed, now it is actually derived from TextGuido van Rossum1994-07-062-62/+40
| | | | (This breaks something in MimeViewer.py, don't know what yet)
* tag_remove: add tagName to tk callGuido van Rossum1994-07-062-2/+2
|
* Added bind and tag_config methods; minor lay-out changeGuido van Rossum1994-07-062-4/+6
|
* Remove garbage '+ ' and reformat tag_delete function budyGuido van Rossum1994-07-062-6/+4
|
* * ScrolledText.py: added some more methods of Text (This shouldGuido van Rossum1994-07-062-0/+20
| | | | really be done differently, e.g. by deriving from the Text class.)
* Tue Jul 5 13:22:45 1994 (lumholt@login.dkuug.dk)Guido van Rossum1994-07-062-62/+112
| | | | | | | | | | | | | | | | | | | | | | | | * Setup.in: moreButtons Tk extension support (again). * mklibapp: $1 is now the path to the Tk extension source directory. The default is /usr/local/src/tcl. * kill.py: Don't use the exec Tcl command. * Tkinter.py (Misc.bind_all): Bug fix; extra graves. (Misc.tk_strictMotif): Return the value. (mainloop, getint, getdouble, getboolean): New functions. (_cnfmerge): Flatten cnfs. Wed Jun 29 22:01:17 1994 Steen Lumholt (lumholt@login.dkuug.dk) * Tkinter.py: (Tk.destroy): master is always None; so don't del. Found by Tommy Burnette, solution from Guido van Rossum. (Misc.selection_get): Missing return. Found by Richard Neitzel. (Misc._options, Widget.config, Canvas._create): If cnf is a tuple or list then merge the contents. Suggested by Matthew Conway.
* * Lib/urllib.py: implemented new quoting rules; added splituser,Guido van Rossum1994-07-041-22/+77
| | | | | splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd, cwd to each subdir, type={a,i,d})
* Mon Jul 4 12:42:04 1994 Guido van Rossum (guido@voorn.cwi.nl)Guido van Rossum1994-07-042-6/+6
| | | | | | | | | * Tkinter.py (Misc.bind_all): fix typo (name shouldn't be quoted). Wed Jun 29 10:02:21 1994 Guido van Rossum (guido@voorn.cwi.nl) * Tkinter.py (Misc.selection_get): add 'return' (Tk.destroy): self.master is always None
* New module, formats traceback just like the C code doesGuido van Rossum1994-07-011-0/+57
|
* Lots of new stuffGuido van Rossum1994-06-282-84/+204
|
* wait_{variable,window,visibility}Guido van Rossum1994-06-272-0/+22
| | | | register = _register
* Initial revisionGuido van Rossum1994-06-272-0/+76
|
* Redo these changes:Guido van Rossum1994-06-272-4/+8
| | | | | (Menu.index): return int or None, not string (Widget.__getitem__): use splitlist, not split
* Sun Jun 26 02:19:01 1994 Steen Lumholt (lumholt@login.dkuug.dk)Guido van Rossum1994-06-272-72/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Doc fix. * Dialog.py: tk_dialog wrapper widget. * Tkinter.py: (Widget) Code moved from __init__ to _setup. Sat Jun 25 00:27:24 1994 Steen Lumholt (lumholt@login.dkuug.dk) * Tkinter.py (Misc): selection_own and selection_own_get methods. (Misc.winfo_toplevel): Return widget. * kill.py: New demo. * Tkinter.py: tk_menuBar method moved from Menu class to Misc class. (Scrollbar.get): Bug fix; self._getints not self.tk.getints. Fri Jun 24 17:42:16 1994 Steen Lumholt (lumholt@login.dkuug.dk) * Tkinter.py (Variable, StringVar, IntVar, BooleanVar): New classes. * mklibapp: New shell script. * Setup.in: moreButtons Tk extension support. * tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT. * appinit.c (Tcl_AppInit): New file and function. * Tkinter.py: (Button): Dummy args in tk_* methods. (Studbutton, Tributton): New widget by <tnb2d@cs.virginia.edu>; morebuttons extension. Thu Jun 23 22:22:43 1994 Steen Lumholt (lumholt@login.dkuug.dk) * tkintermodule.c (FileHandler): Make arg a tuple; bug found by <tnb2d@cs.virginia.edu>. Call the Python file handler function with (file, mask) argument. Fix a few of my refcnt bugs.
* (Menu.index): return int or None, not stringGuido van Rossum1994-06-272-4/+8
| | | | (Widget.__getitem__): use splitlist, not split
* mhlib.py: new interface to MH folders and messagesGuido van Rossum1994-06-231-0/+735
| | | | | | | multifile.py: added readlines() and read() methods mimetools.py: mimetools.py: added functions to encode/decode standard MIME Content-transfer-encoding types (as well as uuencode) rfc822.py: Accept lines ending in CR LF as well
* Two new generally useful modules: types defines names for all built-in types,Guido van Rossum1994-06-232-0/+173
| | | | StringIO implements pseudo files writing into and reading from strings.
* Companion module for new profile.pyGuido van Rossum1994-06-231-0/+535
|
* * Tkinter.pyGuido van Rossum1994-06-232-12/+102
| | | | | | (Widget): generalized config(); added keys(). (Canvas): added addtag_xxx and find_xxx functions; generalized itemconfig().
* * Tkinter.py: some tidying up.Guido van Rossum1994-06-212-28/+54
| | | | | | | (Misc.after): arrange to call deletecommand after it is called. (Canvas.itemconfig): generalized to support all forms. (Canvas.find): returns a list of integers instead of strings. * Tkinter.py (Canvas._create): call _flatten earlier.
* Reformatted using 8-space wide tabsGuido van Rossum1994-06-202-34/+36
|
* * Tkinter.py (Canvas): made create_ methods return the item id;Guido van Rossum1994-06-202-20/+42
| | | | | flatten argument list to _create before passing on to tk.call; _do should return a value.
* Added dictionary mapping names to children, and _name attribute.Guido van Rossum1994-06-202-156/+260
| | | | | | | | | | | | | | | | | Renamed tkerror to _tkerror, default_root to _default_root. (_substitute, _subst_prefix): move back into class Misc; added widget Event attribute. Added functions that return widgets or widget lists: winfo_children; focus_get; grab_current. (Pack.slaves, Place.slaves): return Widget objects instead of pathnames. Renamed __del__() to destroy() (because of circular refs, __del__ won't ever be called). Added some names with explicit _set: focus_set, focus_default_set, grab_set. Added focus_default_none. (Misc._getints): use tk.splitlist() instead of tk.split(), return None if string empty.
* Added getdouble, getboolean.Guido van Rossum1994-06-202-22/+20
| | | | | | Removed redundant global statements getboolean returns None if argument is empty AtInsert() concatenates optional arguments after 'insert'
* Added getvar, getint, lower, tkraise==lift to Misc classGuido van Rossum1994-06-202-0/+20
|
* Initial revisionGuido van Rossum1994-06-206-0/+2048
|
* Constants from <sys/wait.h> (IRIX 5 version)Guido van Rossum1994-06-032-0/+28
|
* added barrier test (by Tim Peters)Guido van Rossum1994-05-231-2/+67
|
* dospath: fix by Amrit (don't normalize glob patterns away)Guido van Rossum1994-05-231-1/+7
| | | | ftplib: get rid of non-auto port assignment
* Generate some files automatically from system filesGuido van Rossum1994-05-232-0/+20
|
* Changes by Jaap -- added 'fileopen' methodGuido van Rossum1994-05-181-17/+46
|
* New module by Jaap VGuido van Rossum1994-05-181-0/+178
|
* Script to regenerate FCNTL.py, IN.py, SOCKET.pyGuido van Rossum1994-05-172-0/+22
|
* Changes to use default argument values where possibleGuido van Rossum1994-05-064-29/+13
|
* Module to lock open files using fcntl()Guido van Rossum1994-05-032-0/+30
|