Guido van Rossum
9c51e41201
sys.setcheckinterval(x) instead of sys.check_interval = x
1995-01-10 10:50:58 +00:00
Guido van Rossum
f860162093
updated eval(), added execfile()
1995-01-10 10:50:24 +00:00
Guido van Rossum
4ff90ad2a0
some belated updates
1995-01-10 10:47:53 +00:00
Guido van Rossum
84eaa8396e
fix globals/locals defaults for eval/execfile
1995-01-10 10:47:05 +00:00
Guido van Rossum
10393b1708
add restrictions in restricted mode
1995-01-10 10:39:49 +00:00
Guido van Rossum
c113482871
add builtins handling and restricted flag
1995-01-10 10:39:16 +00:00
Guido van Rossum
be9f212f7e
fix comments for list command
1995-01-10 10:35:55 +00:00
Guido van Rossum
1f97612e64
Fix exec test so presence of __builtins__ doesn't break it
1995-01-10 10:34:21 +00:00
Guido van Rossum
409780f8f2
shallow and deep copy operations
1995-01-10 00:34:21 +00:00
Guido van Rossum
a48061a580
shelve.py: database of persistent objects, on top of pickle.py and anydbm.py
...
pickle.py: new low-level persistency module (used to be called flatten)
dbmac.py: stupid dbm clone for the Mac
anydbm.py: generic dbm interface (should be extended to support gdbm)
1995-01-10 00:31:14 +00:00
Guido van Rossum
8a30adc33f
the usual
1995-01-09 17:54:07 +00:00
Guido van Rossum
6135a87f2b
__builtins__ mods (and sys_checkinterval for ceval.c)
1995-01-09 17:53:26 +00:00
Guido van Rossum
2565bff40a
Alpha OSF/1 fix
1995-01-09 17:50:47 +00:00
Guido van Rossum
37431fbbd0
initmodule3 -> initmodule3
1995-01-09 17:49:26 +00:00
Guido van Rossum
970a0a20b8
api version checking
1995-01-09 17:47:20 +00:00
Guido van Rossum
6da5bfad0f
remove nogus reload check
1995-01-09 17:46:45 +00:00
Guido van Rossum
a0d7a23398
sys.check_interval=x -> sys.setcheckinterval(x)
1995-01-09 17:46:13 +00:00
Guido van Rossum
e791c2e441
Used new getargs interface; added {Get,Set}FileInfo.
1995-01-09 13:20:04 +00:00
Guido van Rossum
99546997f6
1995 copyright
1995-01-08 14:33:34 +00:00
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