583 Commits (793cb85437299a3da3d74fe65480d720af330cbb)

Author SHA1 Message Date
Barry Warsaw f242aa0d1e Py_Initialize(): Now that standard exceptions are builtin, we don't 26 years ago
Guido van Rossum b18618dab7 Vladimir Marangozov's long-awaited malloc restructuring. 26 years ago
Barry Warsaw 3ce096459e Py_UseClassExceptionsFlag is deprecated. We keep the C variable for C 26 years ago
Guido van Rossum b16d197d66 Marc-Andre Lemburg: 26 years ago
Guido van Rossum eca4784781 Mark Hammond: For Windows debug builds, we now only offer to dump 26 years ago
Jeremy Hylton 4a3dd2dcc2 Fix PR#7 comparisons of recursive objects 26 years ago
Guido van Rossum c94044c11d Marc-Andre Lemburg: add calls to initialize and finalize Unicode and 26 years ago
Guido van Rossum bffd683f73 The rest of the changes by Trent Mick and Dale Nagata for warning-free 26 years ago
Guido van Rossum 7c85ab829d Marc-Andre Lemburg discovered that the switch from .pyc to .pyo files, 27 years ago
Guido van Rossum b6987b13fe Alas, get rid of the Win specific hack to ask the user to press Return 27 years ago
Barry Warsaw 3d05b1a0ae initmain(): Nailed a memory leak. bimod must be DECREF'd! 27 years ago
Barry Warsaw c80baa3365 err_input(): Nailed a small memory leak. If the error is E_INTR, the 27 years ago
Guido van Rossum 2c1f6be38e Hack for Windows so that if (1) the exit status is nonzero and (2) we 27 years ago
Guido van Rossum 2edcf0d71c Move the prototype for dump_counts() to before where it is used. 27 years ago
Guido van Rossum 562f5b1480 Support PYTHONOPTIMIZE variable; by Marc Lemburg. 28 years ago
Guido van Rossum 49b560698b Renamed thread.h to pythread.h. 28 years ago
Guido van Rossum 2dcfc9618d On second though, NEXITFUNCS should be defined here and not in 28 years ago
Guido van Rossum 93d27547d0 Remove redundant definition of NEXITFUNCS. 28 years ago
Guido van Rossum 53195c1a83 Don't release the interpreter lock around PyParser_ParseFile(). 28 years ago
Guido van Rossum 0ba353608f Add DebugBreak() call to Py_FatalError() for Mark Hammond (only on 28 years ago
Guido van Rossum 560e8adef7 Translate E_INDENT to the clearest error message I can think of. 28 years ago
Guido van Rossum bf02fb28d9 Make sure that the message "Error in sys.exitfunc:" goes to sys.stderr 28 years ago
Guido van Rossum 0829c754bb Fix the handling of errors in Py_FlushLine() in a few places. 28 years ago
Guido van Rossum a61691e4e9 Ehm, three unrelated changes. 28 years ago
Guido van Rossum 4cc462e85b It seems obvious that when Py_Finalize() decides that there's nothing 28 years ago
Guido van Rossum 1707aad27c Changed the finalization order again so that the reference count 28 years ago
Guido van Rossum ddc3fb5734 Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so 29 years ago
Guido van Rossum 858cb73bb2 Two changes (here we go again :-( ). 29 years ago
Guido van Rossum 4a1f39a26b Undo half of the previous change :-( 29 years ago
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