- 28 Şub, 2006 24 kayıt (commit)
-
-
Thomas Wouters yazdı
Neal.
-
Neal Norwitz yazdı
Add directory which contains known ref leaks. Some of these are likely to be system dependent (like test_gestalt).
-
Jeremy Hylton yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Jeremy Hylton yazdı
-
Neal Norwitz yazdı
print the status so far and suppress printing the exception (but still exit).
-
Jeremy Hylton yazdı
Clarify intended use of set_context() and check errors at all call sites.
-
Neal Norwitz yazdı
-
Jeremy Hylton yazdı
Replace the toy arena implementation with a real one, based on allocating 8K chunks of memory by default.
-
Neal Norwitz yazdı
from Tools/compiler/ast.txt are not used anywhere else in asttable.txt. So remove "\&".
-
Jeremy Hylton yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
- 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.
-
Fredrik Lundh yazdı
-
Anthony Baxter yazdı
-
Guido van Rossum yazdı
Sigh -- we really should have one place for all opcode metadata.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
Jeremy, please review!
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
-
Martin v. Löwis yazdı
-
- 27 Şub, 2006 16 kayıt (commit)
-
-
Brett Cannon yazdı
exceptions. This was triggered when 'warnings' had a filter set to "error" that caught the string exception deprecation warning.
-
Tim Peters yazdı
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")).
-
Neal Norwitz yazdı
-
Martin v. Löwis yazdı
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Guido van Rossum yazdı
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).
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
be complete when when checking types. Yield cannot be tested outside a function, so add a comment to that effect.
-
Brett Cannon yazdı
the interpreter in 2.5 .
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Thomas Wouters yazdı
-
Jeremy Hylton yazdı
(Armin's SF bug report). d = {} d[1,] = 1 Now handled correctly
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
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.
-