Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #6224: s/JPython/Jython/, and remove one link to a module nine years old. | Georg Brandl | 2009-06-06 | 1 | -1/+1 |
| | |||||
* | use the offical api | Benjamin Peterson | 2009-06-04 | 1 | -1/+1 |
| | |||||
* | Fix compilation error with gcc 4.3.2 | Antoine Pitrou | 2009-06-01 | 1 | -1/+3 |
| | |||||
* | #4547: When debugging a very large function, it was not always | Amaury Forgeot d'Arc | 2009-06-01 | 1 | -2/+2 |
| | | | | possible to update the lineno attribute of the current frame. | ||||
* | Uninitialized file type would lead to __exit__ lookup failure when site.py | Antoine Pitrou | 2009-05-31 | 1 | -0/+3 |
| | | | | tries to read *.pth files on interpreter startup. | ||||
* | Issue 5982: Classmethod and staticmethod expose wrapped function with __func__. | Raymond Hettinger | 2009-05-29 | 1 | -2/+12 |
| | |||||
* | plug ref leak | Benjamin Peterson | 2009-05-27 | 1 | -4/+7 |
| | |||||
* | correctly handle descrs with __missing__ | Benjamin Peterson | 2009-05-27 | 1 | -5/+6 |
| | |||||
* | handle errors from _PyObject_LookupSpecial when __get__ fails | Benjamin Peterson | 2009-05-25 | 3 | -3/+17 |
| | |||||
* | Issue #6042: | Jeffrey Yasskin | 2009-05-23 | 2 | -132/+132 |
| | | | | | | | | | | | | | | | lnotab-based tracing is very complicated and isn't documented very well. There were at least 3 comment blocks purporting to document co_lnotab, and none did a very good job. This patch unifies them into Objects/lnotab_notes.txt which tries to completely capture the current state of affairs. I also discovered that we've attached 2 layers of patches to the basic tracing scheme. The first layer avoids jumping to instructions that don't start a line, to avoid problems in if statements and while loops. The second layer discovered that jumps backward do need to trace at instructions that don't start a line, so it added extra lnotab entries for 'while' and 'for' loops, and added a special case for backward jumps within the same line. I replaced these patches by just treating forward and backward jumps differently. | ||||
* | Issue 6089: str.format raises SystemError. | Eric Smith | 2009-05-23 | 1 | -2/+3 |
| | |||||
* | Issue #5829: don't raise OverflowError for complex('1e500'). Backport of ↵ | Mark Dickinson | 2009-05-20 | 1 | -9/+0 |
| | | | | r72803. | ||||
* | Fix issue #1689458 by teaching frame_setlineno how to jump to the first line of | Jeffrey Yasskin | 2009-05-20 | 1 | -14/+20 |
| | | | | a code object. | ||||
* | While I was modifying test_trace, it threw an exception when I accidentally | Jeffrey Yasskin | 2009-05-18 | 1 | -1/+2 |
| | | | | | | | made it try to set the line number from the trace callback for a 'call' event. This patch makes the error message a little more helpful in that case, and makes it a little less likely that a future editor will make the same mistake in test_trace. | ||||
* | Issue #6044: remove confusing wording from complex -> integer and | Mark Dickinson | 2009-05-17 | 1 | -3/+3 |
| | | | | complex -> float conversion error messages. | ||||
* | Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. | Hirokazu Yamamoto | 2009-05-17 | 1 | -1/+1 |
| | |||||
* | completely ignore old-style stuff for type checking overloading | Benjamin Peterson | 2009-05-16 | 1 | -52/+30 |
| | |||||
* | deal with old-style classes in issubclass and isinstance | Benjamin Peterson | 2009-05-16 | 1 | -2/+2 |
| | |||||
* | properly lookup __instancecheck__ and __subclasscheck__ | Benjamin Peterson | 2009-05-16 | 2 | -30/+29 |
| | |||||
* | Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. | Mark Dickinson | 2009-05-11 | 1 | -16/+36 |
| | |||||
* | clear error state properly | Benjamin Peterson | 2009-05-09 | 1 | -0/+1 |
| | |||||
* | ignore AttributeErrors for classic classes | Benjamin Peterson | 2009-05-09 | 1 | -1/+2 |
| | |||||
* | *sigh* deal with instances correctly | Benjamin Peterson | 2009-05-09 | 1 | -1/+12 |
| | |||||
* | can't handle classic classes here | Benjamin Peterson | 2009-05-09 | 1 | -0/+1 |
| | |||||
* | ignore classic classes | Benjamin Peterson | 2009-05-09 | 1 | -0/+2 |
| | |||||
* | convert some more special methods to use _PyObject_LookupSpecial | Benjamin Peterson | 2009-05-09 | 1 | -13/+8 |
| | |||||
* | lookup __reversed__ correctly as a special method | Benjamin Peterson | 2009-05-09 | 1 | -3/+8 |
| | |||||
* | Issue 5954, PyFrame_GetLineNumber: | Jeffrey Yasskin | 2009-05-08 | 1 | -13/+13 |
| | | | | | | | | | | | | | | Most uses of PyCode_Addr2Line (http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get the line number of a specified frame, but there's no way to do that directly. Forcing people to go through the code object makes them know more about the guts of the interpreter than they should need. The remaining uses of PyCode_Addr2Line seem to be getting the line from a traceback (for example, http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line), which is replaced by the tb_lineno field. So we may be able to deprecate PyCode_Addr2Line entirely for external use. | ||||
* | PyCode_NewEmpty: | Jeffrey Yasskin | 2009-05-08 | 1 | -0/+46 |
| | | | | | | | | Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals. | ||||
* | this is now a bound method | Benjamin Peterson | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | add _PyObject_LookupSpecial to handle fetching special method lookup | Benjamin Peterson | 2009-05-08 | 2 | -12/+11 |
| | |||||
* | Issue #5920: Changed format.__float__ and complex.__float__ to use a ↵ | Eric Smith | 2009-05-05 | 3 | -16/+28 |
| | | | | precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. | ||||
* | Remove unused variable. | Georg Brandl | 2009-05-05 | 1 | -1/+0 |
| | |||||
* | #5929: fix signedness warning. | Georg Brandl | 2009-05-05 | 1 | -1/+1 |
| | |||||
* | Fix issue 5890: (property subclass shadows __doc__ string) by inserting | R. David Murray | 2009-05-04 | 1 | -16/+23 |
| | | | | | | | the __doc__ into the subclass instance __dict__. The fix refactors property_copy to call property_init in such a way that the __doc__ logic is re-executed correctly when getter_doc is 1, thus simplifying property_copy. | ||||
* | Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal ↵ | Antoine Pitrou | 2009-05-04 | 1 | -184/+240 |
| | | | | | | sequences. Patch by Nick Barnes and Victor Stinner. | ||||
* | There's no %A in Python 2.x! | Walter Dörwald | 2009-05-03 | 1 | -1/+1 |
| | |||||
* | Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call | Walter Dörwald | 2009-05-03 | 1 | -48/+32 |
| | | | | | | PyUnicode_DecodeUTF8() once, remember the result and output it in a second step. This avoids problems with counting UTF-8 bytes that ignores the effect of using the replace error handler in PyUnicode_DecodeUTF8(). | ||||
* | Eliminate some locale-dependent calls to isspace and tolower. | Mark Dickinson | 2009-05-03 | 2 | -10/+10 |
| | |||||
* | Remove unnecessary uses of context in PyGetSetDef. See issue #5880. | Mark Dickinson | 2009-05-03 | 1 | -10/+15 |
| | |||||
* | Remove unnecessary use of context for long getters. | Mark Dickinson | 2009-05-02 | 1 | -10/+15 |
| | | | | (Related to issue #5880). | ||||
* | Keep py3k and trunk code in sync. | Eric Smith | 2009-05-02 | 1 | -0/+4 |
| | |||||
* | #5889: remove comma at the end of a list that some C compilers don't like. | Georg Brandl | 2009-05-01 | 1 | -1/+1 |
| | |||||
* | Issue #1588: Add complex.__format__. | Eric Smith | 2009-04-30 | 2 | -49/+371 |
| | |||||
* | Remove format_float and use _PyOS_double_to_string instead. | Mark Dickinson | 2009-04-29 | 1 | -82/+13 |
| | |||||
* | Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to ↵ | Eric Smith | 2009-04-27 | 3 | -266/+44 |
| | | | | py3k. Should fix Windows buildbot errors. | ||||
* | Backport r71967 changes from py3k to trunk. | Mark Dickinson | 2009-04-26 | 1 | -60/+21 |
| | | | | (Internal plumbing changes for float parsing.) | ||||
* | Reset errno before both calls to PyOS_ascii_strtod, not just one. | Mark Dickinson | 2009-04-26 | 1 | -2/+2 |
| | |||||
* | Issue #4971: Fix titlecase for characters that are their own | Martin v. Löwis | 2009-04-26 | 1 | -6/+1 |
| | | | | titlecase, but not their own uppercase. | ||||
* | Issue #5835, deprecate PyOS_ascii_formatd. | Eric Smith | 2009-04-25 | 3 | -19/+10 |
| | | | | | | If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great. Will port to py3k with a different strategy. |