4 Commits (54cd1969eacf27405e2fe265817ee60a8ece93ab)

Author SHA1 Message Date
Victor Stinner 34be807ca4 Add PYTHONMALLOC env var 10 years ago
Victor Stinner 7172f507e1 Replace fpgetmask() with fedisableexcept() 10 years ago
Victor Stinner f6a271ae98 Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename 12 years ago
Nick Coghlan 973fe0ba7a Issue #18093: Factor out the programs that embed the runtime 12 years ago
Victor Stinner c588feeea9 Issue #15893: Improve error handling in main() and Py_FrozenMain() 13 years ago
Victor Stinner 36577e4e8c Issue #15893: frozenmain.c now handles PyMem_Malloc() failure 13 years ago
Victor Stinner ca713c014e Fix a compiler warning on FreeBSD 13 years ago
R David Murray 296b73c83d #18399: fix comment typo. 13 years ago
Victor Stinner 49fc8ece81 Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() 13 years ago
Victor Stinner 1a7425f67a Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 13 years ago
Victor Stinner 27b1ca29cc Issue #16416: On Mac OS X, operating system data are now always 13 years ago
Victor Stinner e262377cab Issue #16416: OS data are now always encoded/decoded to/from 13 years ago
Brett Cannon 0b1b9ce494 If main() is called and an argument cannot be decoded, make sure to 14 years ago
Stefan Krah 0f6ce8d9df Issue #3367: NULL-terminate argv[] copies to prevent an invalid access 14 years ago
Victor Stinner 94ba691ed3 main() now displays an error message before exiting if a command line argument 14 years ago
Victor Stinner f933e1ab6f Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of 15 years ago
Victor Stinner 168e117e0a Add an optional size argument to _Py_char2wchar() 15 years ago
Victor Stinner 052a04d34a Revert r85435 (and r85440): decode command line arguments from utf-8 15 years ago
Victor Stinner a21350976e main(): catch PyUnicode_FromString() failure (exit) 15 years ago
Victor Stinner 90bbaa57f9 Issue #9992: On Mac OS X, decode command line arguments from utf-8 instead of 15 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
Ronald Oussoren d61deca27c Move _Py_char2wchar from python.c to main.c. 16 years ago
Collin Winter dfa66c1dda Fix the --with-cxx-main build. 16 years ago
Philip Jenvey e53de3dc4a #7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values 16 years ago
Martin v. Löwis 8ed91b2768 Issue #6097: Escape UTF-8 surrogates resulting from mbstocs conversion 17 years ago
Martin v. Löwis 43c57785d3 Rename utf8b error handler to surrogateescape. 17 years ago
Martin v. Löwis 011e842033 Issue #5915: Implement PEP 383, Non-decodable Bytes in 17 years ago
Georg Brandl 26338d1cfd another instance of #804543: use strdup() when saving the result of setlocale() because it could be overwritten by subsequent setlocale()s. 17 years ago
Benjamin Peterson 08a8f5fff9 restore compilation on OpenBSD #4146 17 years ago
Amaury Forgeot d'Arc d0ca955d9f #4004: Missing newline in some startup error messages. 17 years ago
Antoine Pitrou fff953048f Issue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin. 18 years ago
Martin v. Löwis 790465fd90 Change command line processing API to use wchar_t. 18 years ago
Tim Peters 4643bd9a9c Apparently FreeBSD enables some HW floating-point exceptions by default. 23 years ago
Mark Hammond fe51c6d66e Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 24 years ago
Thomas Wouters bd4bc4e9e9 Even more ANSIfication: fix as many function pointers and declarations as 26 years ago
Fredrik Lundh faa209d6bd - ANSI-fication 26 years ago
Guido van Rossum 9c1201fe39 Py_Main() must be DL_EXPORT too. 27 years ago
Guido van Rossum be10c20adf Now include Python.h 28 years ago
Guido van Rossum 7c14103d77 Keep gcc -Wall happy 29 years ago
Guido van Rossum 4c04be64b3 This is now the "real" main program -- it calls Py_Main(argc, argv) 29 years ago