Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Py_Main() must be DL_EXPORT too. | Guido van Rossum | 1998-12-07 | 1 | -1/+1 |
| | |||||
* | Documented PYTHONOPTIMIZE; by Marc Lemburg. | Guido van Rossum | 1998-10-07 | 1 | -1/+1 |
| | |||||
* | Typo in usage message. | Guido van Rossum | 1998-04-13 | 1 | -1/+1 |
| | |||||
* | Add -t option to set the Py_TabcheckFlag flag. | Guido van Rossum | 1998-04-10 | 1 | -5/+10 |
| | |||||
* | Don't use setvbuf unless HAVE_SETVBUF is defined. | Guido van Rossum | 1998-03-06 | 1 | -4/+12 |
| | |||||
* | Two changes by Jeff Rush (slightly tweaked): | Guido van Rossum | 1997-12-05 | 1 | -9/+26 |
| | | | | | | | | | | | - New option -x, to skip first line of script - Use the correct platform-specific delimiter and library location in the usage message (Also removed two blank lines and moved one line around so that each part of the usage message is again under 512 bytes and the whole usage message still fits in 23 lines.) | ||||
* | Take out the setlocale() call. It affects atof() and will break | Guido van Rossum | 1997-10-31 | 1 | -8/+0 |
| | | | | floating point literals. Need to do this differently... | ||||
* | Add call to setlocale(LC_ALL, ""). | Guido van Rossum | 1997-10-08 | 1 | -1/+8 |
| | |||||
* | Move the "import readline" to an earlier place so it is also done when | Guido van Rossum | 1997-09-16 | 1 | -8/+10 |
| | | | | | "-i" is given. (Yes, I know, giving in to Marc Lemburg who wanted this :-) | ||||
* | 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 |