Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.4 (#22633) | Benjamin Peterson | 2015-02-14 | 1 | -6/+9 |
|\ | |||||
| * | avoid reading unallocated memory when argc == 0 (closes #22633) | Benjamin Peterson | 2015-02-14 | 1 | -6/+9 |
| | | |||||
* | | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename | Victor Stinner | 2014-08-01 | 1 | -1/+1 |
|/ | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions. | ||||
* | Issue #15893: Improve error handling in main() and Py_FrozenMain() | Victor Stinner | 2013-07-27 | 1 | -16/+23 |
| | | | | | | * handle _PyMem_RawStrdup() failure * Py_FrozenMain() releases memory on error * Py_FrozenMain() duplicates the old locale, as done in main() | ||||
* | Py_FrozenMain() now uses _Py_char2wchar() to decode command line arguments, as | Victor Stinner | 2013-07-27 | 1 | -18/+4 |
| | | | | done in main() | ||||
* | Issue #18203: Replace PyMem_Malloc() with PyMem_RawMalloc() at Python ↵ | Victor Stinner | 2013-07-26 | 1 | -6/+6 |
| | | | | initialization | ||||
* | Issue #15893: frozenmain.c now handles PyMem_Malloc() failure | Victor Stinner | 2013-07-26 | 1 | -2/+9 |
| | |||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -77/+77 |
| | | | | | | | | | | 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. ........ | ||||
* | #4004: Missing newline in some startup error messages. | Amaury Forgeot d'Arc | 2008-10-07 | 1 | -4/+4 |
| | | | | Patch by Victor. | ||||
* | Issue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin. | Antoine Pitrou | 2008-09-03 | 1 | -1/+10 |
| | | | | Patch by Amaury Forgeot d'Arc, reviewed by me. | ||||
* | Change command line processing API to use wchar_t. | Martin v. Löwis | 2008-04-05 | 1 | -3/+36 |
| | | | | Fixes #2128. | ||||
* | Patch #569753: Remove support for WIN16. | Martin v. Löwis | 2002-06-30 | 1 | -5/+5 |
| | | | | Rename all occurrences of MS_WIN32 to MS_WINDOWS. | ||||
* | Include <unistd.h> in Python.h. Fixes #500924. | Martin v. Löwis | 2002-01-12 | 1 | -9/+0 |
| | |||||
* | Add -E command line switch (ignore environment variables like PYTHONHOME | Neil Schemenauer | 2001-07-23 | 1 | -2/+2 |
| | | | | and PYTHONPATH). | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | ANSIfy as many declarations as possible. | Thomas Wouters | 2000-07-22 | 1 | -3/+3 |
| | |||||
* | Mass ANSIfication of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 1 | -3/+1 |
| | | | | declarations yet, those come later. | ||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch). | Guido van Rossum | 1999-01-02 | 1 | -0/+4 |
| | |||||
* | Changes for BeOS, QNX and long long, by Chris Herborth. | Guido van Rossum | 1998-08-04 | 1 | -0/+5 |
| | |||||
* | Make calls into ../PC/frozen_dllmain.c on MS_WIN32. | Guido van Rossum | 1998-04-03 | 1 | -0/+11 |
| | |||||
* | Set Py_FrozenFlag, to suppress error messages from getpath.c. | Guido van Rossum | 1998-02-06 | 1 | -0/+2 |
| | |||||
* | Add unistd.h for isatty(). | Guido van Rossum | 1998-01-19 | 1 | -0/+4 |
| | |||||
* | Make stdin unbuffered too, when PYTHONUNBUFFERED is specified. | Guido van Rossum | 1997-12-02 | 1 | -0/+1 |
| | |||||
* | Keep gcc -Wall happy | Guido van Rossum | 1997-08-15 | 1 | -2/+2 |
| | |||||
* | frozenmain.c is now also in the library, | Guido van Rossum | 1997-07-19 | 1 | -5/+1 |
| | | | | with entry point Py_FrozenMain(). | ||||
* | Tracking changes to Py_Main(): | Guido van Rossum | 1997-07-19 | 1 | -18/+4 |
| | | | | | | | | - Got rid of inspection of some environment variables. - Got rid of Py_GetProgramName() and related logic. - Print the version header *after* successful initialization. | ||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | getprogramname -> Py_GetProgramName. | Guido van Rossum | 1996-08-19 | 1 | -2/+2 |
| | |||||
* | grand renaming; added copyright to some files | Guido van Rossum | 1996-05-28 | 1 | -7/+3 |
| | |||||
* | moved stuff around to resemble main.c | Guido van Rossum | 1995-08-04 | 1 | -5/+8 |
| | |||||
* | renaming phase 3 | Guido van Rossum | 1995-03-31 | 1 | -15/+15 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | | | | | | 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(). | ||||
* | Merge back to main trunk | Guido van Rossum | 1994-08-30 | 1 | -5/+28 |
| | |||||
* | Must initialize 'inspect' flag | Guido van Rossum | 1993-11-05 | 1 | -1/+2 |
| | |||||
* | * Makefile: added all: and default: targets. | Guido van Rossum | 1993-07-05 | 1 | -3/+1 |
| | | | | | | | | | | | | * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user. | ||||
* | * pythonmain.c: -k option, usage message, more environment flags. | Guido van Rossum | 1993-06-24 | 1 | -3/+18 |
| | | | | | | | | | | | (the latter also in frozenmain.c) * ceval.c: global 'killprint' flag raises exception when printing an expression statement's value (useful for finding stray output) * timemodule.c: add asctime() and ctime(). Change julian date to 1-based origin (as intended and documented). * Removed unused DO_TIMES stuff from timemodule.c. Added 'epoch' and 'day0' globals (year where time.time() == 0 and day of the week the epoch started). | ||||
* | Support for frozen scripts; added -i option. | Guido van Rossum | 1993-04-01 | 1 | -0/+57 |