- 21 Mar, 2001 18 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both returning an int, or -1 for errors.
-
Fred Drake yazdı
-
Fred Drake yazdı
Add some helpers for supporting PyUNIT-based unit testing.
-
Fred Drake yazdı
-
Fred Drake yazdı
Patch to make "\" in a character group work properly. This closes SF bug #409651.
-
Moshe Zadka yazdı
-
Jeremy Hylton yazdı
- global stmt in class does not affect free vars in methods - locals() works with free and cell vars
-
Jeremy Hylton yazdı
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 yazdı
Closes bug #231439.
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
Report the addition of the Tix module.
-
Martin v. Löwis yazdı
by requiring it. Also remove commentary from Setup.dist about commenting in and out stuff.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
and Setup.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
- 20 Mar, 2001 16 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Fred Drake yazdı
and note that it fails when the TZ environment variable is not set. This closes SF bug #409683.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Guido van Rossum yazdı
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 yazdı
-
Guido van Rossum yazdı
Importing it typically fails anyway (no TZ variable defined), so this is no great loss.
-
Andrew M. Kuchling yazdı
to check for them (instead of calling them and then ignoring an IOError)
-
Moshe Zadka yazdı
* Not sending content-type and content-length twice
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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 yazdı
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
-
- 19 Mar, 2001 5 kayıt (commit)
-
-
Jeremy Hylton yazdı
of another list comp. This caused crashes reported as SF bugs 409230 and 407800. Note that the new tests are in a function so that the name lookup code isn't affected by how many *other* list comprehensions are in the same scope.
-
Jeremy Hylton yazdı
SF bugs 409230 and 407800 Also remove bogus list comp code from symtable_assign().
-
Tim Peters yazdı
on the current machine. Wise doesn't seem to know this itself, and it varies across Windows flavors.
-
Guido van Rossum yazdı
(Excluding the logging stuff, which doesn't lend itself to use via "from cgi import *" -- it manipulates globals.)
-
Fred Drake yazdı
-
- 18 Mar, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-