- 21 Mar, 2001 24 commits
-
-
Fred Drake authored
supporting cyclic garbage collection. (This is not all of it, but I'm taking a break!) Also fixed some markup nits.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
associated with existing dict keys. This is a variant of part of Michael Hudson's patch #409864 "lazy fix for Pings bizarre scoping crash".
-
Guido van Rossum authored
unbound method is of the right type. Hopefully this solves SF patch #409355 (Meta-class inheritance problem); I have no easy way to test.
-
Jeremy Hylton authored
line summary followed by blank line and description.
-
Jeremy Hylton authored
-
Guido van Rossum authored
APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both returning an int, or -1 for errors.
-
Fred Drake authored
-
Fred Drake authored
Add some helpers for supporting PyUNIT-based unit testing.
-
Fred Drake authored
-
Fred Drake authored
Patch to make "\" in a character group work properly. This closes SF bug #409651.
-
Moshe Zadka authored
-
Jeremy Hylton authored
- global stmt in class does not affect free vars in methods - locals() works with free and cell vars
-
Jeremy Hylton authored
frees. Note there doesn't seem to be any way to test LocalsToFast(), because the instructions that trigger it are illegal in nested scopes with free variables. Fix allocation strategy for cells that are also formal parameters. Instead of emitting LOAD_FAST / STORE_DEREF pairs for each parameter, have the argument handling code in eval_code2() do the right thing. A side-effect of this change is that cell variables that are also arguments are listed at the front of co_cellvars in the order they appear in the argument list.
-
Martin v. Löwis authored
Closes bug #231439.
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Report the addition of the Tix module.
-
Martin v. Löwis authored
by requiring it. Also remove commentary from Setup.dist about commenting in and out stuff.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
and Setup.
-
Tim Peters authored
-
Tim Peters authored
-
- 20 Mar, 2001 16 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Fred Drake authored
and note that it fails when the TZ environment variable is not set. This closes SF bug #409683.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
This patch was developed primarily to reduce the size of the frozen binary. It is particularly useful when freezing for 'small' platforms, such as Palm OS, where you really want to save that last miserable byte. A limitation of this patch is that it does not provide any feedback about the replacements being made. As the path matching is case-sensitive this may lead to unexpected behaviour for DOS and Windows people, eg > freeze.py -r C:\Python\Lib\=py\ goats.py should probably be: > freeze.py -r c:\python\lib\=py\ goats.py
-
Guido van Rossum authored
-
Guido van Rossum authored
Importing it typically fails anyway (no TZ variable defined), so this is no great loss.
-
Andrew M. Kuchling authored
to check for them (instead of calling them and then ignoring an IOError)
-
Moshe Zadka authored
* Not sending content-type and content-length twice
-
Guido van Rossum authored
-
Guido van Rossum authored
hashable This patch changes the behavior of slice objects in the following manner: - Slice objects are now comparable with other slice objects as though they were logically tuples of (start,stop,step). The tuple is not created in the comparison function, but the comparison behavior is logically equivalent. - Slice objects are not hashable. With the above change to being comparable, slice objects now cannot be used as keys in dictionaries. [I've edited the patch for style. Note that this fixes the problem that dict[i:j] seemed to work but was meaningless. --GvR]
-
Jeremy Hylton authored
has a binding for the name. The fix is in two places: - in symtable_update_free_vars, ignore a global stmt in a class scope - in symtable_load_symbols, add extra handling for names that are defined at class scope and free in a method Closes SF bug 407800
-