Commit Graph

419 Commits

Author SHA1 Message Date
Neil Schemenauer 2b2681ac3e Remove confusing explaination about altinstall target and refer to
the README file.
2001-02-16 04:16:34 +00:00
Neil Schemenauer 92538fbf85 Build grammar files in their proper place rather than moving them. This should
allow building with a read-only source tree (although I haven't tried it).
2001-02-16 03:59:53 +00:00
Neil Schemenauer 75e33892f8 Simplify linking on BeOS. Rename some files. Closes SF patch #103679. 2001-02-16 03:36:53 +00:00
Neil Schemenauer 8d3274e053 Specify directory permissions properly. Closes SF patch #103717. 2001-02-10 20:07:38 +00:00
Jeremy Hylton cb17ae8b19 Relax the rules for using 'from ... import *' and exec in the presence
of nested functions.  Either is allowed in a function if it contains
no defs or lambdas or the defs and lambdas it contains have no free
variables.  If a function is itself nested and has free variables,
either is illegal.

Revise the symtable to use a PySymtableEntryObject, which holds all
the revelent information for a scope, rather than using a bunch of
st_cur_XXX pointers in the symtable struct.  The changes simplify the
internal management of the current symtable scope and of the stack.

Added new C source file: Python/symtable.c.  (Does the Windows build
process need to be updated?)

As part of these changes, the initial _symtable module interface
introduced in 2.1a2 is replaced.  A dictionary of
PySymtableEntryObjects are returned.
2001-02-09 22:22:18 +00:00
Neil Schemenauer ac959779f0 Install shared modules enabled by Setup* in $(DESTSHARED) not
$(DESTSHARED)/Modules.
2001-02-06 14:50:27 +00:00
Neil Schemenauer e0d435777c Tweak clean targets yet again. 2001-02-03 17:16:29 +00:00
Jeremy Hylton 96da8b6d88 add compile.h and symtable.h to list of header files 2001-02-02 19:54:23 +00:00
Jeremy Hylton 26d1f14433 Undo recent exclusion of test_fork1 and test_zlib. These tests don't
trigger my arbitrary exlusion rule, which is: takes more than 10
seconds of wall clock time on my machine.  If these tests are going to
be skipped, then a boatload of slower tests should be skipped, too.
2001-02-02 18:12:16 +00:00
Fred Drake 042f3137ba Added fork1, linuxaudiodev, sunaudiodev, and zlib to the tests skipped
by the quicktest target.
2001-02-02 03:03:33 +00:00
Jeremy Hylton 2a850d91bc add quicktest target -- runs test suite except for the eight slowest tests 2001-02-01 19:51:28 +00:00
Andrew M. Kuchling bddd878cd5 Restore the automatic use of the oldsharedmods and oldsharedinstall targets 2001-01-29 20:18:59 +00:00
Sjoerd Mullender 30be8708c5 Don't use $< in normal make rules: it's not portable. Using $< in
inference rules (e.g. .c.o) is fine.
2001-01-29 09:39:14 +00:00
Neil Schemenauer 188218232d - Fix buildno dependencies (I hope).
- Change one last EXE to EXEEXT.
2001-01-27 21:42:38 +00:00
Andrew M. Kuchling 03184e2815 Remaining single-line change from patch #102409: to install shared modules,
run setup.py with the --install-platlib flag so you can override
   'prefix' when running make (e.g. make prefix=/tmp/python/usr/local install)

Instead of using mkdir to create directories, use install -d (mkdir -p
   apparently isn't portable)

Emacs make-mode reported line 371 as suspicious; removed the whitespace from
   that line.
2001-01-26 22:52:45 +00:00
Neil Schemenauer 7ac954b7f6 - Add CFLAGSFORSHARED variable. configure sets this to CCSHARED if LDLIBRARY
is a shared library.
- Add PY_CFLAGS variable (flags used to compile the interpreter)
- clobber now just removes object files, libraries and binaries
2001-01-26 16:14:41 +00:00
Neil Schemenauer f65e500594 Make module objects from Setup depend on Python.h headers. 2001-01-25 20:07:50 +00:00
Jeremy Hylton fbd849f201 PEP 227 implementation
A cell contains a reference to a single PyObject.  It could be
implemented as a mutable, one-element sequence, but the separate type
has less overhead.
2001-01-25 20:04:14 +00:00
Neil Schemenauer 85515ad979 Flat makefile based on toplevel Makefile.in and makefiles in build
subdirectories.  Those other makefiles will go away eventually.
2001-01-24 17:11:43 +00:00