Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore .pyc files | Neal Norwitz | 2006-02-28 | 0 | -0/+0 |
| | |||||
* | Note that as generates a warning too | Neal Norwitz | 2006-02-28 | 1 | -0/+2 |
| | |||||
* | Martin owns PEP 353 and did most of the work | Neal Norwitz | 2006-02-28 | 1 | -1/+1 |
| | |||||
* | Make __future__ features similar for with and absolute import since they ↵ | Neal Norwitz | 2006-02-28 | 1 | -2/+2 |
| | | | | were both added before a1 | ||||
* | Generally inehrit codeflags that are in PyCF_MASK, instead of writing it out | Thomas Wouters | 2006-02-28 | 1 | -4/+4 |
| | | | | | in multiple places. This makes compile()/eval()/etc also inherit the absolute-import codeflag, like division and with-statement already were. | ||||
* | Add some stats collection in debugging mode. | Jeremy Hylton | 2006-02-28 | 1 | -3/+41 |
| | | | | No good way to extract output yet. | ||||
* | Gave README a .txt extension. | Tim Peters | 2006-02-28 | 1 | -0/+0 |
| | |||||
* | from __future__ import with_statement addon for 'with', mostly written by | Thomas Wouters | 2006-02-28 | 16 | -40/+102 |
| | | | | Neal. | ||||
* | Add directory which contains known ref leaks. Some of these are likely to ↵ | Neal Norwitz | 2006-02-28 | 4 | -0/+52 |
| | | | | be system dependent (like test_gestalt). | ||||
* | Use simple PyList to implement list of PyObject pointers | Jeremy Hylton | 2006-02-28 | 1 | -44/+20 |
| | |||||
* | Set EOL style to native. | Tim Peters | 2006-02-28 | 5 | -969/+969 |
| | |||||
* | Another bit of unconstification. | Tim Peters | 2006-02-28 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-02-28 | 9 | -993/+990 |
| | |||||
* | Tabify | Jeremy Hylton | 2006-02-28 | 1 | -84/+87 |
| | |||||
* | Instead of printing the exception when you interrupt a test (Ctrl-C), | Neal Norwitz | 2006-02-28 | 1 | -1/+9 |
| | | | | print the status so far and suppress printing the exception (but still exit). | ||||
* | Remove asdl_seq_APPEND() and simplify asdl seq implementation. | Jeremy Hylton | 2006-02-28 | 3 | -81/+59 |
| | | | | Clarify intended use of set_context() and check errors at all call sites. | ||||
* | Update comments | Neal Norwitz | 2006-02-28 | 1 | -1/+2 |
| | |||||
* | Real arena implementation | Jeremy Hylton | 2006-02-28 | 2 | -72/+84 |
| | | | | | Replace the toy arena implementation with a real one, based on allocating 8K chunks of memory by default. | ||||
* | George Yoshida points out that the special characters | Neal Norwitz | 2006-02-28 | 1 | -1/+1 |
| | | | | | from Tools/compiler/ast.txt are not used anywhere else in asttable.txt. So remove "\&". | ||||
* | Test case to cover subscription bug from SF 1333982 | Jeremy Hylton | 2006-02-28 | 2 | -0/+12 |
| | |||||
* | Wups, add NEWS item I'd written but not checked in. | Thomas Wouters | 2006-02-28 | 1 | -0/+6 |
| | |||||
* | SF patch #1438387, PEP 328: relative and absolute imports. | Thomas Wouters | 2006-02-28 | 20 | -74/+271 |
| | | | | | | | | | | | | | | | | | | | | | | | - IMPORT_NAME takes an extra argument from the stack: the relativeness of the import. Only passed to __import__ when it's not -1. - __import__() takes an optional 5th argument for the same thing; it __defaults to -1 (old semantics: try relative, then absolute) - 'from . import name' imports name (be it module or regular attribute) from the current module's *package*. Likewise, 'from .module import name' will import name from a sibling to the current module. - Importing from outside a package is not allowed; 'from . import sys' in a toplevel module will not work, nor will 'from .. import sys' in a (single-level) package. - 'from __future__ import absolute_import' will turn on the new semantics for import and from-import: imports will be absolute, except for from-import with dots. Includes tests for regular imports and importhooks, parser changes and a NEWS item, but no compiler-package changes or documentation changes. | ||||
* | markup glitch (spotted by George Yoshida) | Fredrik Lundh | 2006-02-28 | 1 | -1/+1 |
| | |||||
* | XXX something for amk's attention | Anthony Baxter | 2006-02-28 | 1 | -0/+1 |
| | |||||
* | Forgot to explain the effect of the new opcode. | Guido van Rossum | 2006-02-28 | 1 | -0/+1 |
| | | | | Sigh -- we really should have one place for all opcode metadata. | ||||
* | Generate return statement. | Martin v. Löwis | 2006-02-28 | 1 | -0/+1 |
| | |||||
* | Regenerate. | Martin v. Löwis | 2006-02-28 | 1 | -0/+2 |
| | |||||
* | Update the compiler package to compile the with-statement. | Guido van Rossum | 2006-02-28 | 3 | -1/+63 |
| | | | | Jeremy, please review! | ||||
* | Add generation of the version. | Martin v. Löwis | 2006-02-28 | 2 | -1/+7 |
| | |||||
* | Ignore resource file | Neal Norwitz | 2006-02-28 | 0 | -0/+0 |
| | |||||
* | Add support for version field on Modules | Martin v. Löwis | 2006-02-28 | 3 | -8/+29 |
| | |||||
* | Check the return code for PyErr_Warn() when warning about raising string | Brett Cannon | 2006-02-27 | 2 | -4/+9 |
| | | | | | exceptions. This was triggered when 'warnings' had a filter set to "error" that caught the string exception deprecation warning. | ||||
* | PyErr_ProgramText(): Grrrrrr. | Tim Peters | 2006-02-27 | 1 | -1/+1 |
| | | | | | | | | | | | In a Windows debug build, trying to open a file using an empty string as the name causes assertion death inside MS's C runtime code. We probably need to worm around that in many places. I'm worming around it here to stop the new test_with.py from assert-dying in the Windows debug build (it calls compile() with an empty string for "the file name", which indirectly leads to C-level code in Python trying to fopen("", "r")). | ||||
* | Finish removal of CO_GENERATOR_ALLOWED. | Neal Norwitz | 2006-02-27 | 2 | -1/+4 |
| | |||||
* | unconst. | Martin v. Löwis | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Clarify C-style exception handling with proper label name. | Thomas Wouters | 2006-02-27 | 1 | -3/+3 |
| | |||||
* | Fix assertions. | Thomas Wouters | 2006-02-27 | 1 | -3/+3 |
| | |||||
* | PEP 343 -- the with-statement. | Guido van Rossum | 2006-02-27 | 23 | -731/+1768 |
| | | | | | | | | | | | | | This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global). | ||||
* | Start of a source code unparser. | Martin v. Löwis | 2006-02-27 | 2 | -0/+164 |
| | |||||
* | Even though we don't currently use unicode or complex numbers in the test, | Neal Norwitz | 2006-02-27 | 1 | -3/+3 |
| | | | | | | be complete when when checking types. Yield cannot be tested outside a function, so add a comment to that effect. | ||||
* | Don't filter out OverflowWarning; should be a test failure if it is raised by | Brett Cannon | 2006-02-27 | 1 | -2/+1 |
| | | | | the interpreter in 2.5 . | ||||
* | Make or_test similar to test, not testlist. | Martin v. Löwis | 2006-02-27 | 1 | -1/+2 |
| | |||||
* | Skip over doc strings. | Martin v. Löwis | 2006-02-27 | 2 | -1/+10 |
| | |||||
* | Convert array.array.insert to use Py_ssize_t (like the rest already does.) | Thomas Wouters | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Fix parsing of subscriptlist. | Jeremy Hylton | 2006-02-27 | 1 | -4/+30 |
| | | | | | | | (Armin's SF bug report). d = {} d[1,] = 1 Now handled correctly | ||||
* | More unconsting. | Martin v. Löwis | 2006-02-27 | 9 | -62/+56 |
| | |||||
* | Patch 1413181, by Gabriel Becedillas. | Tim Peters | 2006-02-27 | 2 | -0/+10 |
| | | | | | | | | | PyThreadState_Delete(): if the auto-GIL-state machinery knows about the thread state, forget it (since the thread state is being deleted, continuing to remember it can't help, but can hurt if another thread happens to get created with the same thread id). I'll backport to 2.4 next. | ||||
* | And some more cleanup. | Thomas Wouters | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Clean up from-import handling. | Thomas Wouters | 2006-02-27 | 1 | -22/+21 |
| | |||||
* | unconst. | Martin v. Löwis | 2006-02-27 | 1 | -9/+9 |
| |