| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
like the one I just fixed to come back and haunt us.
|
|
|
|
| |
to configure).
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
This fixes SF bug #410146 (python 2.1b shelve is broken).
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
supporting cyclic garbage collection. (This is not all of it, but I'm
taking a break!)
Also fixed some markup nits.
|
| |
|
| |
|
|
|
|
|
|
| |
associated with existing dict keys.
This is a variant of part of Michael Hudson's patch #409864 "lazy fix for
Pings bizarre scoping crash".
|
|
|
|
|
| |
unbound method is of the right type. Hopefully this solves SF patch
#409355 (Meta-class inheritance problem); I have no easy way to test.
|
|
|
|
| |
line summary followed by blank line and description.
|
| |
|
|
|
|
|
| |
APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both
returning an int, or -1 for errors.
|
| |
|
|
|
|
| |
Add some helpers for supporting PyUNIT-based unit testing.
|
| |
|
|
|
|
|
|
| |
Patch to make "\" in a character group work properly.
This closes SF bug #409651.
|
| |
|
|
|
|
|
| |
- global stmt in class does not affect free vars in methods
- locals() works with free and cell vars
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes bug #231439.
|
| |
|
| |
|
|
|
|
| |
Report the addition of the Tix module.
|
|
|
|
|
| |
by requiring it. Also remove commentary from Setup.dist about commenting
in and out stuff.
|
| |
|
|
|
|
| |
and Setup.
|
| |
|
| |
|
| |
|
|
|
|
| |
supported under Carbon.
|
|
|
|
| |
under Carbon.
|
|
|
|
|
|
| |
and note that it fails when the TZ environment variable is not set.
This closes SF bug #409683.
|
| |
|
|
|
|
| |
support.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Importing it typically fails anyway (no TZ variable defined), so this
is no great loss.
|
|
|
|
|
| |
to check for them (instead of calling them and then ignoring an
IOError)
|
|
|
|
| |
* Not sending content-type and content-length twice
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
SF bugs 409230 and 407800
Also remove bogus list comp code from symtable_assign().
|
|
|
|
|
| |
on the current machine. Wise doesn't seem to know this itself, and it
varies across Windows flavors.
|
|
|
|
|
| |
(Excluding the logging stuff, which doesn't lend itself to use via
"from cgi import *" -- it manipulates globals.)
|
| |
|