554 Commits (bf63e8d55fd2853df3bb99d66de7f428107aadb3)

Author SHA1 Message Date
Guido van Rossum 3a44e1b9fb Two independent changes (alas): 29 years ago
Guido van Rossum 999e5e921e Initialize Py_UseClassExceptionsFlag to 1. 29 years ago
Guido van Rossum aa9606f45a Fix small omission: with all the new code, sys.exit(None) would print 29 years ago
Barry Warsaw 963b871e86 Py_Initialize(): move the call to _PyImport_FixupExtension() to after 29 years ago
Barry Warsaw 2f5f6a2595 PyErr_Print(): When printing a class exception, try to dig out the 29 years ago
Guido van Rossum d6bf45bcf6 Fixed some details of printing the str() of an exception. This fixes 29 years ago
Guido van Rossum dcc0c13f74 Two independent changes (oops): 29 years ago
Barry Warsaw 035574d755 Added Py_UseClassExceptionsFlag, the variable containing the state of 29 years ago
Barry Warsaw 36b8f945e7 PyErr_Print(): Use PyErr_GivenExceptionMatches() instead of pointer 29 years ago
Guido van Rossum e3c0d5eb34 Added new Py_IsInitalized() API function to test the 'initialized' flag. 29 years ago
Guido van Rossum aa61505fd2 Use a counter instead of a Boolean to check for initialized; n calls 29 years ago
Guido van Rossum cc283f56a7 Merge Py_Cleanup() into Py_Finalize(). Call the various small Fini() 29 years ago
Guido van Rossum 25ce566661 The last of the mass checkins for separate (sub)interpreters. 29 years ago
Guido van Rossum ad6dfda9af Moved some stuff here from main.c (part of a big restructuring - wait 29 years ago
Guido van Rossum 296b4751e1 Can't return 0 from void function... 29 years ago
Guido van Rossum 78a1ed3d70 Py_FlushLine and PyFile_WriteString now return error indicators 29 years ago
Guido van Rossum 23c9446d9a Added a space in an error message 29 years ago
Guido van Rossum b05a5c7698 Instead of importing graminit.h whenever one of the three grammar 'root' 29 years ago
Guido van Rossum 478e718aca Keep MS compiler happy: use (int)strlen() when comparing; make sure 29 years ago
Guido van Rossum a027efa5bf Massive changes for separate thread state management. 29 years ago
Guido van Rossum 2a7f58de1c Allow passing a .pyo file. 29 years ago
Guido van Rossum 82598051e6 Greatly renamed. Not a very thorough job -- I'm going to restructure 29 years ago
Guido van Rossum 7433b12a5c Added new global flag variable Py_InteractiveFlag and new function 29 years ago
Guido van Rossum 80bb9655f0 Keep gcc -Wall happy. 30 years ago
Guido van Rossum d266eb460e New permission notice, includes CNRI. 30 years ago
Guido van Rossum 9b38a145e2 Rationalized MS ifdefs 30 years ago
Guido van Rossum ded690fc35 rename printrefs, getobjects to _Py_ prefix 30 years ago
Guido van Rossum aae0d32f66 Use new names for debug macros. Don't include pythonrun.h. 30 years ago
Guido van Rossum 4f1c59b818 Add'l change for NT (Mark H.). 30 years ago
Jack Jansen 66a8977b0e Moved mac-specific exit handling to macmain.c 31 years ago
Guido van Rossum 1c45ca310b keep exitfunc alive while calling it 31 years ago
Guido van Rossum befa14f1b9 #undef argument, for the Mac 31 years ago
Jack Jansen 21eb0b56a8 mac CW-only fix for messy windows upon exit 31 years ago
Guido van Rossum 681d79aaf3 keyword arguments and faster calls 31 years ago
Guido van Rossum 527c2643d1 flush stdout before writing to stderr in print_error() 31 years ago
Guido van Rossum 6f9e433ab3 fix dusty debugging macros 31 years ago
Guido van Rossum a44823b776 In NT, write fatal() msg to debugging device 31 years ago
Jack Jansen bd06e96217 mac changes: 31 years ago
Guido van Rossum 262e124107 print class name for exceptions that are classes 31 years ago
Jack Jansen 08e767bdc5 Under CodeWarrior, make the window go away on exit(0) 31 years ago
Guido van Rossum 42a5124101 Think C mod to suppress pausing at normal exit 31 years ago
Guido van Rossum 8ae87c0489 make call_pyc_file static 31 years ago
Guido van Rossum 94390ec2a6 use getbuiltins() everywhere, it defaults to getbuiltidict() 31 years ago
Guido van Rossum 6135a87f2b __builtins__ mods (and sys_checkinterval for ceval.c) 31 years ago
Guido van Rossum 6d023c98b0 Added 1995 to copyright message. 31 years ago
Guido van Rossum 1ae940a587 Lots of changes, most minor (fatal() instead of abort(), use of 31 years ago
Jack Jansen e00637bdcf Removed extraneous fclose() in case of .pyc file argument 32 years ago
Guido van Rossum 83dd6c319e * Python/pythonrun.c: add string "Python" to fatal error message 32 years ago
Guido van Rossum 798199d8a6 * Python/pythonrun.c (print_error): print only last line of 32 years ago
Guido van Rossum fdef271550 * Import/pythonrun.h, Python/{import,pythonrun}.c, 32 years ago