184 Commits (10fa83cb77299edb6feeaff2f6d0fe44a674ca4f)

Author SHA1 Message Date
Neal Norwitz 2633c69fae Remove the exceptions builtin module, all the exceptions are already builtin. 19 years ago
Thomas Wouters 902d6ebddd Merged revisions 53005-53303 via svnmerge from 19 years ago
Neal Norwitz 7770f9f6d2 Backport: 19 years ago
Neal Norwitz 72cd02c041 Prevent crash on shutdown which can occur if we are finalizing 19 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 19 years ago
Armin Rigo 7ccbca93a2 Forward-port of r52136,52138: a review of overflow-detecting code. 20 years ago
Armin Rigo 4b63c21d6f Forward-port of r52136: a review of overflow-detecting code. 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Thomas Heller 74d36f0d95 On Windows, make PyErr_Warn an exported function again. 20 years ago
Neal Norwitz 07aadb14f3 Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn(). 20 years ago
Thomas Wouters 4d70c3d9dd Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn 20 years ago
Georg Brandl a1121fa935 Fix #1494605. 20 years ago
Tim Peters 5e9d6cfbda PyErr_Display(), PyErr_WriteUnraisable(): Coverity found a cut-and-paste 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Richard Jones 7b9558d37d Conversion of exceptions over from faked-up classes to new-style C types. 20 years ago
Walter Dörwald c611f17418 Replace tab inside comment with space. 20 years ago
Georg Brandl 658d513328 PyErr_NewException now accepts a tuple of base classes as its 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters 303de6a25b Fix (and add test for) missing check for BaseException subclasses in the C 20 years ago
Neal Norwitz 1a26920506 moduleName can be NULL 20 years ago
Thomas Wouters b8f81d4863 Add missing DECREF to PyErr_WriteUnraisable(). That function reports 20 years ago
Anthony Baxter ac6bd46d5c spread the extern "C" { } magic pixie dust around. Python itself builds now 20 years ago
Guido van Rossum 45aecf451a Checkpoint. 218 tests are okay; 53 are failing. Done so far: 20 years ago
Brett Cannon bf36409e2a PEP 352 implementation. Creates a new base class, BaseException, which has an 20 years ago
Guido van Rossum 1a5e21e033 Updates to the with-statement: 20 years ago
Tim Peters a7444f47b2 PyErr_ProgramText(): Grrrrrr. 20 years ago
Martin v. Löwis d96ee90993 Use Py_ssize_t to count the 20 years ago
Michael W. Hudson 969f485cba -X died some time ago; remove a tiny bit of associated cruft. 21 years ago
Nicholas Bastin e5662aedef Changed random calls to PyThreadState_Get() to use the macro 22 years ago
Jack Jansen eddc1449ba Getting rid of all the code inside #ifdef macintosh too. 22 years ago
Armin Rigo 092381a979 Made function declaration a proper C prototype 23 years ago
Raymond Hettinger 8ae4689657 Simplify and speedup uses of Py_BuildValue(): 23 years ago
Mark Hammond edd07737d7 Fix [ 771097 ] frozen programs fail due to implicit import of "warnings". 23 years ago
Guido van Rossum 6b3fffaf99 PyErr_NormalizeException(): in the type==NULL test, we should simply 23 years ago
Mark Hammond a43fd0c899 Fix bug 683658 - PyErr_Warn may cause import deadlock. 23 years ago
Martin v. Löwis 95292d6caa Constify filenames and scripts. Fixes #651362. 23 years ago
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