594 Commits (361dcdcefc80f5729ed18ac0ef73327794fbf400)

Author SHA1 Message Date
Marc-André Lemburg dc3d606bd9 Fix to [ Bug #111165 ] doc-string removal masked by PYTHONOPTIMIZE 26 years ago
Fred Drake a811a5b13a Remove the osdefs.h #include; it was not needed in the final version of 26 years ago
Fred Drake 83cb797380 When raising a SyntaxError, make a best-effort attempt to set the 26 years ago
Thomas Wouters f70ef4f860 Mass ANSIfication of function definitions. Doesn't cover all 'extern' 26 years ago
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 26 years ago
Jack Jansen cbf630f0a9 Include macglue.h for some function prototypes, and renamed a few 26 years ago
Fred Drake 85f363990c Create two new exceptions: IndentationError and TabError. These are 26 years ago
Tim Peters dbd9ba6a6c Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. 26 years ago
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 26 years ago
Guido van Rossum fd71b9e9d4 Change copyright notice. 26 years ago
Jeremy Hylton 94988067b9 Add new parser error code, E_OVERFLOW. This error is returned when 26 years ago
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 28 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