215 Commits (a4d00012565d716db6e6abe1b8f33eaaa4de416e)

Author SHA1 Message Date
Christian Heimes 33fe8093df Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,62302-62306,62308,62311,62313-62315,62319-62321 via svnmerge from 18 years ago
Brett Cannon e974689038 Re-implement the 'warnings' module in C. This allows for usage of the 18 years ago
Christian Heimes 072c0f1b7e Merged revisions 59666-59679 via svnmerge from 18 years ago
Christian Heimes 000a074c95 Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Georg Brandl 1a3284ed69 #1535: rename __builtin__ module to builtins. 18 years ago
Christian Heimes 2be03734f8 Added some additional checks for sys.std?? is None, see #1440 18 years ago
Guido van Rossum e845c0f922 Fixes for issue 1752184, ensuring type objects are always created 18 years ago
Guido van Rossum ebe8f8a8ff Minor cleanup of the comment for PyErr_ProgramText() and a tweak to the code 19 years ago
Thomas Wouters 89d996e5c2 Merged revisions 57778-58052 via svnmerge from 19 years ago
Brett Cannon 1e534b5425 Fix a crasher where Python code managed to infinitely recurse in C code without 19 years ago
Martin v. Löwis 5d12abe0b1 Patch #1075: Use wide API to format error messages. 19 years ago
Neal Norwitz b382b84abe Add const to some strings that are not modified 19 years ago
Neal Norwitz cd795963c3 Use unicode for much of errors. 19 years ago
Skip Montanaro 46fc337395 PyErr_Warn is deprecated in 2.5 - goes away for 3.0 19 years ago
Guido van Rossum 307fa8cc82 Three patches by Amaury Forgeot d'Arc; SF patch# 1754484. 19 years ago
Thomas Heller ace8ba8d4b Revert a wrong commit. 19 years ago
Thomas Heller f630dac178 Must create heaptypes with unicode names. 19 years ago
Walter Dörwald 573c08c1b7 Change PyErr_Format() to generate a unicode string (by using 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Neal Norwitz f83b751f4b SF #1669182, 2.5 was already fixed. Just assert in 2.6 since string exceptions 19 years ago
Neal Norwitz 036b3beca8 Fix SF bug #1669182. Handle string exceptions even if unraisable (ie in __del__). 19 years ago
Neal Norwitz 88516a6039 When printing an unraisable error, don't print exceptions. before the name. 19 years ago
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