]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
30 years agofix subtle refcount big in filter() -- Tim MacKenzie
Guido van Rossum [Tue, 10 Jan 1995 17:40:55 +0000 (17:40 +0000)] 
fix subtle refcount big in filter() -- Tim MacKenzie

30 years agodemonstrate shell in a Tk window
Guido van Rossum [Tue, 10 Jan 1995 17:08:10 +0000 (17:08 +0000)] 
demonstrate shell in a Tk window

30 years agomenu-simple.py: fixed lay-out
Guido van Rossum [Tue, 10 Jan 1995 17:07:40 +0000 (17:07 +0000)] 
menu-simple.py: fixed lay-out
bind-with-multiple-calls-per-event-type.py: new, or forgot to add earlier

30 years agoImproved explanation of what's here
Guido van Rossum [Tue, 10 Jan 1995 17:06:50 +0000 (17:06 +0000)] 
Improved explanation of what's here

30 years agoinitial checkin of www Tk examples
Guido van Rossum [Tue, 10 Jan 1995 17:05:37 +0000 (17:05 +0000)] 
initial checkin of www Tk examples

30 years agobetter test for existence of hstrerror()
Guido van Rossum [Tue, 10 Jan 1995 16:30:54 +0000 (16:30 +0000)] 
better test for existence of hstrerror()

30 years agoadded bufsize parameter to fdopen and popen
Guido van Rossum [Tue, 10 Jan 1995 15:36:38 +0000 (15:36 +0000)] 
added bufsize parameter to fdopen and popen

30 years agomove coerce() from bltinmodule.c to object.c and implement builtin_coerce() differently
Guido van Rossum [Tue, 10 Jan 1995 15:26:20 +0000 (15:26 +0000)] 
move coerce() from bltinmodule.c to object.c and implement builtin_coerce() differently

30 years agoimplement coercions involving instances properly
Guido van Rossum [Tue, 10 Jan 1995 15:24:06 +0000 (15:24 +0000)] 
implement coercions involving instances properly

30 years agofix memory leak and null pointer dereference
Guido van Rossum [Tue, 10 Jan 1995 15:23:19 +0000 (15:23 +0000)] 
fix memory leak and null pointer dereference

30 years agonew module
Guido van Rossum [Tue, 10 Jan 1995 10:51:08 +0000 (10:51 +0000)] 
new module

30 years agosys.setcheckinterval(x) instead of sys.check_interval = x
Guido van Rossum [Tue, 10 Jan 1995 10:50:58 +0000 (10:50 +0000)] 
sys.setcheckinterval(x) instead of sys.check_interval = x

30 years agoupdated eval(), added execfile()
Guido van Rossum [Tue, 10 Jan 1995 10:50:24 +0000 (10:50 +0000)] 
updated eval(), added execfile()

30 years agosome belated updates
Guido van Rossum [Tue, 10 Jan 1995 10:47:53 +0000 (10:47 +0000)] 
some belated updates

30 years agofix globals/locals defaults for eval/execfile
Guido van Rossum [Tue, 10 Jan 1995 10:47:05 +0000 (10:47 +0000)] 
fix globals/locals defaults for eval/execfile

30 years agoadd restrictions in restricted mode
Guido van Rossum [Tue, 10 Jan 1995 10:39:49 +0000 (10:39 +0000)] 
add restrictions in restricted mode

30 years agoadd builtins handling and restricted flag
Guido van Rossum [Tue, 10 Jan 1995 10:39:16 +0000 (10:39 +0000)] 
add builtins handling and restricted flag

30 years agofix comments for list command
Guido van Rossum [Tue, 10 Jan 1995 10:35:55 +0000 (10:35 +0000)] 
fix comments for list command

30 years agoFix exec test so presence of __builtins__ doesn't break it
Guido van Rossum [Tue, 10 Jan 1995 10:34:21 +0000 (10:34 +0000)] 
Fix exec test so presence of __builtins__ doesn't break it

30 years agoshallow and deep copy operations
Guido van Rossum [Tue, 10 Jan 1995 00:34:21 +0000 (00:34 +0000)] 
shallow and deep copy operations

30 years agoshelve.py: database of persistent objects, on top of pickle.py and anydbm.py
Guido van Rossum [Tue, 10 Jan 1995 00:31:14 +0000 (00:31 +0000)] 
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)

30 years agothe usual
Guido van Rossum [Mon, 9 Jan 1995 17:54:07 +0000 (17:54 +0000)] 
the usual

30 years ago__builtins__ mods (and sys_checkinterval for ceval.c)
Guido van Rossum [Mon, 9 Jan 1995 17:53:26 +0000 (17:53 +0000)] 
__builtins__ mods (and sys_checkinterval for ceval.c)

30 years agoAlpha OSF/1 fix
Guido van Rossum [Mon, 9 Jan 1995 17:50:47 +0000 (17:50 +0000)] 
Alpha OSF/1 fix

30 years agoinitmodule3 -> initmodule3
Guido van Rossum [Mon, 9 Jan 1995 17:49:26 +0000 (17:49 +0000)] 
initmodule3 -> initmodule3

30 years agoapi version checking
Guido van Rossum [Mon, 9 Jan 1995 17:47:20 +0000 (17:47 +0000)] 
api version checking

30 years agoremove nogus reload check
Guido van Rossum [Mon, 9 Jan 1995 17:46:45 +0000 (17:46 +0000)] 
remove nogus reload check

30 years agosys.check_interval=x -> sys.setcheckinterval(x)
Guido van Rossum [Mon, 9 Jan 1995 17:46:13 +0000 (17:46 +0000)] 
sys.check_interval=x -> sys.setcheckinterval(x)

30 years agoUsed new getargs interface; added {Get,Set}FileInfo.
Guido van Rossum [Mon, 9 Jan 1995 13:20:04 +0000 (13:20 +0000)] 
Used new getargs interface; added {Get,Set}FileInfo.

30 years ago1995 copyright
Guido van Rossum [Sun, 8 Jan 1995 14:33:34 +0000 (14:33 +0000)] 
1995 copyright

30 years agoNew newmethodobject() interface takes struct methodlist pointer
Guido van Rossum [Sat, 7 Jan 1995 12:43:18 +0000 (12:43 +0000)] 
New newmethodobject() interface takes struct methodlist pointer
instead of individual components; initmodule3() now has doc string
argument as well

30 years agoTwo independent chages:
Guido van Rossum [Sat, 7 Jan 1995 12:41:23 +0000 (12:41 +0000)] 
Two independent chages:
(a) support import NAME.NAME...NAME;
(b) support doc strings in modules, classes and function definitions

30 years agoUse new instancebinop interface
Guido van Rossum [Sat, 7 Jan 1995 12:40:10 +0000 (12:40 +0000)] 
Use new instancebinop interface

30 years ago * Python/bltinmodule.c: restructured coerce(), divmod(), pow() to
Guido van Rossum [Sat, 7 Jan 1995 12:39:01 +0000 (12:39 +0000)] 
* Python/bltinmodule.c: restructured coerce(), divmod(), pow() to
use new instancebinop interface

30 years agoGrammar changed
Guido van Rossum [Sat, 7 Jan 1995 12:36:29 +0000 (12:36 +0000)] 
Grammar changed

30 years agoNT dlls have .pyd extension instead of .dll
Guido van Rossum [Sat, 7 Jan 1995 12:36:02 +0000 (12:36 +0000)] 
NT dlls have .pyd extension instead of .dll

30 years ago * Objects/classobject.c: added 5th (function) parameter to
Guido van Rossum [Sat, 7 Jan 1995 12:35:18 +0000 (12:35 +0000)] 
* Objects/classobject.c: added 5th (function) parameter to
instancebinop, to support things like Rational * float; added
documentation strings to classes and methods

30 years ago * Objects/methodobject.c: changed drastically, the object now
Guido van Rossum [Sat, 7 Jan 1995 12:34:58 +0000 (12:34 +0000)] 
* 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__

30 years agoAdded __doc__ attribute (alias func_doc), initialized from first
Guido van Rossum [Sat, 7 Jan 1995 12:01:30 +0000 (12:01 +0000)] 
Added __doc__ attribute (alias func_doc), initialized from first
constant in code object if it is a string, else None

30 years agoinitialize __doc__ to None
Guido van Rossum [Sat, 7 Jan 1995 11:59:29 +0000 (11:59 +0000)] 
initialize __doc__ to None

30 years agoadded getattr(), supporting __doc__ and _name__
Guido van Rossum [Sat, 7 Jan 1995 11:58:15 +0000 (11:58 +0000)] 
added getattr(), supporting __doc__ and _name__

30 years agoattribute-less object is AttributeError, not TypeError
Guido van Rossum [Sat, 7 Jan 1995 11:54:44 +0000 (11:54 +0000)] 
attribute-less object is AttributeError, not TypeError

30 years agoinitmodule2 -> initmodule3 (with doc string)
Guido van Rossum [Sat, 7 Jan 1995 11:51:27 +0000 (11:51 +0000)] 
initmodule2 -> initmodule3 (with doc string)

30 years agototally revamped
Guido van Rossum [Sat, 7 Jan 1995 11:50:36 +0000 (11:50 +0000)] 
totally revamped

30 years agodo not call newmethodobject directly
Guido van Rossum [Sat, 7 Jan 1995 11:50:04 +0000 (11:50 +0000)] 
do not call newmethodobject directly

30 years agoChanged since Grammar has changed
Guido van Rossum [Sat, 7 Jan 1995 10:33:27 +0000 (10:33 +0000)] 
Changed since Grammar has changed

30 years agoadd 5th arg to instancebinop
Guido van Rossum [Sat, 7 Jan 1995 10:33:05 +0000 (10:33 +0000)] 
add 5th arg to instancebinop

30 years agoadded func_doc
Guido van Rossum [Sat, 7 Jan 1995 10:32:47 +0000 (10:32 +0000)] 
added func_doc

30 years agoadded ml_doc and changed newmethodlist interface
Guido van Rossum [Sat, 7 Jan 1995 10:32:29 +0000 (10:32 +0000)] 
added ml_doc and changed newmethodlist interface

30 years agonew tp_str and tp_doc members in type object
Guido van Rossum [Sat, 7 Jan 1995 10:32:04 +0000 (10:32 +0000)] 
new tp_str and tp_doc members in type object

30 years agochanged import to support NAME.NAME...NAME
Guido van Rossum [Sat, 7 Jan 1995 10:25:36 +0000 (10:25 +0000)] 
changed import to support NAME.NAME...NAME

30 years agoNew file -- creates FAQ.html.
Guido van Rossum [Wed, 4 Jan 1995 19:21:44 +0000 (19:21 +0000)] 
New file -- creates FAQ.html.

30 years agoAdded 1995 to copyright message; added a few people to acks again...
Guido van Rossum [Wed, 4 Jan 1995 19:21:21 +0000 (19:21 +0000)] 
Added 1995 to copyright message; added a few people to acks again...

30 years agoMoved 1.1 and 1.1.1 news here
Guido van Rossum [Wed, 4 Jan 1995 19:20:37 +0000 (19:20 +0000)] 
Moved 1.1 and 1.1.1 news here

30 years agoAdded clarifying comment
Guido van Rossum [Wed, 4 Jan 1995 19:20:00 +0000 (19:20 +0000)] 
Added clarifying comment

30 years agosys.stderr(...) should be sys.stderr.write(), of course
Guido van Rossum [Wed, 4 Jan 1995 19:18:59 +0000 (19:18 +0000)] 
sys.stderr(...) should be sys.stderr.write(), of course

30 years agocopyright.tex: Add 1995 to copyright message.
Guido van Rossum [Wed, 4 Jan 1995 19:17:34 +0000 (19:17 +0000)] 
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.

30 years agospam -> foo (etc.) in examples
Guido van Rossum [Wed, 4 Jan 1995 19:12:49 +0000 (19:12 +0000)] 
spam -> foo (etc.) in examples

30 years agoAdded 1995 to copyright message.
Guido van Rossum [Wed, 4 Jan 1995 19:12:13 +0000 (19:12 +0000)] 
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().

30 years agoAdded 1995 to copyright message.
Guido van Rossum [Wed, 4 Jan 1995 19:10:35 +0000 (19:10 +0000)] 
Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.

30 years agoAdded 1995 to copyright message.
Guido van Rossum [Wed, 4 Jan 1995 19:08:09 +0000 (19:08 +0000)] 
Added 1995 to copyright message.

30 years agoAdded 1995 to copyright message.
Guido van Rossum [Wed, 4 Jan 1995 19:07:38 +0000 (19:07 +0000)] 
Added 1995 to copyright message.
floatobject.c: fix hash().
methodobject.c: support METH_FREENAME flag bit.

30 years agoAdded 1995 copyright.
Guido van Rossum [Wed, 4 Jan 1995 19:06:22 +0000 (19:06 +0000)] 
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.

30 years agoREADME: changed URL format to <URL:...>; added section on Tk.
Guido van Rossum [Wed, 4 Jan 1995 19:02:35 +0000 (19:02 +0000)] 
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.

30 years ago * Objects/mappingobject.c (mappingremove): don't call
Guido van Rossum [Mon, 2 Jan 1995 19:42:39 +0000 (19:42 +0000)] 
* Objects/mappingobject.c (mappingremove): don't call
lookmapping() for empty dictionary

30 years agoAnother bulky set of minor changes.
Guido van Rossum [Mon, 2 Jan 1995 19:30:30 +0000 (19:30 +0000)] 
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.

30 years agoThink 6.0 version
Guido van Rossum [Mon, 2 Jan 1995 19:13:30 +0000 (19:13 +0000)] 
Think 6.0 version

30 years agoLots of minor changes. Note for mappingobject.c: the hash table pointer
Guido van Rossum [Mon, 2 Jan 1995 19:07:15 +0000 (19:07 +0000)] 
Lots of minor changes.  Note for mappingobject.c: the hash table pointer
can now be NULL.

30 years agoLots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum [Mon, 2 Jan 1995 19:04:15 +0000 (19:04 +0000)] 
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.

30 years ago * Lib/test/test_b1.py: test eval() and execfile() with globals,
Guido van Rossum [Mon, 2 Jan 1995 18:38:42 +0000 (18:38 +0000)] 
* Lib/test/test_b1.py: test eval() and execfile() with globals,
locals arguments

30 years ago * Lib/mhlib.py: added movemessage(), copymessage(), added copy
Guido van Rossum [Mon, 2 Jan 1995 18:38:23 +0000 (18:38 +0000)] 
* Lib/mhlib.py: added movemessage(), copymessage(), added copy
fallback for refilemessages(), and updated the docs

30 years agoThe usual changes when a release is nearing...
Guido van Rossum [Mon, 2 Jan 1995 18:33:54 +0000 (18:33 +0000)] 
The usual changes when a release is nearing...

30 years agoPosted as 1.18
Guido van Rossum [Mon, 2 Jan 1995 17:32:28 +0000 (17:32 +0000)] 
Posted as 1.18

30 years agoAdd hacks for switching protocol and path but leaving host unchanged
Guido van Rossum [Fri, 30 Dec 1994 17:18:59 +0000 (17:18 +0000)] 
Add hacks for switching protocol and path but leaving host unchanged

30 years agoTest new __import__ module, test reload of built-in module, test
Guido van Rossum [Fri, 30 Dec 1994 17:17:46 +0000 (17:17 +0000)] 
Test new __import__ module, test reload of built-in module, test
has_key() on empty dictionary

30 years agoFixed 'propagate' method
Guido van Rossum [Fri, 30 Dec 1994 17:16:35 +0000 (17:16 +0000)] 
Fixed 'propagate' method

30 years agoParser/tokenizer.c (tok_nextc): zap tok->buf after freeing;
Guido van Rossum [Fri, 30 Dec 1994 15:46:02 +0000 (15:46 +0000)] 
Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing;
rest: abort() -> fatal(); small things

30 years agoLots of small things, see ChangeLog
Guido van Rossum [Fri, 30 Dec 1994 15:33:50 +0000 (15:33 +0000)] 
Lots of small things, see ChangeLog

30 years agoPorted the editor to X. The GL version won't work.
Sjoerd Mullender [Wed, 21 Dec 1994 15:46:26 +0000 (15:46 +0000)] 
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".

30 years ago(py-compute-indentation): in `t' clause, watch for the
Barry Warsaw [Fri, 16 Dec 1994 00:13:34 +0000 (00:13 +0000)] 
(py-compute-indentation): in `t' clause, watch for the
re-search-backwards landing you inside a mult-line string.

30 years agoAdded comment symbols around word after #endif.
Sjoerd Mullender [Wed, 14 Dec 1994 15:30:04 +0000 (15:30 +0000)] 
Added comment symbols around word after #endif.

30 years agoLet extensions start at the last period after the last slash in the
Sjoerd Mullender [Wed, 14 Dec 1994 15:29:17 +0000 (15:29 +0000)] 
Let extensions start at the last period after the last slash in the
name.

30 years agoCan't remember the reason for the change, but it was necessary. :-)
Sjoerd Mullender [Wed, 14 Dec 1994 15:28:22 +0000 (15:28 +0000)] 
Can't remember the reason for the change, but it was necessary.  :-)

30 years agoAdded libaifc.tex to list of library files.
Sjoerd Mullender [Wed, 14 Dec 1994 15:27:33 +0000 (15:27 +0000)] 
Added libaifc.tex to list of library files.

30 years agoPorted to CodeWarrior
Jack Jansen [Wed, 14 Dec 1994 14:10:51 +0000 (14:10 +0000)] 
Ported to CodeWarrior

30 years agoNew routines:
Jack Jansen [Wed, 14 Dec 1994 14:07:50 +0000 (14:07 +0000)] 
New routines:
macstrerror - strerror which uses 'Estr' resource to convert numerical
MacOS errors to strings.
PyErr_Mac - Raise exception with MacOS error in string form.
PyMac_Idle - better idle-loop routine, which allows the user to
switch applications.

30 years agoUnix functionality expected by python but missing from CodeWarrior
Jack Jansen [Wed, 14 Dec 1994 14:04:55 +0000 (14:04 +0000)] 
Unix functionality expected by python but missing from CodeWarrior
runtime system.

30 years ago- Use PyErr_Mac for nicer exceptions
Jack Jansen [Wed, 14 Dec 1994 14:02:24 +0000 (14:02 +0000)] 
- Use PyErr_Mac for nicer exceptions
- Added methods AsString() and AsBytes() to resource objects, so you
  can get at the contents of resource items.
- Ported to CodeWarrior (mainly ProcPtr/UniversalProcPtr stuff)

30 years agoPorted to MetroWerks, which misses file-descriptor like functionality.
Jack Jansen [Wed, 14 Dec 1994 13:48:38 +0000 (13:48 +0000)] 
Ported to MetroWerks, which misses file-descriptor like functionality.

30 years agoEnlarged version buffer (nobody expects the spanish inquisition:-)
Jack Jansen [Wed, 14 Dec 1994 13:47:30 +0000 (13:47 +0000)] 
Enlarged version buffer (nobody expects the spanish inquisition:-)

Support for new sys.path code in config.c

30 years ago- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen [Wed, 14 Dec 1994 13:45:11 +0000 (13:45 +0000)] 
- PYTHONPATH is now \n-separated, so you can have directories with
  spaces in the name.
- If you run python with a script the working directory is now the
  directory where the script lives (was: directory where python
  application lives). sys.path will include current dir, application
  dir and Lib, etc. relative to application dir. This is more like
  unix python does things and more useful besides (since you can
  easily import files living in the same directory as the importer).
- Added the macconsole, ctb, macspeech, macdnr and mactcp modules.
- For MW compiler, put 68K/PPC indication in version string.

30 years agoAdded support for MetroWerks CodeWarrior compiler
Jack Jansen [Wed, 14 Dec 1994 13:38:13 +0000 (13:38 +0000)] 
Added support for MetroWerks CodeWarrior compiler

30 years agoInterface to MacTCP and the MacTCP Domain Name Resolver
Jack Jansen [Wed, 14 Dec 1994 13:36:34 +0000 (13:36 +0000)] 
Interface to MacTCP and the MacTCP Domain Name Resolver

30 years ago- Added Version method
Jack Jansen [Wed, 14 Dec 1994 13:34:35 +0000 (13:34 +0000)] 
- Added Version method
- Now gives new mac exceptions
- Ported to PowerPC Mac and CodeWarrior

30 years agoInterface to Mac Communications Toolbox (only Connection Manager for
Jack Jansen [Wed, 14 Dec 1994 13:31:11 +0000 (13:31 +0000)] 
Interface to Mac Communications Toolbox (only Connection Manager for
now)

30 years agoThis file (which is Guido's) was somehow missing...
Jack Jansen [Wed, 14 Dec 1994 13:07:43 +0000 (13:07 +0000)] 
This file (which is Guido's) was somehow missing...

30 years agoNew standard modules for the mac.
Jack Jansen [Wed, 14 Dec 1994 13:06:25 +0000 (13:06 +0000)] 
New standard modules for the mac.

30 years ago- Added ability to get at strings embedded in the struct
Jack Jansen [Wed, 14 Dec 1994 13:04:05 +0000 (13:04 +0000)] 
- Added ability to get at strings embedded in the struct
- For the mac, added ability to get at pascal-style strings

30 years agoRemoved extraneous fclose() in case of .pyc file argument
Jack Jansen [Wed, 14 Dec 1994 12:58:37 +0000 (12:58 +0000)] 
Removed extraneous fclose() in case of .pyc file argument

30 years agoUse \n as PYTHONPATH delimiter on Mac (less likely to occur in
Jack Jansen [Wed, 14 Dec 1994 12:57:12 +0000 (12:57 +0000)] 
Use \n as PYTHONPATH delimiter on Mac (less likely to occur in
filenames than space).