Guido van Rossum
eb2d36c98f
Use the build directory by default, and update the version.
2001-09-05 19:51:08 +00:00
Neil Schemenauer
89e90d67aa
Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
...
directives, which is the role of CPPFLAGS. Closes SF patch #414991 .
2001-06-02 06:16:02 +00:00
Guido van Rossum
063ee7bbe6
Fix Makefile so at least it uses Python 2.0, and compiles out of the
...
box on Linux.
2000-11-03 12:58:09 +00:00
Thomas Wouters
2cffc7d420
Move our own getopt() implementation to _PyOS_GetOpt(), and use it
...
regardless of whether the system getopt() does what we want. This avoids the
hassle with prototypes and externs, and the check to see if the system
getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to
avoid name clashes. Add new include file to define the right symbols. Fix
Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on
Python to provide it.
2000-11-03 08:18:37 +00:00
Thomas Wouters
7889010731
Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
...
char**) and return an int even on PC platforms. If not, please fix
PC/utils/makesrc.c ;-P
2000-07-22 19:25:51 +00:00
Guido van Rossum
caf2f8e3c7
Add -v flag. Comment duplicate Py_Finalize().
1999-10-05 22:16:07 +00:00
Guido van Rossum
4117e5428b
nannified
1998-09-14 16:44:15 +00:00
Guido van Rossum
643f8f62b4
Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing and
...
restarting the server.
1997-12-25 04:48:51 +00:00
Guido van Rossum
aa61505fd2
Use a counter instead of a Boolean to check for initialized; n calls
...
to Py_Initialize will be undone by n calls to Py_Uninitialize.
1997-08-20 22:40:18 +00:00
Guido van Rossum
20abb4e6b4
Added (commented-out) defs for use with the build tree instead of the
...
installed version.
1997-08-14 19:48:42 +00:00
Guido van Rossum
c46d22e52e
Print ps (process status) for us when starting a new thread.
...
Even less shuffling of stdout (only at start of new interpreter).
Interact properly with new interpreter initialization conventions
(must use Py_Initialize/Py_Finalize *and*
Py_NewInterpreter/Py_EndInterpreter).
Probably more minor changes.
1997-08-02 02:02:22 +00:00
Guido van Rossum
630924f190
Use Py_NewInterpreter() and friends. Remove saving/restoring of std files.
1997-07-25 20:59:55 +00:00
Guido van Rossum
a88446aa4a
Some improvements, e.g. -L/depot/... is not needed.
1997-07-19 21:34:11 +00:00
Guido van Rossum
e0c6901369
Added leading comment and security check.
1997-07-19 21:33:10 +00:00
Guido van Rossum
42ded89c08
Reformulate security check using getsockname().
1997-07-19 21:29:28 +00:00
Guido van Rossum
eca991df27
Change security policy -- only accept requests from current host.
1997-07-19 21:13:53 +00:00
Guido van Rossum
5c8b991175
New example of threaded embedding
1997-07-19 21:00:47 +00:00