- 28 Feb, 2006 4 commits
-
-
Guido van Rossum authored
Jeremy, please review!
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Martin v. Löwis authored
-
- 27 Feb, 2006 34 commits
-
-
Brett Cannon authored
exceptions. This was triggered when 'warnings' had a filter set to "error" that caught the string exception deprecation warning.
-
Tim Peters authored
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 authored
-
Martin v. Löwis authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Guido van Rossum authored
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 authored
-
Neal Norwitz authored
be complete when when checking types. Yield cannot be tested outside a function, so add a comment to that effect.
-
Brett Cannon authored
the interpreter in 2.5 .
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Thomas Wouters authored
-
Jeremy Hylton authored
(Armin's SF bug report). d = {} d[1,] = 1 Now handled correctly
-
Martin v. Löwis authored
-
Tim Peters authored
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.
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Martin v. Löwis authored
-
Jeremy Hylton authored
-
Tim Peters authored
-
Neal Norwitz authored
-
Thomas Wouters authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Thomas Wouters authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Thomas Wouters authored
-
Martin v. Löwis authored
Cleanup Python-ast.c generation.
-
Martin v. Löwis authored
-
Anthony Baxter authored
-
Thomas Wouters authored
breaks the parser module, because it adds the if/else construct as well as two new grammar rules for backward compatibility. If no one else fixes parsermodule, I guess I'll go ahead and fix it later this week. The TeX code was checked with texcheck.py, but not rendered. There is actually a slight incompatibility: >>> (x for x in lambda:0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: iteration over non-sequence changes into >>> (x for x in lambda: 0) File "<stdin>", line 1 (x for x in lambda: 0) ^ SyntaxError: invalid syntax Since there's no way the former version can be useful, it's probably a bugfix ;)
-
Martin v. Löwis authored
-
- 26 Feb, 2006 2 commits
-
-
Martin v. Löwis authored
-
Neal Norwitz authored
Implement change suggested by Jiwon Seo on python-dev. ['(' gen_for ')'] is redundant with test, so remove it.
-