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
Guido van Rossum
5552eb7203
* BUGS: new file (merger of unofficial BUGS1.0.x files)
...
* Makefile.in (TAGS): Call etags w/o -t option
1994-08-05 15:51:00 +00:00
Guido van Rossum
c65a525cdc
* Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
...
shorter names (dropped the "module" from the name): sunaudiodev,
imgformat, audioop, imageop, imgfile
* Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
the right thing (i.e. return 3 instead of 0)
* Modules/socketmodule.c: disabled allowbroadcast() socket method
1994-08-05 13:44:50 +00:00
Guido van Rossum
781db5d0bb
* Doc/libsocket.tex (subsection{Socket Object Methods}):
...
documented gethostname() and a few misc things
1994-08-05 13:37:36 +00:00
Guido van Rossum
3d0df46fff
AttrDialog.py: some structural changes
...
listtree.py: "Print" -> "List" in description
1994-08-03 08:10:35 +00:00
Guido van Rossum
d7b19488d7
Use new packing and 'name' in cnf dict
1994-08-03 08:08:26 +00:00
Guido van Rossum
e2ca9bd156
* tkintermodule.c: OK, I've fixed the "tty" problem. You're right
...
no need for the stdin handler, a Tk_DoOneEvent(TK_DONT_WAIT) did
the trick. I've included a diff to tkintermodule.c.
1994-08-03 08:01:43 +00:00
Guido van Rossum
46f24027f4
Strange... levels 1 and 2 were never committed?
1994-08-01 13:16:27 +00:00
Guido van Rossum
379dc587c8
Move to revision level 2 (like the other files)
1994-08-01 12:51:49 +00:00
Guido van Rossum
e7af5a0816
Merge lost alpha100 revision
1994-08-01 12:39:35 +00:00
Guido van Rossum
e9914961b8
Merge lost revisions back
1994-08-01 12:38:14 +00:00
Guido van Rossum
6938f06047
Merge alpha100 branch back to main trunk
1994-08-01 12:22:53 +00:00
Guido van Rossum
ab3a2504b9
libsocket.tex: send[to] returns nbytes.
...
libstring.tex: added count().
ref2.tex: new keywords; moved keyword printing program to keywords.py.
1994-08-01 12:18:36 +00:00
Guido van Rossum
7f43da7d61
Merge rev alpha100 bck into main trunk
1994-08-01 12:15:30 +00:00
Guido van Rossum
433c8ade13
Merge alpha100 branch back to main trunk
1994-08-01 12:07:07 +00:00
Guido van Rossum
761c7a323c
The usual
1994-08-01 12:04:41 +00:00
Guido van Rossum
b6775db241
Merge alpha100 branch back to main trunk
1994-08-01 11:34:53 +00:00
Guido van Rossum
2979b01ff8
Merge changes
1994-08-01 11:18:30 +00:00
Guido van Rossum
da5d518d46
Bring alpha100 revision back to mainline
1994-08-01 11:00:20 +00:00
Barry Warsaw
16c40cdf61
small usage note change
1994-07-25 21:58:11 +00:00
Barry Warsaw
b5ddae7388
small change in message
1994-07-25 21:57:27 +00:00
Barry Warsaw
efae52ec2c
Initial revision
1994-07-25 21:52:13 +00:00
Guido van Rossum
3de273691f
Version 1.11 -- added several new answers on design questions
1994-07-25 14:19:33 +00:00
Guido van Rossum
5f47e5752a
* Lib/mhlib.py (removefromallsequences): call putsequences with
...
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.
1994-07-14 14:01:00 +00:00
Guido van Rossum
8c9736561b
ACKS: some new names; NEWS: 1.0.3
1994-07-14 13:57:11 +00:00