Benjamin Peterson
4cc93db9b3
avoid reading unallocated memory when argc == 0 ( closes #22633 )
2015-02-14 15:17:25 -05:00
Antoine Pitrou
c83ea137d7
Untabify C files. Will watch buildbots.
2010-05-09 14:46:46 +00:00
Martin v. Löwis
6238d2b024
Patch #569753 : Remove support for WIN16.
...
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
2002-06-30 15:26:10 +00:00
Martin v. Löwis
cdc4451222
Include <unistd.h> in Python.h. Fixes #500924 .
2002-01-12 11:05:12 +00:00
Neil Schemenauer
7d4bb9f179
Add -E command line switch (ignore environment variables like PYTHONHOME
...
and PYTHONPATH).
2001-07-23 16:30:27 +00:00
Guido van Rossum
8586991099
REMOVED all CWI, CNRI and BeOpen copyright markings.
...
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Thomas Wouters
b4bd21cf79
ANSIfy as many declarations as possible.
2000-07-22 23:38:01 +00:00
Thomas Wouters
f70ef4f860
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
...
declarations yet, those come later.
2000-07-22 18:47:25 +00:00
Guido van Rossum
ffcc3813d8
Change copyright notice - 2nd try.
2000-06-30 23:58:06 +00:00
Guido van Rossum
fd71b9e9d4
Change copyright notice.
2000-06-30 23:50:40 +00:00
Guido van Rossum
47ae028071
Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch).
1999-01-02 21:42:48 +00:00
Guido van Rossum
1a8791e0b8
Changes for BeOS, QNX and long long, by Chris Herborth.
1998-08-04 22:46:29 +00:00
Guido van Rossum
6deac7a105
Make calls into ../PC/frozen_dllmain.c on MS_WIN32.
1998-04-03 21:11:15 +00:00
Guido van Rossum
919b83d522
Set Py_FrozenFlag, to suppress error messages from getpath.c.
1998-02-06 22:30:29 +00:00
Guido van Rossum
73bacfc3d7
Add unistd.h for isatty().
1998-01-19 22:05:22 +00:00
Guido van Rossum
c425d2f87b
Make stdin unbuffered too, when PYTHONUNBUFFERED is specified.
1997-12-02 20:41:39 +00:00
Guido van Rossum
7c14103d77
Keep gcc -Wall happy
1997-08-15 02:52:08 +00:00
Guido van Rossum
a94145118a
frozenmain.c is now also in the library,
...
with entry point Py_FrozenMain().
1997-07-19 21:59:47 +00:00
Guido van Rossum
3768fb1097
Tracking changes to Py_Main():
...
- Got rid of inspection of some environment variables.
- Got rid of Py_GetProgramName() and related logic.
- Print the version header *after* successful initialization.
1997-07-19 19:24:41 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
71bd363d9c
getprogramname -> Py_GetProgramName.
1996-08-19 22:09:38 +00:00
Guido van Rossum
582646aecc
grand renaming; added copyright to some files
1996-05-28 22:30:17 +00:00
Guido van Rossum
47ad5e7d81
moved stuff around to resemble main.c
1995-08-04 04:10:43 +00:00
Guido van Rossum
4e2e0f9225
renaming phase 3
1995-03-31 10:27:23 +00:00
Guido van Rossum
6d023c98b0
Added 1995 to copyright message.
...
bltinmodule.c: fixed coerce() nightmare in ternary pow().
modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject().
pythonrun.c: move flushline() into and around print_error().
1995-01-04 19:12:13 +00:00