Commit Graph

2562 Commits

Author SHA1 Message Date
Guido van Rossum b0f3c82a3b Added macmain.c (separate Mac specific main prog); bump version to 1.1 1994-08-23 13:34:25 +00:00
Guido van Rossum 7aeb4b9ce8 * Lib/linecache.py: don't crash on empty filename
* 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)
1994-08-23 13:32:20 +00:00
Guido van Rossum 9e1e149a5f * Lib/sgi/flp.py: fix caching bug (always write the whole file to
the cache!)
1994-08-23 13:29:21 +00:00
Guido van Rossum 29e7af07f0 Some more changes 1994-08-23 13:28:34 +00:00
Guido van Rossum bd851cd167 * Doc/libtime.tex: get rid of references to millitime() and
millisleep(); document clock()

	* Doc/ref6.tex (section{Assignment statements}): added warning
	about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
1994-08-23 13:26:22 +00:00
Guido van Rossum d849a4838d Description of how to build Python for the Mac. 1994-08-20 21:55:48 +00:00
Guido van Rossum 24f4850377 errors.c: clear traceback too.
Makefile.in: remove lib*.a before creating new one.
1994-08-19 15:37:11 +00:00
Guido van Rossum b1ba03f045 Match new configure.in 1994-08-19 15:34:50 +00:00
Guido van Rossum 4e8af445ec Simplify value of INSTALL (always 'cp').
Pass value of OPT from configure environment to Makefile.
Add check for limits.h.
Use <directory>/libreadline.a instead of -lreadline.
1994-08-19 15:33:54 +00:00
Guido van Rossum 5622ef3cbb Moved mpzpi.py to scripts subdirectory 1994-08-19 15:09:21 +00:00
Guido van Rossum 4040ed018e Add test for mpz module 1994-08-19 15:09:02 +00:00
Guido van Rossum 386a554fad Added pathfix 1994-08-19 15:03:41 +00:00
Guido van Rossum 9af22a037f newslist.py: Added search for .newslistrc.py;
pindent.py: use /usr/local/bin/python;
pathfix.py: new script to fix #! lines in a group of scripts.
1994-08-19 15:02:57 +00:00
Guido van Rossum 72824bab44 Move all code from version.c into config.c 1994-08-19 12:03:04 +00:00
Guido van Rossum 0c7095484e Changes for Mac 1994-08-19 12:01:32 +00:00
Guido van Rossum a715274421 No need to define THINK_C any more 1994-08-19 11:16:32 +00:00
Guido van Rossum d4d7728440 Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here. 1994-08-19 10:51:31 +00:00
Guido van Rossum e89bc75048 Changes for dynamic linking under NT 1994-08-18 16:18:13 +00:00
Guido van Rossum 14aa5da824 version.c is no longer... 1994-08-18 16:03:36 +00:00
Guido van Rossum 6a3eb5f14d Changes to make it work and compile on NT, by Mark Hammond.
(NT changes for posixmodule.c re-invented by Guido.)
1994-08-18 15:42:46 +00:00
Guido van Rossum 8a38a6b99f Moved to Include and changed format to "<complete_version>" 1994-08-17 14:39:22 +00:00
Guido van Rossum a322862eff Added #diagram:... comments for Kees Blom's railroad diagram generator 1994-08-17 13:19:13 +00:00
Guido van Rossum 2828e9dbd4 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
removed references to {ato{f,i,l},index}_error
1994-08-17 13:16:34 +00:00
Guido van Rossum 710c352d05 * Lib/string.py: find/rfind is now the main implementation and
index/rindex is a wrapper that raises index_error (which is now
	always ValueError)
1994-08-17 13:16:11 +00:00
Guido van Rossum 5806a4f5c3 * Modules/stropmodule.c: implement find/rfind instead of
index/rindex (raising and catching an exception is much more
	expensive than returning and testing -1)
1994-08-17 13:15:46 +00:00
Guido van Rossum 3d67feed24 The usual 1994-08-17 12:33:50 +00:00
Guido van Rossum a28f2dc321 do fake "import posix" for freeze.py script 1994-08-17 12:33:28 +00:00
Guido van Rossum f8c76d0cd1 1.12 -- new address for fu-berlin mirror, infoseek uses python, more
info about windows stdwin, more about gnu getopt, correct typo
1994-08-17 12:19:53 +00:00
Guido van Rossum 2d3a94010f delattr, strncopy in parsetok.c 1994-08-16 22:15:49 +00:00
Guido van Rossum 1efbb0f002 Added docs for delattr 1994-08-16 22:15:11 +00:00
Guido van Rossum 91ab4a8353 If an attribute is deleted, __setattr__ is called with 2 instead of 3
arguments (adding __delattr__ was deemed too much overhead)
1994-08-16 22:13:47 +00:00
Guido van Rossum fda5fb2158 The usual 1994-08-12 13:18:41 +00:00
Guido van Rossum a0e9a77183 * configure.in, Makefile.in: remove the AC_PREFIX() call -- it's
more trouble than it's worth at CWI and most other people seem to
	install Python in the default (/usr/local) anway.  Changed comment
	describing --prefix in Makefile.in
1994-08-12 13:18:25 +00:00
Guido van Rossum 3f9a6ec9e6 * Lib/rfc822.py: fix two bugs: error in readheaders interpreting
regex.match() result, and wrong logic in getfirstmatchingheader()
	when the same header occurs twice consecutively
1994-08-12 13:16:50 +00:00
Guido van Rossum dc1cdca10b Test set for new pow() function 1994-08-12 13:14:22 +00:00
Guido van Rossum b8b264b165 * Doc/libfuncs.tex: don't use $math$ in description of pow(x,y,z);
describe tuple()

	* Doc/libposixfile.tex: use tableiii instead of tableii, so
	partparse will work again (I know, chicken!)

	* Doc/libthread.tex: Added get_ident(); updated text on module
	availability

	* Doc/myformat.perl: Added sub do_cmd_Cpp
1994-08-12 13:13:50 +00:00
Guido van Rossum 0b7d02a36f New patches by Andrew to fix various problems 1994-08-12 12:52:35 +00:00
Guido van Rossum e149fa2a1e * Objects/classobject.c, Include/classobject.h: added __getattr__
and __setattr__ support to override getattr(x, name) and
	setattr(x, name, value) for class instances.  This uses a special
	hack whereby the class is supposed to be static: the __getattr__
	and __setattr__ methods are looked up only once and saved in the
	instance structure for speed
1994-08-12 12:49:46 +00:00
Guido van Rossum e025e31de6 * Include/rename1.h: added PyMethodDef and PyObject 1994-08-12 12:46:05 +00:00
Guido van Rossum 03d8f745e6 Rewrote sections on GNU readline (now that I'm using 2.0), ftp, and
mailing list / newsgroup.
1994-08-12 12:45:02 +00:00
Guido van Rossum 9bb4fd6061 * tkintermodule.c (*FileHandler): generalize to arbitrary file ids
and objects that hav a fileno() method; fix bug in FileHandler
	(should call XDECREF instead of DECREF)
1994-08-09 14:15:19 +00:00
Guido van Rossum 75abc6392b * Objects/{int,long,float}object.c, Include/object.h,
Python/bltinmodule.c: mods by Andrew Kuchling to implement
	pow(x,y,z) == pow(x,y)%z, but without incurring overflow
1994-08-09 13:21:54 +00:00
Guido van Rossum fba65fe134 Tree displaying class 1994-08-08 12:48:36 +00:00
Guido van Rossum ef8f88101a Add Widget.unbind and {Canvas,Text}.tag_unbind.
In Widget.__init__, call config only if cnf not empty.
1994-08-08 12:47:33 +00:00
Guido van Rossum 16d6e7109d Lots of small corrections by Andrew Kuchling (plus all new rotor docs) 1994-08-08 12:30:22 +00:00
Guido van Rossum 4b4c664d2e * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
Anthony Baxter's gdbm module (derived from Jack's dbm module)
1994-08-08 08:06:37 +00:00
Guido van Rossum b69e0958a5 Added gdbm docs 1994-08-08 08:03:24 +00:00
Guido van Rossum e06752b457 Added cheatsheet 1994-08-05 15:57:47 +00:00
Guido van Rossum c8180cca25 Very useful file! 1994-08-05 15:57:31 +00:00
Guido van Rossum 14cbecc23e Some new names... 1994-08-05 15:56:13 +00:00