Kaydet (Commit) af07a444 authored tarafından Guido van Rossum's avatar Guido van Rossum

the usual

üst 57c33af9
Mon Feb 13 12:39:16 1995 Guido van Rossum <guido@voorn.cwi.nl>
* README: removed remark on NeXT and -posix since this is now done
by configure
* Mac/config.c, Modules/config.c.in (getversion): tack compiler
name and version (where known) onto version string
* Python/{ceval.c,bltinmodule.c}: call __import__ with 4
arguments: modulename, globals, locals, list_of_from_names_or_None
(for Ken Manheimer)
* Objects/floatobject.c: work-around for NeXT Sparc 3.3 prerelease
(Barry Warsaw)
* Python/ceval.c (eval_code): call locals_2_fast before doing
import from (Jim Roskind)
Fri Feb 10 17:08:35 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Objects/object.c (newvarobject), Include/objimpl.h: make size
argument signed
* Include/allobjects.h, several other files: introduce
Py_CHARMASK(c) which expands to c&0xff, or just c if characters
are unsigned. This should fix problems with passing negative
values to isspace() and friends for characters > 0x7f on systems
where 'char' is signed
Thu Feb 9 10:26:21 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Lib/copy.py: added __doc__ strings
* Lib/shelve.py: added __doc__ strings
* Lib/anydbm.py: added __doc__ strings and test for gdbm
* Include/longintrepr.h: remove untrue comment about
signed/unsigned ob_size
* Modules/mpzmodule.c (mpz_div_and_mod): add proper casts (Jim
Fulton)
Wed Feb 8 15:48:24 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Python/bltinmodule.c (do_pow), Objects/floatobject.c
(float_pow): move check for negative float to the float power to
the pow() function, so negative float to the integer power can be
implemented correctly (after coercion to float)
Tue Feb 7 10:14:34 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Python/import.c (init_frozen): make it non-static, so
frozenmain.c can use it. Also remove the reference to
frozenmain.o from Python/Makefile.in
* Doc/{ref6.tex,ref7.tex} (raise, except): describe classes and
instances used as exceptions (R Lindsay Todd)
* Lib/test/test_exceptions.py: added tests for raising classes (R
Lindsay Todd)
* Python/ceval.c (exec_statement): DECREF result of run_string
(Mark Lutz)
* Modules/cursesmodule.c: patches to clear errors between failing
calls to Arg_Parse (Steve Clift)
Fri Feb 3 13:48:12 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Lib/bdb.py (format_stack_entry): append () to function name if
no __args__
* Lib/pdb.py (print_stack_entry): default prompt_prefix is
line_prefix, and use the default everywhere
Thu Feb 2 15:27:15 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Python/pythonrun.c (print_error): print class name for
exceptions that are classes (R Lindsay Todd)
* Modules/tkintermodule.c: use PyCallable_Check instead of
manually checking for some callable types for callbacks; export
TK_VERSION and TCL_VERSION strings; a few Tk 4.0 specific changes
* Modules/socketmodule.c (initsocket): added a long list of socket
related constants -- better here than in a separate python module,
because the values change per system (R Lindsay Todd)
* Doc/{lib.tex,libsignal.tex}: added documentation for signal
module (Andrew Kuchling)
Tue Jan 31 13:06:59 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Include/pythonrun.h: remove declaration of (now static)
run_pyc_file
* Modules/posixmodule.c (posix_utime): correct typo in utime()
stub
Tue Jan 31 11:02:00 1995 Guido van Rossum <guido@guppie.cwi.nl>
* Modules/{pwdmodule.c,grpmodule.c} (mkpwent, mkgrent): NeXT
specific patch for little endian machines where the uid and gid
are in the wrong place in the structure (Mike Carlton)
Mon Jan 30 16:17:33 1995 Guido van Rossum <guido@voorn.cwi.nl>
* configure.in: add -posix to definition of CC when detecting Next
Mon Jan 30 13:32:07 1995 Guido van Rossum <guido@guppie.cwi.nl>
* Mac/*: not clearly logged are lots of changes to the Mac
specific modules, e.g. reworking of the interrupt detection code
and general reorganization of macglue.[ch], as well as support for
modules generated by "bgen" (see Demo/bgen), and subsequent
removal of the resource and sound interfaces from MacOS (since
they now have their own, complete, generated interface), and also
lots of development on the mactcp and macfs front
* Modules/stdwinmodule.c (initstdwin): disable python's own event
processing on the mac as soon as stdwin is imported; removed some
unused variables
* Parser/intrcheck.c: moved all mac specific stuff to
Mac/macglue.c
* Python/pythonrun.c (goaway): Think C mod to suppress pausing at
normal exit
* Python/import.c (imp_get_magic): fix glaring indexing bug
* Modules/dbmmodule.c (dbm_keys): fix memory leak and tighten
error checking (and redo lay-out)
Fri Jan 27 00:00:17 1995 Guido van Rossum <guido@zeus.cwi.nl>
* Objects/listobject.c: round up item count on resize to improve
realloc performance (dramatic effect in the Mac with Think C!)
* Include/{rename2.h,methodobject.h}, Objects/methodobject.c:
added support for chaining method lists: Py_FindMethodInChain
Thu Jan 26 12:59:51 1995 Guido van Rossum <guido@guppie.cwi.nl>
* Python/Makefile.in: removed frozenmain.o from OBJS -- it has no
business being in libPython.a. (Still build it though.)
Thu Jan 26 00:42:29 1995 Guido van Rossum <guido@zeus.cwi.nl>
* Lib/mhlib.py: fix bogus test for matching regex
......@@ -19,7 +167,7 @@ Thu Jan 26 00:42:29 1995 Guido van Rossum <guido@zeus.cwi.nl>
* Objects/object.c, Python/bltinmodule.c: moved callable() to
object.c (from static in bltinmodule.c) since it is generally
useful (and I needed it :-)
useful (and I needed it :-); removed some unused vars
Wed Jan 25 13:20:52 1995 Guido van Rossum <guido@zeus.cwi.nl>
......
......@@ -230,6 +230,7 @@ clean: localclean
localclobber: localclean
-rm -f tags TAGS python
-rm -f config.log config.cache config.h Makefile
clobber: localclobber
-for i in $(SUBDIRS); do \
......
......@@ -52,13 +52,10 @@ AIX users: read the file Misc/AIX-NOTES before trying to build.
HP-UX users: read the file Misc/HPUX-NOTES if you want to be able to
use shared libraries for dynamically loaded modules.
Minix users: when using ack, use "CC=cc AR=aal RANLIB=: ./configure"!
DEC Alpha users: unless you like debugging GCC, pass "--without-gcc"
to the configure script.
NeXT users: everything must be linked and compiled with "-posix".
Until I find out how to let the configure script do that
automatically, the best way is to run compile with "CC='cc -posix'" in
the environment; the next best way is to edit the toplevel Makefile
(after running configure) to add -posix to OPT.
Minix users: when using ack, use "CC=cc AR=aal RANLIB=: ./configure"!
You can configure the interpreter to contain fewer or more built-in
modules by editing the file Modules/Setup. This file is initially
......
This diff is collapsed.
......@@ -50,7 +50,8 @@ AC_TRY_RUN([
#ifdef _NEXT_SOURCE
main() { exit(0); }
#endif
], AC_DEFINE(_POSIX_SOURCE) was_it_defined=yes)
], AC_DEFINE(_POSIX_SOURCE)
CC="$CC -posix"; was_it_defined=yes)
AC_MSG_CHECKING(for NeXT)
AC_MSG_RESULT($was_it_defined)
......@@ -127,7 +128,10 @@ AC_MSG_CHECKING(CCSHARED)
if test -z "$CCSHARED"
then
case $ac_sys_system in
hp*|HP*) CCSHARED="+z";;
hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fpic";
else CCSHARED="+z";
fi;;
esac
fi
AC_MSG_RESULT($CCSHARED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment