242 Commits (cd8295ff758891f21084a6a5ad3403d35dda38f7)

Author SHA1 Message Date
Guido van Rossum 2fd456508f Add PyErr_WarnExplicit(), which calls warnings.warn_explicit(), with 25 years ago
Jeremy Hylton ad3d3f2f3f Improve SyntaxErrors for bad future statements. Set file and location 25 years ago
Guido van Rossum cfd42b556b Add PyErr_Warn(). 25 years ago
Fred Drake 661ea26b3d Ka-Ping Yee <ping@lfw.org>: 26 years ago
Fred Drake e693df94ed Avoid a couple of "value computed is not used" warnings from gcc -Wall; 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Jeremy Hylton b69a27e5b2 code part of patch #100895 by Fredrik Lundh 26 years ago
Jeremy Hylton b709df3810 refactor __del__ exception handler into PyErr_WriteUnraisable 26 years ago
Fred Drake 6d63adfbb7 Improve the exceptions raised by PyErr_BadInternalCall(); adding the 26 years ago
Vladimir Marangozov 0888ff17bd Do not set a MemoryError exception over another MemoryError exception, 26 years ago
Guido van Rossum ed473a46fc Avoid dumping core when PyErr_NormalizeException() is called without 26 years ago
Thomas Wouters f70ef4f860 Mass ANSIfication of function definitions. Doesn't cover all 'extern' 26 years ago
Skip Montanaro 6980dff3db delete obsolete SYMANTEC__CFM68K__ #ifdefs 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
Barry Warsaw fa5c315afa PyErr_GivenExceptionMatches(): Check for err==NULL and exc==NULL and 26 years ago
Guido van Rossum 0b55670968 Mark discovered a bug in his patch: he didn't *use* PyExc_WindowsError 26 years ago
Guido van Rossum 584b16a1f3 Mark pointed out a buglet in his patch: i < _sys_nerr isn't strong 26 years ago
Guido van Rossum 795e189d28 Patch by Mark Hammond: 26 years ago
Guido van Rossum 743007d2fe Patch by Christian Tismer for Win32, to use FormatMessage() instead of 27 years ago
Guido van Rossum 885553e8d3 Use PyThreadState_GET() macro. 27 years ago
Guido van Rossum e0e59829e0 When errno is zero, avoid calling strerror() and use "Error" for the 28 years ago
Barry Warsaw 97d951533e PyErr_SetFromErrnoWithFilename(): New function which supports setting 28 years ago
Guido van Rossum 19b55f2d17 Fix subtle bug in cleanup code in PyErr_NormalizeException(), detected 28 years ago
Guido van Rossum 2ac650f385 New version of PyErr_NewException() that is compatible with -X option. 29 years ago
Barry Warsaw 3a74993118 PyErr_NormalizeException(): If the exception's type is a class and the 29 years ago
Guido van Rossum 7617e05a9b New API PyErr_NewException(name, base, dict) to create simple new exceptions. 29 years ago
Barry Warsaw 2d8adff10a PyErr_NoMemory(): If the pre-instantiated memory exception is non-null 29 years ago
Barry Warsaw c0dc92af7d Three new C API functions: 29 years ago
Guido van Rossum e5b4026881 Use strerror on the mac if using MSL (Jack). 29 years ago
Guido van Rossum a027efa5bf Massive changes for separate thread state management. 29 years ago
Guido van Rossum 373c869a6a Quickly renamed. Also removed the long comment explaining why this is 29 years ago
Guido van Rossum 7844e38a98 Keep Microsoft VC happy. 29 years ago
Guido van Rossum 6976a52099 (Jack:) On the Mac, use standard strerror() if using MSL C-library. 29 years ago
Guido van Rossum 2dc466169e Oops, remove an unused variable from PyErr_Format(). 29 years ago
Guido van Rossum 1548bacb14 Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL. 29 years ago
Guido van Rossum 067998f35e Add const to error and newstring functions 29 years ago
Guido van Rossum d266eb460e New permission notice, includes CNRI. 30 years ago
Guido van Rossum 650ae0ab06 remove unwanted fatal() from err_badcall() 31 years ago
Guido van Rossum 69f6ee6a9d err_badcall() is fatal error 31 years ago
Jack Jansen eceb3e3f0a Porting to CW CFM68K 31 years ago
Guido van Rossum 53e8d44eec changes in NT tests 31 years ago
Guido van Rossum e9fbc0992c rename macstrerror to PyMac_StrError; no EINTR test in CW 31 years ago
Jack Jansen 5ef86d55b5 Undef strerror on the mac before redefining it 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 8fd2d94e37 Added hook for better mac error messages. 31 years ago
Guido van Rossum c054a663eb call err_clear in err_setval 32 years ago
Guido van Rossum 6989e54ebf * Python/errors.c (err_clear): clear interpreter stack trace 32 years ago