Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
94988067b96c6187fd940eaff99c2c5a68daac68
/
Modules
/
main.c
57e11ae
usage_mid: Remove the description of the -X flag; it's gone now.
by Barry Warsaw
· 25 years ago
c15a9a1
Marc-Andre Lemburg:
by Guido van Rossum
· 25 years ago
dc8b569
Patch from Tim Peters to repare a the problem that tracebacks are off
by Guido van Rossum
· 26 years ago
01b7ced
On Windows, -i shouldn't call set[v]buf(stdin, ...) because it screws
by Guido van Rossum
· 26 years ago
6b86a42
Document -OO; "unsafe" optimization that removes docstrings. Marc-Andre Lemburg.
by Guido van Rossum
· 26 years ago
9c1201f
Py_Main() must be DL_EXPORT too.
by Guido van Rossum
· 26 years ago
e7adf3e
Documented PYTHONOPTIMIZE; by Marc Lemburg.
by Guido van Rossum
· 26 years ago
7c33095
Typo in usage message.
by Guido van Rossum
· 27 years ago
bba92ca
Add -t option to set the Py_TabcheckFlag flag.
by Guido van Rossum
· 27 years ago
22ffac1
Don't use setvbuf unless HAVE_SETVBUF is defined.
by Guido van Rossum
· 27 years ago
a075ce1
Two changes by Jeff Rush (slightly tweaked):
by Guido van Rossum
· 27 years ago
873c35c
Take out the setlocale() call. It affects atof() and will break
by Guido van Rossum
· 27 years ago
44c36bb
Add call to setlocale(LC_ALL, "").
by Guido van Rossum
· 27 years ago
3d26cc9
Move the "import readline" to an earlier place so it is also done when
by Guido van Rossum
· 27 years ago
7922bd7
Added -X option to suppress default import of site.py. Also split the
by Guido van Rossum
· 27 years ago
83b6709
Swap the sense of the -X option vis-a-vis Py_UseClassExceptionsFlag so
by Barry Warsaw
· 27 years ago
f488af3
Parse new command line option -X which enables exception classes.
by Barry Warsaw
· 27 years ago
9b5dbed
Attempt to import readline at interactive startup.
by Guido van Rossum
· 27 years ago
5d1770e
Py_Cleanup() is now Py_Finalize().
by Guido van Rossum
· 27 years ago
05f7c50
Free the malloc'ed buffer that holds the command once we're done with it.
by Guido van Rossum
· 27 years ago
534ac09
Removed a bunch of extern declarations of functions that are now
by Guido van Rossum
· 27 years ago
ed52aac
This is no longer the real main program; it now defines Py_Main(), so
by Guido van Rossum
· 27 years ago
fe4dfc7
Add platform to welcome message.
by Guido van Rossum
· 27 years ago
03ef647
Add PYTHONHOME to the usage message.
by Guido van Rossum
· 28 years ago
b31c7dc
OK, I lied. On Windows, _IOLBF seems to be the same as full
by Guido van Rossum
· 28 years ago
2a21219
Change in when and how stdin and stdout are set to line-buffering.
by Guido van Rossum
· 28 years ago
7614da6
Add -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO.
by Guido van Rossum
· 28 years ago
129e91a
Add parentheses around && within || as gcc -Wall advises.
by Guido van Rossum
· 28 years ago
775af91
My version of Lee Busby's patches to make '-i' pretend stdin is a tty
by Guido van Rossum
· 28 years ago
3e7ae7a
Fix the _setmode() patch for MS_WINDOWS: include <fcntl.h> and use fileno(std*).
by Guido van Rossum
· 28 years ago
f22d7e2
On Windows, -u implies binary mode for stdin/stdout
by Guido van Rossum
· 28 years ago
66a7013
Include unistd.h to keep gcc -Wall happy.
by Guido van Rossum
· 28 years ago
a376cc5
Keep gcc -Wall happy.
by Guido van Rossum
· 28 years ago
d266eb4
New permission notice, includes CNRI.
by Guido van Rossum
· 28 years ago
ac56b03
New style names for getprogramname and getargcargv
by Guido van Rossum
· 28 years ago
8026feb
Made comment for getprogramname() more helpful.
by Guido van Rossum
· 28 years ago
582646a
grand renaming; added copyright to some files
by Guido van Rossum
· 28 years ago
667d704
Initial revision
by Guido van Rossum
· 29 years ago