Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added -X option to suppress default import of site.py. Also split the | Guido van Rossum | 1997-08-29 | 1 | -5/+13 |
| | | | | | usage message in *three* parts under 510 bytes, for low-end ANSI compatibility. | ||||
* | Swap the sense of the -X option vis-a-vis Py_UseClassExceptionsFlag so | Barry Warsaw | 1997-08-29 | 1 | -2/+3 |
| | | | | | that class based exceptions are enabled by default. -X disables them in favor of the old-style string exceptions. | ||||
* | Parse new command line option -X which enables exception classes. | Barry Warsaw | 1997-08-29 | 1 | -1/+6 |
| | |||||
* | Attempt to import readline at interactive startup. | Guido van Rossum | 1997-08-05 | 1 | -0/+8 |
| | |||||
* | Py_Cleanup() is now Py_Finalize(). | Guido van Rossum | 1997-08-05 | 1 | -1/+1 |
| | |||||
* | Free the malloc'ed buffer that holds the command once we're done with it. | Guido van Rossum | 1997-08-02 | 1 | -2/+3 |
| | | | | Instead of calling Py_Exit(sts), call Py_Cleanup() and return sts. | ||||
* | Removed a bunch of extern declarations of functions that are now | Guido van Rossum | 1997-07-19 | 1 | -6/+0 |
| | | | | properly declared in Python.h. | ||||
* | This is no longer the real main program; it now defines Py_Main(), so | Guido van Rossum | 1997-07-19 | 1 | -30/+7 |
| | | | | | | | | | | | | | | | | it can be placed in the library. Other, related changes: - Moved the inspection of some environment variables to Py_Initialize(). - Got rid of -s option. - Moved Py_GetProgramName() and related logic to pythonrun.c; call Py_SetProgramName() instead. - Print the version header *after* successful initialization. | ||||
* | Add platform to welcome message. | Guido van Rossum | 1997-05-19 | 1 | -2/+3 |
| | |||||
* | Add PYTHONHOME to the usage message. | Guido van Rossum | 1997-04-30 | 1 | -0/+2 |
| | |||||
* | OK, I lied. On Windows, _IOLBF seems to be the same as full | Guido van Rossum | 1997-04-11 | 1 | -4/+8 |
| | | | | | buffering, so to get the normal behavior back, I set it to unbuffered. | ||||
* | Change in when and how stdin and stdout are set to line-buffering. | Guido van Rossum | 1997-04-11 | 1 | -3/+5 |
| | | | | | | | This used to be done whenever stdin was interactive. Now we only do it when the -i flag is given. Also (and this is the real reason for this fix) we explicitly allocate a buffer -- this seems to be necessary on Windows. | ||||
* | Add -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO. | Guido van Rossum | 1997-03-03 | 1 | -2/+7 |
| | | | | | Fred: sorry, I hadn't checked these changes in. This should fix your tracebacks! | ||||
* | Add parentheses around && within || as gcc -Wall advises. | Guido van Rossum | 1997-02-14 | 1 | -1/+1 |
| | |||||
* | My version of Lee Busby's patches to make '-i' pretend stdin is a tty | Guido van Rossum | 1997-02-14 | 1 | -22/+35 |
| | | | | | | | | | | | | | | | even if it isn't. Changes: - set the global flag Py_InteractiveFlag when -i is given - call Py_FdIsInteractive() instead of isatty() - make stdin unbuffered, too, when using -u - make stdin and stdout line buffered, when stdin is interactive and not -u Note that setting the environment variable PYTHONINSPECT does not have these extra effects of -i. (Should it?) Unlike Lee's changes, I don't set change the prompt to go to stderr when -i is given. | ||||
* | Fix the _setmode() patch for MS_WINDOWS: include <fcntl.h> and use | Guido van Rossum | 1997-01-17 | 1 | -2/+6 |
| | | | | fileno(std*). | ||||
* | On Windows, -u implies binary mode for stdin/stdout | Guido van Rossum | 1997-01-11 | 1 | -0/+4 |
| | | | | (as well as unbuffered stdout/stderr). | ||||
* | Include unistd.h to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+3 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -2/+2 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | New style names for getprogramname and getargcargv | Guido van Rossum | 1996-07-21 | 1 | -6/+6 |
| | |||||
* | Made comment for getprogramname() more helpful. | Guido van Rossum | 1996-06-20 | 1 | -1/+2 |
| | |||||
* | grand renaming; added copyright to some files | Guido van Rossum | 1996-05-28 | 1 | -8/+3 |
| | |||||
* | Initial revision | Guido van Rossum | 1995-08-04 | 1 | -0/+246 |