91 Commits (284fa08eb783a48f98eabda25aaaebefb5937cce)

Author SHA1 Message Date
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Georg Brandl 740cdc3a9f #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring. 16 years ago
Alexandre Vassalotti a6e3474d02 Add const qualifier to PyErr_SetFromErrnoWithFilename and to 17 years ago
Hirokazu Yamamoto b24bb27d22 Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. 17 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Brett Cannon e974689038 Re-implement the 'warnings' module in C. This allows for usage of the 18 years ago
Christian Heimes 1a6387e683 Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 18 years ago
Travis E. Oliphant 33451d8ab1 Add necessary headers to back-port new buffer protocol to Python 2.6 18 years ago
Guido van Rossum 02de8979cc Patch #1583 by Adam Olsen. 18 years ago
Brett Cannon 1e534b5425 Fix a crasher where Python code managed to infinitely recurse in C code without 19 years ago
Walter Dörwald 84a3efec37 Add T_PYSSIZET in structmember.h: This can be used for 19 years ago
Neal Norwitz ee3a1b5244 Variation of patch # 1624059 to speed up checking if an object is a subclass 19 years ago
Marc-André Lemburg 040f76b79c Slightly revised version of patch #1538956: 20 years ago
Neal Norwitz 07aadb14f3 Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn(). 20 years ago
Richard Jones 7b9558d37d Conversion of exceptions over from faked-up classes to new-style C types. 20 years ago
Thomas Wouters 9df4e6f673 - Add new Warning class, ImportWarning 20 years ago
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