202 Commits (512c57cb72e108d0f68ceecbc88dfe3b2eb56371)

Author SHA1 Message Date
Mark Hammond 3d61a06aa2 Fix [ 616716 ] Bug in PyErr_SetExcFromWindows 24 years ago
Mark Hammond da7efaa681 Fix errors to pep277 checkin identified by Neal Norwitz. 24 years ago
Mark Hammond c2e85bd4e2 Patch 594001: PEP 277 - Unicode file name support for Windows NT. 24 years ago
Thomas Heller 085358a3e2 New functions for extension writers on Windows: 24 years ago
Martin v. Löwis 6238d2b024 Patch #569753: Remove support for WIN16. 24 years ago
Jack Jansen 7b8c7546eb Mass checkin of universal newline support. 24 years ago
Martin v. Löwis 3484a18af1 Patch #494045: patches errno and stat to cope on plan9. 24 years ago
Martin v. Löwis cfeb3b6ab8 Patch #50002: Display line information for bad \x escapes: 24 years ago
Tim Peters c15c4f1f39 SF bug [#467265] Compile errors on SuSe Linux on IBM/s390. 25 years ago
Jeremy Hylton e2e2c9f41e PyErr_NormalizeException() 25 years ago
Barry Warsaw 876c8cb597 PyErr_Format(): Factor out most of this code into 25 years ago
Tim Peters 024da3545b PyErr_Occurred(): Use PyThreadState_GET(), which saves a tiny function call 25 years ago
Martin v. Löwis 2b6727bd8a Use Py_CHARMASK for ctype macros. Fixes bug #232787. 25 years ago
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