58 Commits (ff337ccd4bf9b6edea5aa25ea72f7d4c02a3bf47)

Author SHA1 Message Date
Benjamin Peterson 0f7e2df2f1 this is only a borrowed ref in Brett's branch 15 years ago
Benjamin Peterson cec6a61d30 bltinmod is borrowed, so it shouldn't be decrefed 15 years ago
Benjamin Peterson 4c79aec716 put returns on their own lines 15 years ago
Benjamin Peterson 8d6496385d Merged revisions 82157 via svnmerge from 16 years ago
Benjamin Peterson b91338960e remove INT_MAX assertions; they can fail with large Py_ssize_t #9058 16 years ago
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
Eric Smith 66807853b4 Merged revisions 78418 via svnmerge from 17 years ago
Eric Smith 2d9856d6ce Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings. 17 years ago
Ezio Melotti e748238a4f Merged revisions 77045 via svnmerge from 17 years ago
Ezio Melotti f84caf4eda #6108: unicode(exception) and str(exception) should return the same message 17 years ago
Georg Brandl 8997103be0 Merged revisions 74845 via svnmerge from 17 years ago
Georg Brandl 0674d3fb5f #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user. 17 years ago
Georg Brandl af01c03e14 Remove unused macro. 17 years ago
Alexandre Vassalotti 55bd1efb2a Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini. 17 years ago
Kristján Valur Jónsson 6a743d3694 Issue 4804. Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions. 18 years ago
Amaury Forgeot d'Arc 59ce042766 #4077: No need to append \n when calling Py_FatalError 18 years ago
Benjamin Peterson c0bf76d3cf backport r64751 18 years ago
Nick Coghlan 524b7773cc Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes 18 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
Benjamin Peterson f19a7b90bd A little reformating of Py3k warnings 18 years ago
Benjamin Peterson 9f4f48114f Use PyErr_WarnPy3k throughout 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
Georg Brandl d5b635f196 Make Py3k warnings consistent w.r.t. punctuation; also respect the 18 years ago
Travis E. Oliphant 3781aef8f8 Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will. 18 years ago
Guido van Rossum 6d91be3758 - Issue 2379: Raise a Py3K warning for __getitem__ or __getslice__ on 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 19 years ago
Christian Heimes 44eeaec173 Patch #1537 from Chad Austin 19 years ago
Brett Cannon 1e534b5425 Fix a crasher where Python code managed to infinitely recurse in C code without 19 years ago
Georg Brandl d7e9f608c3 Revert accidental checkins from last commit. 19 years ago
Georg Brandl fdca6d8599 Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers. 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Walter Dörwald 84a3efec37 Add T_PYSSIZET in structmember.h: This can be used for 19 years ago
Brett Cannon 5cd0fca9d8 Complete deprecation of BaseException.message. Some subclasses were directly 19 years ago
Brett Cannon 229cee2d3d Deprecate BaseException.message as per PEP 352. 19 years ago
Georg Brandl 1dfa8ac6f1 Backport r54757 - missing NULL checks. 19 years ago
Georg Brandl c02e13122b Add some missing NULL checks which trigger crashes on low-memory conditions. 19 years ago
Neal Norwitz ee3a1b5244 Variation of patch # 1624059 to speed up checking if an object is a subclass 20 years ago
Thomas Heller a0a50feea8 WindowsError.str should display the windows error code, 20 years ago
Thomas Heller df08f0b9a0 WindowsError.str should display the windows error code, 20 years ago
Georg Brandl 506cc189a9 Bug #1566800: make sure that EnvironmentError can be called with any 20 years ago
Georg Brandl 3267d28f9d Bug #1566800: make sure that EnvironmentError can be called with any 20 years ago
Brett Cannon c70e003f75 Backport of fix to allow exception instances to be sliced once again. 20 years ago
Brett Cannon f6aa86e33b Allow exceptions to be directly sliced again 20 years ago
Brett Cannon 19d76c5aa8 Remove __unicode__ method so that ``unicode(BaseException)`` succeeds. 20 years ago
Brett Cannon ca2ca79d23 Remove the __unicode__ method from exceptions. Allows unicode() to be called 20 years ago
Georg Brandl 38f6237dfe Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack. 20 years ago
Georg Brandl ecab623e13 Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack. 20 years ago
Marc-André Lemburg 040f76b79c Slightly revised version of patch #1538956: 20 years ago