summaryrefslogtreecommitdiff
path: root/Modules/main.c
AgeCommit message (Expand)AuthorLines
2010-12-04#1772833: add -q command line option.Georg Brandl-3/+10
2010-11-30Remove redundant includes of headers that are already included by Python.h.Georg Brandl-1/+0
2010-11-08PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() failsVictor Stinner-1/+1
2010-10-21Issue #10089: Add support for arbitrary -X options on the command-line.Antoine Pitrou-3/+6
2010-10-17run_file(): encode the filename with PyUnicode_EncodeFSDefault() instead ofVictor Stinner-2/+2
2010-10-16Add an optional size argument to _Py_char2wchar()Victor Stinner-2/+4
2010-10-14Py_Main() uses _Py_wchar2char() to encode the filename in error messagesVictor Stinner-11/+11
2010-10-13Issue #9992: Remove PYTHONFSENCODING environment variable.Victor Stinner-3/+0
2010-10-07Create fileutils.c/.hVictor Stinner-208/+0
2010-10-06Rewrite RunMainFromImporter()Victor Stinner-25/+35
2010-09-12Isse #8589: Decode PYTHONWARNINGS from utf-8 on Mac OS XVictor Stinner-2/+6
2010-09-10Issue #8589: surrogateescape error handler is not available at startupVictor Stinner-6/+11
2010-08-19PYTHONFSENCODING is not available on Windows or Mac OS XVictor Stinner-7/+9
2010-08-18Improve error message if the command is not decodableVictor Stinner-0/+1
2010-08-18Issue #8622: Add PYTHONFSENCODING environment variable to override theVictor Stinner-0/+1
2010-08-17Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the mod...Nick Coghlan-3/+2
2010-08-13Create _Py_wchar2char() function, reverse of _Py_char2wchar()Victor Stinner-7/+87
2010-08-13Reimplement addbuilddir() in C inside getpath.c, so as to execute itAntoine Pitrou-5/+7
2010-08-07Issue #9425: Create run_file() subfunctionVictor Stinner-24/+36
2010-08-07Issue #9425: Create run_command() subfunctionVictor Stinner-15/+23
2010-05-19Issue #8589: Decode PYTHONWARNINGS environment variable with the file systemVictor Stinner-4/+5
2010-05-17Issue #6697: Fix a crash if code of "python -c code" contains surrogatesVictor Stinner-4/+8
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-560/+560
2010-04-18Move _Py_char2wchar from python.c to main.c.Ronald Oussoren-0/+104
2010-04-14strings from _Py_char2wchar need PyMem_FreePhilip Jenvey-1/+1
2010-04-14#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii valuesPhilip Jenvey-13/+35
2010-04-11Merged revisions 79936 via svnmerge fromBenjamin Peterson-12/+17
2010-04-07woops these strings aren't kept around, free themPhilip Jenvey-0/+1
2010-04-07Merged revisions 79878-79880 via svnmerge fromPhilip Jenvey-0/+19
2010-03-12Merged revisions 78826 via svnmerge fromVictor Stinner-4/+10
2009-10-20Merged revisions 75570 via svnmerge fromAntoine Pitrou-29/+0
2009-07-17Merged revisions 74051-74052 via svnmerge fromAlexandre Vassalotti-3/+3
2009-02-12This fixes issue5143 and includes a test.Ronald Oussoren-3/+16
2009-01-09Issue #4705: Fix the -u ("unbuffered binary stdout and stderr") command-lineAntoine Pitrou-4/+3
2009-01-01#4747: on Windows, starting a module with a non-ascii filename would print a ...Amaury Forgeot d'Arc-4/+7
2008-11-11#3705: Command-line arguments were not correctly decoded when theAmaury Forgeot d'Arc-21/+19
2008-10-30#3626: On cygwin, starting "python z" would not display any error message:Amaury Forgeot d'Arc-2/+11
2008-09-09Revert r33661, which broke all buildbots.Amaury Forgeot d'Arc-19/+21
2008-09-09#3705: Fix crash when given a non-ascii value on the command line for the "-c...Amaury Forgeot d'Arc-21/+19
2008-09-06Issue #3705: py3k aborts if "-c" or "-m" is given a non-ascii value.Antoine Pitrou-19/+31
2008-09-03Fixed wording of python --help text.Christian Heimes-2/+2
2008-06-04Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.Georg Brandl-2/+1
2008-06-04Revert r63934 -- it was mixing two patches.Georg Brandl-1/+2
2008-06-04Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.Georg Brandl-2/+1
2008-06-02Forward-port PYTHONIOENCODING.Martin v. Löwis-0/+1
2008-05-06Merged revisions 62774-62775,62785,62787-62788 via svnmerge fromChristian Heimes-1/+10
2008-04-15Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-...Neal Norwitz-1/+1
2008-04-13Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,...Christian Heimes-1/+5
2008-04-06Convert another %s to %ls.Martin v. Löwis-1/+1
2008-04-05Change command line processing API to use wchar_t.Martin v. Löwis-21/+61