122 Commits (fe1bcb64cd2e00dcb0d1fc77f627cb538510efa6)

Author SHA1 Message Date
Brett Cannon bf36409e2a PEP 352 implementation. Creates a new base class, BaseException, which has an 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Raymond Hettinger 5ba0cbe392 * set_new() doesn't need to zero the structure a second time after tp_alloc 21 years ago
Phillip J. Eby 0d6615fd29 PEP 342 implementation. Per Guido's comments, the generator throw() 21 years ago
Tim Peters c885443479 Stop producing or using OverflowWarning. PEP 237 thought this would 22 years ago
Neal Norwitz 21d896cfa1 Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros 23 years ago
Martin v. Löwis 95292d6caa Constify filenames and scripts. Fixes #651362. 23 years ago
Martin v. Löwis 79acb9edfa Patch #614055: Support OpenVMS. 23 years ago
Walter Dörwald bf73db835a Fix PEP 293 related problems with --disable-unicode builds 23 years ago
Mark Hammond c2e85bd4e2 Patch 594001: PEP 277 - Unicode file name support for Windows NT. 24 years ago
Neil Schemenauer 96aa0acef0 Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 24 years ago
Walter Dörwald 70bb0d4e65 Removed bogus PyUnicodeTranslateError_GetEncoding, as 24 years ago
Walter Dörwald 3aeb632c31 PEP 293 implemention (from SF patch http://www.python.org/sf/432401) 24 years ago
Barry Warsaw 9f00739551 Added a FutureWarning for constructs that will change semantically in 24 years ago
Mark Hammond 91a681debf Excise DL_EXPORT from Include. 24 years ago
Thomas Heller 085358a3e2 New functions for extension writers on Windows: 24 years ago
Neal Norwitz d68f5171eb As discussed on python-dev, add a mechanism to indicate features 24 years ago
Tim Peters faad5ad590 mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to 24 years ago
Tim Peters a437d4594b Removed preprocessor gimmick trying to force use of snprintf emulation 24 years ago
Neil Schemenauer 90b689076a Add function attributes that allow GCC to check the arguments of printf-like 25 years ago
Fred Drake bb9fa21cfe weakref.ReferenceError becomes a built-in exception now that weak ref objects 25 years ago
Guido van Rossum ae347b33be Introduce OverflowWarning -- to be issued when short int operations 25 years ago
Marc-André Lemburg 03d1b1814b Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 and 25 years ago
Marc-André Lemburg cecd9e0af3 va_list is defined in stdarg.h. 25 years ago
Marc-André Lemburg e5006ebc9d This patch turns the Python API mismatch notice into a standard 25 years ago
Guido van Rossum 59d1d2b434 Iterators phase 1. This comprises: 25 years ago
Guido van Rossum 1bcb7e9327 Add declaration for PyErr_WarnExplicit(). 25 years ago
Jeremy Hylton ad3d3f2f3f Improve SyntaxErrors for bad future statements. Set file and location 25 years ago
Guido van Rossum 3fc30372c7 Add declarations for standard warning category classes (PyExc_Warning 25 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 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
Fred Drake d5c84ede06 ANSI-fication of the sources -- remove Py_PROTO! 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
Guido van Rossum 99cc97109e Marc-Andre Lemburg: add PyExc_UnicodeError 26 years ago
Guido van Rossum db0c9f7f5b Declarations related to new WindowsError exception. 26 years ago
Guido van Rossum 8746082175 Patch by Tim Peters: 27 years ago
Guido van Rossum 43466ec7b0 Add DL_IMPORT(returntype) for all officially exported functions. 27 years ago
Barry Warsaw d052ff0e57 Added PyExc_NotImplementedError 28 years ago
Barry Warsaw 62a21a2ebe New global variables: PyExc_EnvironmentError and PyExc_OSError 28 years ago
Guido van Rossum 2d2c34445b New API PyErr_NewException(name, base, dict) to create simple new exceptions. 29 years ago
Barry Warsaw 65349a3936 [Py_Exc]NumberError => [Py_Exc]ArithmeticError 29 years ago
Guido van Rossum 0474832d9c Introduce PyExc_Exception as the conceptual root class for all exceptions. 29 years ago
Barry Warsaw 392d8272bf Added externs for three new exceptions PyExc_StandardError, 29 years ago
Barry Warsaw c0dc92af7d Three new C API functions: 29 years ago
Guido van Rossum 6fa4466cec Added AssertionError. 29 years ago
Guido van Rossum 94dbd99483 Remove ConflictError (which was also removed from bltinmodule.c, even 29 years ago
Guido van Rossum 7d4266ed5a Changes for Lee Busby's SIGFPE patch set. 29 years ago
Guido van Rossum c4193f1547 Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL. 29 years ago