Guido van Rossum
50620fa9b8
New newmethodobject() interface takes struct methodlist pointer
...
instead of individual components; initmodule3() now has doc string
argument as well
1995-01-07 12:43:18 +00:00
Guido van Rossum
1f4fa50176
Two independent chages:
...
(a) support import NAME.NAME...NAME;
(b) support doc strings in modules, classes and function definitions
1995-01-07 12:41:23 +00:00
Guido van Rossum
06186519e5
Use new instancebinop interface
1995-01-07 12:40:10 +00:00
Guido van Rossum
6a00cd8b89
* Python/bltinmodule.c: restructured coerce(), divmod(), pow() to
...
use new instancebinop interface
1995-01-07 12:39:01 +00:00
Guido van Rossum
a10f512dba
Grammar changed
1995-01-07 12:36:29 +00:00
Guido van Rossum
5fb1da76ff
NT dlls have .pyd extension instead of .dll
1995-01-07 12:36:02 +00:00
Guido van Rossum
e7d444f785
* Objects/classobject.c: added 5th (function) parameter to
...
instancebinop, to support things like Rational * float; added
documentation strings to classes and methods
1995-01-07 12:35:18 +00:00
Guido van Rossum
cab650db8e
* Objects/methodobject.c: changed drastically, the object now
...
contains a pointer to the struct methodlist (which must be
static); added attributes __name__, __doc__ and __self__
1995-01-07 12:34:58 +00:00
Guido van Rossum
5bd3805ae9
Added __doc__ attribute (alias func_doc), initialized from first
...
constant in code object if it is a string, else None
1995-01-07 12:01:30 +00:00
Guido van Rossum
8b14b4c733
initialize __doc__ to None
1995-01-07 11:59:29 +00:00
Guido van Rossum
29ca26eebf
added getattr(), supporting __doc__ and _name__
1995-01-07 11:58:15 +00:00
Guido van Rossum
016564ab51
attribute-less object is AttributeError, not TypeError
1995-01-07 11:54:44 +00:00
Guido van Rossum
5e56997969
initmodule2 -> initmodule3 (with doc string)
1995-01-07 11:51:27 +00:00
Guido van Rossum
f9888eb2fb
totally revamped
1995-01-07 11:50:36 +00:00
Guido van Rossum
9558825dad
do not call newmethodobject directly
1995-01-07 11:50:04 +00:00
Guido van Rossum
3615aaf6c5
Changed since Grammar has changed
1995-01-07 10:33:27 +00:00
Guido van Rossum
7a01389bc7
add 5th arg to instancebinop
1995-01-07 10:33:05 +00:00
Guido van Rossum
0908bacfa5
added func_doc
1995-01-07 10:32:47 +00:00
Guido van Rossum
9dc8d0e0a3
added ml_doc and changed newmethodlist interface
1995-01-07 10:32:29 +00:00
Guido van Rossum
6fde390655
new tp_str and tp_doc members in type object
1995-01-07 10:32:04 +00:00
Guido van Rossum
4a1da26891
changed import to support NAME.NAME...NAME
1995-01-07 10:25:36 +00:00
Guido van Rossum
03d4c260e3
New file -- creates FAQ.html.
1995-01-04 19:21:44 +00:00
Guido van Rossum
227a0a1e2d
Added 1995 to copyright message; added a few people to acks again...
1995-01-04 19:21:21 +00:00
Guido van Rossum
f456b6d691
Moved 1.1 and 1.1.1 news here
1995-01-04 19:20:37 +00:00
Guido van Rossum
e1130a49cd
Added clarifying comment
1995-01-04 19:20:00 +00:00
Guido van Rossum
06ed202ef4
sys.stderr(...) should be sys.stderr.write(), of course
1995-01-04 19:18:59 +00:00
Guido van Rossum
31cce97374
copyright.tex: Add 1995 to copyright message.
...
lib.tex: add libimp; remove bogus warning about lineii.
libmath.tex: document hypot().
libmd5.tex: rename md5.md5() to md5.new().
libposix.tex: document chown().
libposixfile.tex: openfile() instead of fileopen().
libsocket.tex: document gethostbyaddr().
libtypes.tex: add footnote explaining why readline() keeps the newline.
ref3.tex: correct typos, add back*quotes to index.
ref4.tex: don't use \verb inside footnote.
ref5.tex: explain repr() and str() and add them + back*quotes to index.
ref6.tex: correct typo, don't use \verb in footnote.
ref7.tex: don't use \verb in footnote.
1995-01-04 19:17:34 +00:00
Guido van Rossum
e5f8b60429
spam -> foo (etc.) in examples
1995-01-04 19:12:49 +00:00
Guido van Rossum
6d023c98b0
Added 1995 to copyright message.
...
bltinmodule.c: fixed coerce() nightmare in ternary pow().
modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject().
pythonrun.c: move flushline() into and around print_error().
1995-01-04 19:12:13 +00:00
Guido van Rossum
524b588553
Added 1995 to copyright message.
...
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
1995-01-04 19:10:35 +00:00
Guido van Rossum
b9f8d6e54d
Added 1995 to copyright message.
1995-01-04 19:08:09 +00:00
Guido van Rossum
6610ad9d6b
Added 1995 to copyright message.
...
floatobject.c: fix hash().
methodobject.c: support METH_FREENAME flag bit.
1995-01-04 19:07:38 +00:00
Guido van Rossum
5799b52008
Added 1995 copyright.
...
object.h: made sizes and refcnts signed ints.
stringobject.h: make getstrsize() signed int.
methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
1995-01-04 19:06:22 +00:00
Guido van Rossum
af5b83ec4a
README: changed URL format to <URL:...>; added section on Tk.
...
Makefile.in: run config.status in "make recheck".
configure.in: add test for hypot().
config.h.in, configure: since configure.in changed.
rest: the usual boring stuff.
1995-01-04 19:02:35 +00:00
Guido van Rossum
efc8713428
* Objects/mappingobject.c (mappingremove): don't call
...
lookmapping() for empty dictionary
1995-01-02 19:42:39 +00:00
Guido van Rossum
3bbc62e9c2
Another bulky set of minor changes.
...
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
1995-01-02 19:30:30 +00:00
Guido van Rossum
437a0e60ba
Think 6.0 version
1995-01-02 19:13:30 +00:00
Guido van Rossum
d7047b395e
Lots of minor changes. Note for mappingobject.c: the hash table pointer
...
can now be NULL.
1995-01-02 19:07:15 +00:00
Guido van Rossum
1ae940a587
Lots of changes, most minor (fatal() instead of abort(), use of
...
err_fetch/err_restore and so on). But...
NOTE: import.c has been rewritten and all the DL stuff is now in the
new file importdl.c.
1995-01-02 19:04:15 +00:00
Guido van Rossum
824de25fe2
* Lib/test/test_b1.py: test eval() and execfile() with globals,
...
locals arguments
1995-01-02 18:38:42 +00:00
Guido van Rossum
40b2cfb3f3
* Lib/mhlib.py: added movemessage(), copymessage(), added copy
...
fallback for refilemessages(), and updated the docs
1995-01-02 18:38:23 +00:00
Guido van Rossum
76be6eda96
The usual changes when a release is nearing...
1995-01-02 18:33:54 +00:00
Guido van Rossum
a6c707c679
Posted as 1.18
1995-01-02 17:32:28 +00:00
Guido van Rossum
a1124700f8
Add hacks for switching protocol and path but leaving host unchanged
1994-12-30 17:18:59 +00:00
Guido van Rossum
eecf035aa2
Test new __import__ module, test reload of built-in module, test
...
has_key() on empty dictionary
1994-12-30 17:17:46 +00:00
Guido van Rossum
5505d56f08
Fixed 'propagate' method
1994-12-30 17:16:35 +00:00
Guido van Rossum
588633daa2
Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing;
...
rest: abort() -> fatal(); small things
1994-12-30 15:46:02 +00:00
Guido van Rossum
66cb311fba
Lots of small things, see ChangeLog
1994-12-30 15:33:50 +00:00
Sjoerd Mullender
31b7727bad
Ported the editor to X. The GL version won't work.
...
This version needs Jack's img module and Sjoerd's new and improved (?)
X extensions for Python.
The last GL version is still available using the CVS tag "gl-editor".
1994-12-21 15:46:26 +00:00
Barry Warsaw
3ff444992f
(py-compute-indentation): in `t' clause, watch for the
...
re-search-backwards landing you inside a mult-line string.
1994-12-16 00:13:34 +00:00