513 Commits (8c59816b70a30d8ec2ff4e60a8b4a747f8ff75db)

Author SHA1 Message Date
Ka-Ping Yee 26fabb0016 Allow sys.excepthook and sys.exitfunc to quietly exit with a sys.exit(). 25 years ago
Guido van Rossum 4131830c23 Fix memory leak with SyntaxError. (The DECREF was originally hidden 25 years ago
Ka-Ping Yee b5c5132d1a Add sys.excepthook. 25 years ago
Jeremy Hylton bc32024769 Extend support for from __future__ import nested_scopes 25 years ago
Jeremy Hylton 9f324e964e Useful future statement support for the interactive interpreter 25 years ago
Fred Drake b797f1f6d2 Now that Jeremy is asking about this code, it looks really bogus to me, 25 years ago
Jeremy Hylton 9f1b9932b8 Print the offending line of code in the traceback for SyntaxErrors 25 years ago
Tim Peters 6f5a4efc0a Bug #132850 unix line terminator on windows. 25 years ago
Tim Peters 3e876565a3 Ugly fix for SF bug 131239 (-x flag busted). 25 years ago
Jeremy Hylton 4b38da664c Move a bunch of definitions that were internal to compile.c to 25 years ago
Tim Peters d9b9ac855c It's unclear whether PyMarshal_XXX() are part of the public or private API. 25 years ago
Tim Peters 384fd106e8 Bug #128475: mimetools.encode (sometimes) fails when called from a thread. 25 years ago
Guido van Rossum 44a6ff6cf4 Get rid of the initialization of _PyCompareState_Key. 25 years ago
Tim Peters b8584e0894 Fix signed/unsigned wng. Unfortunately, (unsigned char) << int 25 years ago
Martin v. Löwis be4c0f56a2 Recognize pyc files even if they don't end in pyc. 25 years ago
Guido van Rossum 6f25618be5 Add PyOS_getsig() and PyOS_setsig() -- wrappers around signal() or 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Fred Drake 399739f79f PyOS_CheckStack(): Better ANSI'fy this while we're at it. 26 years ago
Fred Drake e8de31cbd0 Add a comment explaining the return value of PyOS_CheckStack(). 26 years ago
Tim Peters e868211e10 Hard to believe Guido compiled this! Function lacked a return stmt. 26 years ago
Guido van Rossum 0df002c45b Add three new APIs: PyRun_AnyFileEx(), PyRun_SimpleFileEx(), 26 years ago
Fredrik Lundh 2f15b25da2 implements PyOS_CheckStack for Windows and MSVC. this fixes a 26 years ago
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