143 Commits (acfdfdafa202b634bc9f9ca5d3aa52e0aeb04e73)

Author SHA1 Message Date
Senthil Kumaran 3b30b19e0a Fix closes issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp 14 years ago
Georg Brandl 3aec568e6e Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion. 15 years ago
Benjamin Peterson 4e171d12da don't need this hack anymore 15 years ago
Antoine Pitrou 776af4002b Fix crash at startup with -W options. 15 years ago
Antoine Pitrou cc3fa88a9c Fix crash at startup with -W options. 15 years ago
Barry Warsaw 8757cad394 Backport fix from default branch for ./python -R -Wd where hash('d') would not 15 years ago
Benjamin Peterson 9be6c3ddf0 kill interned strings computed before random initialization 15 years ago
Barry Warsaw 1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED 15 years ago
Eli Bendersky 44a6c16729 Merged revisions 87991 via svnmerge from 16 years ago
Eli Bendersky 07395914ca Remove call to nonexisting function (relic from Python 2.x) under #ifdef __INSURE__. Issue 9844 16 years ago
Victor Stinner 89e3436606 Issue #10841: set binary mode on files; the parser translates newlines 16 years ago
Georg Brandl 8aa7e999b5 Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833. 16 years ago
Georg Brandl 9d8711964f #1772833: add -q command line option. 16 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 16 years ago
Victor Stinner 2f02a51135 PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails 16 years ago
Antoine Pitrou 9583cac633 Issue #10089: Add support for arbitrary -X options on the command-line. 16 years ago
Victor Stinner e0f3268715 run_file(): encode the filename with PyUnicode_EncodeFSDefault() instead of 16 years ago
Victor Stinner 168e117e0a Add an optional size argument to _Py_char2wchar() 16 years ago
Victor Stinner 9a6692f6d7 Py_Main() uses _Py_wchar2char() to encode the filename in error messages 16 years ago
Victor Stinner 8f6b6b0cc3 Issue #9992: Remove PYTHONFSENCODING environment variable. 16 years ago
Victor Stinner 4e31443c4d Create fileutils.c/.h 16 years ago
Victor Stinner 4726e40e00 Rewrite RunMainFromImporter() 16 years ago
Victor Stinner 5c848a84fd Isse #8589: Decode PYTHONWARNINGS from utf-8 on Mac OS X 16 years ago
Victor Stinner c2d76fd339 Issue #8589: surrogateescape error handler is not available at startup 16 years ago
Victor Stinner 9802b39c12 PYTHONFSENCODING is not available on Windows or Mac OS X 16 years ago
Victor Stinner 398356baaa Improve error message if the command is not decodable 16 years ago
Victor Stinner 94908bbc15 Issue #8622: Add PYTHONFSENCODING environment variable to override the 16 years ago
Nick Coghlan d26c18adcc Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory 16 years ago
Victor Stinner f2e08b34f1 Create _Py_wchar2char() function, reverse of _Py_char2wchar() 16 years ago
Antoine Pitrou e9b428f997 Reimplement addbuilddir() in C inside getpath.c, so as to execute it 16 years ago
Victor Stinner 0a3ddad666 Issue #9425: Create run_file() subfunction 16 years ago
Victor Stinner a62207c584 Issue #9425: Create run_command() subfunction 16 years ago
Nick Coghlan 8842c356aa Revert r80580 due to some unintended side effects. See issue #8202 for details. 16 years ago
Victor Stinner 9ca9c25bcd Issue #8589: Decode PYTHONWARNINGS environment variable with the file system 16 years ago
Victor Stinner 2e71d014ea Merged revisions 81250-81253 via svnmerge from 16 years ago
Victor Stinner 6baded49d0 Issue #6697: Fix a crash if code of "python -c code" contains surrogates 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Nick Coghlan c5e4485248 Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed 16 years ago
Ronald Oussoren d61deca27c Move _Py_char2wchar from python.c to main.c. 16 years ago
Philip Jenvey a1bda34cba strings from _Py_char2wchar need PyMem_Free 16 years ago
Philip Jenvey e53de3dc4a #7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values 16 years ago
Benjamin Peterson ad6139acc7 Merged revisions 79936 via svnmerge from 16 years ago
Philip Jenvey cdd98fb463 fix PYTHONWARNINGS handling to not modify the original env value and improve 16 years ago
Philip Jenvey a9aedd2011 woops these strings aren't kept around, free them 16 years ago
Philip Jenvey 0805ca3f93 Merged revisions 79878-79880 via svnmerge from 16 years ago
Philip Jenvey aebbaeb962 #7301: add the environment variable $PYTHONWARNINGS to supplement the -W 16 years ago
Victor Stinner ffbc2f63e1 Merged revisions 78872 via svnmerge from 16 years ago