- 27 Feb, 2006 26 commits
-
-
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 7 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.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
a tree of Python objects. Expose this through compile().
-
Brett Cannon authored
automatically removed. Also annotate what each line is meant to test.
-
Tim Peters authored
-
- 25 Feb, 2006 5 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
- The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above).
-
Neal Norwitz authored
-
Brett Cannon authored
-
Brett Cannon authored
Just symlink or copy python.vim to ~/.vim/syntax/ . Also included is a sample Python file with basic expressions to make sure they are highlighted. Also add a Vim directory in Misc to hold all Vim configuration files.
-
- 24 Feb, 2006 2 commits
-
-
Neal Norwitz authored
['(' gen_for ')'] is redundant with test, so remove it.
-
Neal Norwitz authored
-