summaryrefslogtreecommitdiffstats
path: root/Demo/pysvr
Commit message (Collapse)AuthorAgeFilesLines
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-249/+249
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.Georg Brandl2008-05-251-4/+4
|
* Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about ↵Collin Winter2007-07-171-9/+9
| | | | lingering print statements.
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-5/+5
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Patch #1550800: make exec a function.Georg Brandl2006-09-061-1/+1
|
* Patch #524008: Fix portability bug on new POSIX hostsMartin v. Löwis2002-03-011-1/+1
|
* sprintf -> PyOS_snprintf in some "obviously safe" cases.Tim Peters2001-11-281-2/+3
| | | | | Also changed <>-style #includes to ""-style in some places where the former didn't make sense.
* Use the build directory by default, and update the version.Guido van Rossum2001-09-051-9/+12
|
* Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessorNeil Schemenauer2001-06-021-1/+2
| | | | directives, which is the role of CPPFLAGS. Closes SF patch #414991.
* Fix Makefile so at least it uses Python 2.0, and compiles out of theGuido van Rossum2000-11-031-2/+2
| | | | box on Linux.
* Move our own getopt() implementation to _PyOS_GetOpt(), and use itThomas Wouters2000-11-031-4/+1
| | | | | | | | | 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.
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-221-5/+5
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* Add -v flag. Comment duplicate Py_Finalize().Guido van Rossum1999-10-051-2/+8
|
* nannifiedGuido van Rossum1998-09-141-65/+65
|
* Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing andGuido van Rossum1997-12-251-1/+5
| | | | restarting the server.
* Use a counter instead of a Boolean to check for initialized; n callsGuido van Rossum1997-08-201-0/+2
| | | | to Py_Initialize will be undone by n calls to Py_Uninitialize.
* Added (commented-out) defs for use with the build tree instead of theGuido van Rossum1997-08-141-3/+10
| | | | installed version.
* Print ps (process status) for us when starting a new thread.Guido van Rossum1997-08-021-9/+40
| | | | | | | | | | 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.
* Use Py_NewInterpreter() and friends. Remove saving/restoring of std files.Guido van Rossum1997-07-251-22/+16
|
* Some improvements, e.g. -L/depot/... is not needed.Guido van Rossum1997-07-191-8/+5
|
* Added leading comment and security check.Guido van Rossum1997-07-191-5/+28
|
* Reformulate security check using getsockname().Guido van Rossum1997-07-191-3/+4
|
* Change security policy -- only accept requests from current host.Guido van Rossum1997-07-191-21/+9
|
* New example of threaded embeddingGuido van Rossum1997-07-194-0/+505