Commit Graph

1888 Commits

Author SHA1 Message Date
Guido van Rossum a96720907a * Python/ceval.c (eval_code): added registry of pending functions
(to be used by functions that are called asynchronously, like
	UNIX signal handlers or Mac I/O completion routines)
1994-09-14 13:31:22 +00:00
Guido van Rossum fdef271550 * Import/pythonrun.h, Python/{import,pythonrun}.c,
mac/macsetfiletype.c: changes by Jack to execute .pyc file passed
	as command line argument.  On the Mac .pyc files are given a
	special type so they can be double-clicked
1994-09-14 13:31:04 +00:00
Guido van Rossum 956640880d pythonrun.h: added run_pyc_file
ceval.h: added Py_AddPendingCall
rest: modules using the new naming scheme must now include Python.h
1994-09-14 13:23:36 +00:00
Guido van Rossum f5e0ea89db * Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
extensions; add -lm to math module definition

	* Modules/Makefile.pre.in: remove *.so and so_locations on clobber
1994-09-12 15:35:36 +00:00
Sjoerd Mullender 73737abead If an argument on a Setup line starts with `$', treat it as a library,
but only if it does not end in a known suffix.
1994-09-12 15:31:01 +00:00
Guido van Rossum 0a516c99dd The usual junk 1994-09-12 10:58:40 +00:00
Guido van Rossum ac405f6c4e Shared library support 1994-09-12 10:56:06 +00:00
Guido van Rossum 7cc5abd454 Support shared library creation. 1994-09-12 10:42:20 +00:00
Guido van Rossum 9adae8e182 Steen Lumholt's termios interface. 1994-09-12 10:41:22 +00:00
Guido van Rossum 43021932bc Added _getpty interface. 1994-09-12 10:40:46 +00:00
Guido van Rossum ae311bd503 Mods for HP-UX dynamic loading. 1994-09-12 10:39:56 +00:00
Guido van Rossum 73b20df99e Added TERMIOS module 1994-09-12 10:39:08 +00:00
Guido van Rossum 23cb2a83a5 New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
Guido van Rossum c0af2aafeb Add'l notes by Guido 1994-09-09 12:10:21 +00:00
Guido van Rossum 6522eb0400 * Parser/grammar1.c (finddfa): massive speed up by using direct
addressing instead of searching
1994-09-09 11:11:39 +00:00
Guido van Rossum 853474194f mhlib.py: delay opening of sequences file so we don't overwrite it when
putsequences is called with a bad argument
rfc822.py: better handling of dates with no or bad timezones
uu.py: contributed by Lance -- uu{en,de}code
1994-09-09 11:10:15 +00:00
Guido van Rossum 91951481b8 added Tommy Burnette's setblocking() method 1994-09-07 14:39:14 +00:00
Guido van Rossum 1662dd5a3d added Py_AtExit() -- register cleanup functions for C modules 1994-09-07 14:38:28 +00:00
Guido van Rossum 9776adf565 rearranged code in debugging version of DELREF to avoid touching data
after it has been freed.
1994-09-07 14:36:45 +00:00
Guido van Rossum c6cf1dd317 pythgonrun.h: added Py_AtExit().
rename1.h: add PyArg_GetInt.
1994-09-07 14:35:10 +00:00
Guido van Rossum e4485b064d Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
that the module-specific components are in the section for that
module.

cursesmodule.c: patched it so it actually works.

tkintermodule.c: call Py_AtExit instead of atexit().

signalmodule.c: converted to new naming style; added
BGN/END SAVE around pause() call.

socketmodule.c: added setblocking() after Tommy Burnette.
1994-09-07 14:32:49 +00:00
Sjoerd Mullender a142613678 Added minmax function. 1994-09-06 16:19:33 +00:00
Sjoerd Mullender e202c38d76 Can now also give a hashed ID to Cddb. 1994-09-06 16:19:03 +00:00
Sjoerd Mullender 1f05754640 Added support for ADPCM compression. 1994-09-06 16:17:51 +00:00
Guido van Rossum 03a909628b Define cl_{get,set,del}attr members in classobject 1994-09-06 09:48:43 +00:00
Guido van Rossum 524f146c01 Added mboxconvert.py 1994-09-05 11:51:33 +00:00
Guido van Rossum 52ca98a390 Yet another version (by me) of __getattr__ etc. 1994-09-05 07:32:29 +00:00
Guido van Rossum e773754ae5 Mods (really diffs to 2.29) by Michael Scharf for alternative __getattr__ etc. 1994-09-05 07:31:41 +00:00
Guido van Rossum 56bf235d4c Lance's release 1.1 -- fixes some problems with 1.0 1994-08-31 22:06:24 +00:00
Guido van Rossum fbea2f3e7c Release 1.0 by Lance 1994-08-31 22:05:27 +00:00
Guido van Rossum 7522f030ee Makefile.in: run compileall on installed library;
rest: the usual
1994-08-30 12:42:01 +00:00
Guido van Rossum e4ab6475f1 * Python/getmtime.c: Remove mac specifics (Mac subdirectory has
its own version now)
* Python/bltinmodule.c (builtin_tuple): use pre-existing
listtuple(v) for lists
1994-08-30 12:38:05 +00:00
Guido van Rossum f6971e2958 Lance has converted his modules to the new naming conventions, and
contributed a curses interface.
Setup.in uses .c instead of .o now.
1994-08-30 12:25:20 +00:00
Guido van Rossum 0c4071e69f FAQ: Added lambda stress test by Ulf
ACKS: Added Ulf
README: fix typo
1994-08-30 12:23:22 +00:00
Guido van Rossum f023ab0471 Dialog.py: d.num should be numeric, not string
Tkinter.py: on destroy(), remove self from master's dict of children
1994-08-30 12:13:44 +00:00
Guido van Rossum c1be9d59e4 * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
example
1994-08-30 12:08:58 +00:00
Guido van Rossum 275b0a44d5 Description of what's here 1994-08-30 12:07:58 +00:00
Guido van Rossum 9717991b78 Merge back to main trunk 1994-08-30 09:33:45 +00:00
Guido van Rossum 224b289efa * Modules/makesetup: bugfix: add objects from sources to OBJS 1994-08-30 09:27:16 +00:00
Guido van Rossum 1d5735e846 Merge back to main trunk 1994-08-30 08:27:36 +00:00
Guido van Rossum 013142a95f fix nasty bug in resizing (formatstring) 1994-08-30 08:19:36 +00:00
Guido van Rossum e59214ed91 call_object: print message before abort() 1994-08-30 08:01:59 +00:00
Guido van Rossum b078ce10d4 Move #endif for NT 1994-08-29 14:01:43 +00:00
Guido van Rossum 74e6a118ca * Python/import.c: support *.o/*.so as alternative for
*module.o/*module.so

        * Python/import.c: if initializing a module did not enter the
        module into sys.modules, it may have raised an exception -- don't
        override this exception.

Merged NT changes

        * Python/import.c: add lost NT-specific code back in

Fixed NT changes
1994-08-29 12:54:38 +00:00
Guido van Rossum 14144fcdfd Added delattr() 1994-08-29 12:53:40 +00:00
Guido van Rossum cae027b298 * Python/bltinmodule.c: added tuple() builtin 1994-08-29 12:53:11 +00:00
Guido van Rossum df05ac6dfb Python/bltinmodule.c: mods by Andrew Kuchling to implement
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
1994-08-29 12:52:37 +00:00
Guido van Rossum 2d9518585c * Python/bltinmodule.c (builtin_vars): correct typo in error msg 1994-08-29 12:52:16 +00:00
Guido van Rossum a110aa658b * Python/pythonrun.c (print_error): added INCREF/DECREF pair --
the exception returned by a syntax error (when reported) would
        contain an object with refcnt zero!
MPW changes
1994-08-29 12:50:44 +00:00
Guido van Rossum bf8c0e336f mods by Andrew Kuchling to implement
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
Correct problems found by THINK C 6.0
1994-08-29 12:48:32 +00:00