87 Commits (fe8440aec00af5bc2e995aaad205efa2e693a364)

Author SHA1 Message Date
Brett Cannon fd0741555b Issue #2377: Make importlib the implementation of __import__(). 14 years ago
Brett Cannon 79ec55e980 Issue #1559549: Add 'name' and 'path' attributes to ImportError. 14 years ago
Nick Coghlan ab7bf2143e Close issue #6210: Implement PEP 409 14 years ago
Benjamin Peterson 23d7f12ffb use new generic __dict__ descriptor implementations 14 years ago
Benjamin Peterson efe7c9d4d7 this is only a borrowed ref in Brett's branch 14 years ago
Benjamin Peterson 2f9c71bbba bltinmod is borrowed, so it shouldn't be decrefed 14 years ago
Benjamin Peterson 90b13583bc put returns on their own lines 14 years ago
Antoine Pitrou ac456a1839 Fix some of the remaining test_capi leaks 14 years ago
Antoine Pitrou 8b0a74e936 Fix some of the remaining test_capi refleaks 14 years ago
Antoine Pitrou 55f217f22d Fix refleaks in test_capi 14 years ago
Antoine Pitrou 1c7ade5284 Fix leaking a RuntimeError objects when creating sub-interpreters 14 years ago
Nick Coghlan 1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 14 years ago
Antoine Pitrou e0e2735f41 Fix OSError.__init__ and OSError.__new__ so that each of them can be 14 years ago
Victor Stinner 9e30aa52fd Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 14 years ago
Victor Stinner 53b33e767d UnicodeTranslateError uses the new Unicode API 14 years ago
Victor Stinner da1ddf37c6 UnicodeEncodeError uses the new Unicode API 14 years ago
Martin v. Löwis b09af03b8a Port error handlers from Py_UNICODE indexing to code point indexing. 15 years ago
Antoine Pitrou 6b4883dec0 PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. 15 years ago
Victor Stinner 31392e741d Fix my_basename(): make the string ready 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Victor Stinner 92236e5651 SystemExit_init(): avoid an useless test 15 years ago
Antoine Pitrou 98e2b45297 Merged revisions 85896 via svnmerge from 16 years ago
Antoine Pitrou 07e20ef50b Issue #5437: A preallocated MemoryError instance should not hold traceback 16 years ago
Georg Brandl 08be72d0aa Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default, 16 years ago
Benjamin Peterson 479a38b8fd Merged revisions 82159 via svnmerge from 16 years ago
Benjamin Peterson 285a689c8f Merged revisions 82157 via svnmerge from 16 years ago
Victor Stinner 7eeb5b5e50 Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s# 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Victor Stinner 6237daf8c5 Don't decode/recode the unicode filename in SyntaxError_str() 16 years ago
Benjamin Peterson fa2936c0cc Merged revisions 78437 via svnmerge from 16 years ago
Benjamin Peterson c5f4e1ecfd plug reference leak 16 years ago
Eric Smith f2387da424 Merged revisions 78420 via svnmerge from 16 years ago
Eric Smith 0facd77015 Merged revisions 78418 via svnmerge from 16 years ago
Benjamin Peterson 78565b2216 Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from 17 years ago
Georg Brandl 2c8600446d Merged revisions 73447-73448 via svnmerge from 17 years ago
Georg Brandl ab6f2f6eb6 Fix segfaults when running test_exceptions with coverage tracing, caused by wrongly defining Exception.__context__ as a T_OBJECT structmember which does not set the member to NULL on None assignment, and generally does not do type checks. This could be used to crash the interpreter by setting any object to __context__. The same applies to __cause__. Also document the PyException_* functions. 17 years ago
Benjamin Peterson f91df0465d Merged revisions 69364-69365,69409-69410,69413,69417,69435,69442,69447,69495,69519-69521 via svnmerge from 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Benjamin Peterson b58dda7bdb Merged revisions 68633,68648,68667,68706,68718,68720-68721,68724-68727,68739 via svnmerge from 17 years ago
Marc-André Lemburg 4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and 18 years ago
Benjamin Peterson 2b968d6187 #3295 actually define PyExc_BufferError 18 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Georg Brandl 7694100e4b Give with_traceback a docstring. 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Martin v. Löwis d1a1d1ed80 Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 18 years ago
Christian Heimes cbf3b5cb76 Merged revisions 59275-59303 via svnmerge from 18 years ago
Christian Heimes f9290773fc Reverting last commit. I had some staled data from an attempted svnmerge in my local sandbox 18 years ago
Christian Heimes e69c320d48 Patch #1537 from Chad Austin 18 years ago