- 22 Mar, 2001 5 commits
-
-
Jeremy Hylton authored
Add PyEval_GetNestedScopes() which returns a non-zero value if the code for the current interpreter frame has CO_NESTED defined.
-
Guido van Rossum authored
like the one I just fixed to come back and haunt us.
-
Neil Schemenauer authored
to configure).
-
Neil Schemenauer authored
- Add CONFIG_ARGS variable and use it to re-run configure rather than using config.status. This prevents an infinite loop if configure dies while re-configuring.
-
Guido van Rossum authored
This fixes SF bug #410146 (python 2.1b shelve is broken).
-
- 21 Mar, 2001 25 commits
-
-
Tim Peters authored
This makes verbose-mode output easier to dig thru, and removes an accidental dependence on the order of dict.items() (made visible by recent changes to dictobject.c).
-
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 10 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.
-