Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better col_offsets for "for" statements with tuple unpacking #6704 | Benjamin Peterson | 2009-08-15 | 1 | -11/+12 |
| | | | | Patch from Frank Wierzbicki. | ||||
* | - Issue #6624: yArg_ParseTuple with "s" format when parsing argument with | Sean Reifscheider | 2009-08-01 | 1 | -1/+1 |
| | | | | NUL: Bogus TypeError detail string. | ||||
* | Better name a variable: 'buf' seems to imply a mutable buffer. | Amaury Forgeot d'Arc | 2009-07-25 | 1 | -7/+7 |
| | |||||
* | the Slice in x[::] has to have step as None to help the interpreter | Benjamin Peterson | 2009-07-20 | 1 | -1/+15 |
| | |||||
* | Issue #6415: Fixed warnings.warn sagfault on bad formatted string. | Hirokazu Yamamoto | 2009-07-17 | 1 | -0/+2 |
| | |||||
* | Update issue 6070 patch to match the patch that was actually tested | R. David Murray | 2009-07-07 | 1 | -1/+3 |
| | | | | on Windows. | ||||
* | Issue 6070: when creating a compiled file, after copying the mode bits, on | R. David Murray | 2009-07-07 | 1 | -1/+3 |
| | | | | | posix zap the execute bit in case it was set on the .py file, since the compiled files are not directly executable on posix. Patch by Marco N. | ||||
* | when print() gets unicode arguments, sep and end should be unicode by ↵ | Benjamin Peterson | 2009-07-02 | 1 | -18/+74 |
| | | | | default #4618 | ||||
* | small optimization: avoid popping the current block until we have to | Benjamin Peterson | 2009-07-01 | 1 | -5/+5 |
| | |||||
* | Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython ↵ | Georg Brandl | 2009-06-29 | 1 | -6/+9 |
| | | | | sprint. | ||||
* | Update docstrings for sys.getdlopenflags() and sys.setdlopenflags(). | Alexandre Vassalotti | 2009-06-29 | 1 | -10/+12 |
| | |||||
* | use stack macros | Benjamin Peterson | 2009-06-28 | 1 | -2/+2 |
| | |||||
* | add two generic macros for peeking and setting in the stack | Benjamin Peterson | 2009-06-28 | 1 | -0/+2 |
| | |||||
* | fix grammar | Benjamin Peterson | 2009-06-23 | 1 | -1/+1 |
| | |||||
* | remove tmpname support since it's no longer used | Benjamin Peterson | 2009-06-21 | 2 | -28/+0 |
| | |||||
* | don't need to add the name 'lambda' as assigned | Benjamin Peterson | 2009-06-21 | 1 | -2/+1 |
| | |||||
* | remove unused 'encoding' member from the compiler struct | Benjamin Peterson | 2009-06-17 | 1 | -4/+0 |
| | |||||
* | update ast version | Benjamin Peterson | 2009-06-13 | 1 | -2/+2 |
| | |||||
* | when no module is given in a 'from' relative import, make ImportFrom.module NULL | Benjamin Peterson | 2009-06-13 | 3 | -20/+20 |
| | |||||
* | give a better error message when deleting () | Benjamin Peterson | 2009-06-13 | 1 | -4/+7 |
| | |||||
* | set Print.values to NULL if there are no values | Benjamin Peterson | 2009-06-13 | 1 | -9/+12 |
| | |||||
* | allow importing from a module named None if it has an 'as' clause | Benjamin Peterson | 2009-06-13 | 1 | -4/+6 |
| | |||||
* | prevent import statements from assigning to None | Benjamin Peterson | 2009-06-13 | 1 | -11/+26 |
| | |||||
* | keep the slice.step field as NULL if no step expression is given | Benjamin Peterson | 2009-06-13 | 1 | -8/+1 |
| | |||||
* | Add const qualifier to PyErr_SetFromErrnoWithFilename and to | Alexandre Vassalotti | 2009-06-12 | 1 | -2/+2 |
| | | | | PyErr_SetFromErrnoWithUnicodeFilename. | ||||
* | remove check for case handled in sub-function | Benjamin Peterson | 2009-06-11 | 1 | -3/+0 |
| | |||||
* | revert r73361 | Benjamin Peterson | 2009-06-11 | 1 | -0/+4 |
| | |||||
* | remove duplicate check | Benjamin Peterson | 2009-06-11 | 1 | -4/+0 |
| | |||||
* | remove error checks already done in set_context() | Benjamin Peterson | 2009-06-08 | 1 | -25/+0 |
| | |||||
* | remove useless assertion | Benjamin Peterson | 2009-06-08 | 1 | -1/+0 |
| | |||||
* | Issue #5330: C functions called with keyword arguments were not reported by | Antoine Pitrou | 2009-05-30 | 1 | -2/+16 |
| | | | | the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau. | ||||
* | Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g | Jeffrey Yasskin | 2009-05-29 | 1 | -12/+0 |
| | | | | | | -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without. There's still a batch of non-prototype warnings in Xlib.h that I don't know how to fix. | ||||
* | further hint to where the open docs really are | Philip Jenvey | 2009-05-28 | 1 | -1/+1 |
| | |||||
* | teach the peepholer about SETUP_WITH | Benjamin Peterson | 2009-05-26 | 1 | -0/+3 |
| | |||||
* | Allow multiple context managers in one with statement, as proposed | Georg Brandl | 2009-05-25 | 2 | -39/+61 |
| | | | | | | | in http://codereview.appspot.com/53094 and accepted by Guido. The construct is transformed into multiple With AST nodes so that there should be no problems with the semantics. | ||||
* | take into account the fact that SETUP_WITH pushes a finally block | Benjamin Peterson | 2009-05-25 | 1 | -1/+1 |
| | |||||
* | add a SETUP_WITH opcode | Benjamin Peterson | 2009-05-25 | 3 | -57/+57 |
| | | | | | It speeds up the with statement and correctly looks up the special methods involved. | ||||
* | handle errors from _PyObject_LookupSpecial when __get__ fails | Benjamin Peterson | 2009-05-25 | 1 | -4/+6 |
| | |||||
* | Issue #6042: | Jeffrey Yasskin | 2009-05-23 | 2 | -65/+14 |
| | | | | | | | | | | | | | | | 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. | ||||
* | support building with subversion 1.7 #6094 | Benjamin Peterson | 2009-05-23 | 1 | -1/+1 |
| | |||||
* | Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. | Hirokazu Yamamoto | 2009-05-17 | 1 | -6/+2 |
| | |||||
* | Move news item to correct section, remove spurious 'see below' | R. David Murray | 2009-05-13 | 1 | -1/+1 |
| | | | | from docstring. | ||||
* | Issue 5994: add docstrings to marshal. | R. David Murray | 2009-05-13 | 1 | -5/+81 |
| | |||||
* | don't ignore exceptions from _PyObject_LengthHint | Benjamin Peterson | 2009-05-09 | 1 | -1/+3 |
| | |||||
* | convert some more special methods to use _PyObject_LookupSpecial | Benjamin Peterson | 2009-05-09 | 1 | -12/+7 |
| | |||||
* | Issue 5954, PyFrame_GetLineNumber: | Jeffrey Yasskin | 2009-05-08 | 3 | -4/+3 |
| | | | | | | | | | | | | | | 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. | ||||
* | Issue #5920: Changed format.__float__ and complex.__float__ to use a ↵ | Eric Smith | 2009-05-05 | 1 | -7/+6 |
| | | | | 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. | ||||
* | Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware. | Mark Dickinson | 2009-05-03 | 1 | -3/+16 |
| | |||||
* | Eliminate some locale-dependent calls to isspace and tolower. | Mark Dickinson | 2009-05-03 | 1 | -1/+1 |
| | |||||
* | Issue #1588: Add complex.__format__. | Eric Smith | 2009-04-30 | 2 | -7/+8 |
| |