| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.)
|
| |
|
| |
|
|
|
|
| |
closes bug #406642
|
| |
|
| |
|
|
|
|
| |
from the last failure report.
|
|
|
|
| |
the re package rather than the obsolete regex.
|
|
|
|
|
|
| |
http://sourceforge.net/tracker/?func=detail&aid=409448&group_id=5470&atid=105470
Now less braindead. Also added test_complex.py, which doesn't test much, but
fails without this patch.
|
|
|
|
|
| |
specified on the command-line or in setup.cfg. The option processing
leaves them as strings, but they're supposed to be lists.
|
| |
|
|
|
|
|
| |
/usr/local first and leaving /usr/include at the end. This addresses
the comments in bug #232609.
|
|
|
|
|
|
|
| |
http://sourceforge.net/tracker/?func=detail&aid=233200&group_id=5470&atid=105470
Wrapped the fread/fwrite calls in thread BEGIN_ALLOW/END_ALLOW brackets
Afraid I hit the "delete trailing whitespace key" too! Only two "real" sections
of code changed here.
|
|
|
|
|
|
|
| |
before this get forgotten again.
Should probably be set to 1.0.2 before final release of python 2.1
Does someone still release distutils separate from python?
|
|
|
|
|
|
|
|
|
|
|
|
| |
has been changed to include an uninstaller.
I forgot to mention in the uninstaller checkin that the logfile
name (used for uninstalling) has been changed from
<module>.log to <module>-wininst.log. This should prevent
conflicts with a distutils logfile serving the same purpose.
The short form of the --bdist-dir (-d) option has been removed
because it caused conflicts with the short form of the --dist-dir
option.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
for backward compatibility.
Add support for SGML declaration syntax (<!....>) to some reasonable
degree. This does not support everything allowed in SGML, but should
work with "real" HTML (internal subset in a DOCTYPE is not handled).
The content of the declaration is passed to the .handle_decl() method,
which can be overridden by subclasses.
|
|
|
|
|
|
| |
different enough to actually require an explanation. ;-)
Fix a couple of PyDictObject* types that should be PyObject* types.
|
|
|
|
|
| |
Cygwin Python to startup correctly when in ntsec mode. Cygwin operating in
this mode is probably not the only system with this requirement.
|
| |
|
| |
|
|
|
|
| |
Added kLocalDomain and friends.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Don't do sys.prefix==os.getcwd() check unless we're an applet.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
good doc strings.)
Fix silly argument handling; was using *args but really wanted 1
optional arg.
XXX Should profile.doc be merged into the documentation and removed
from the Lib directory?
|
|
|
|
|
|
|
| |
can be called from a start tag handler. When the corresponding end
tag is read the flag is cleared. However, it didn't get cleared when
the start tag was for an empty element of the type <tag .../>. This
modification fixes the problem.
|
| |
|
| |
|
|
|
|
| |
trashed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- addition of a DocumentFragment implementation and createDocumentFragment method
- proper setting of ownerDocument for all nodes
- setting of namespaceURI to None in Element as a class attribute
- addition of setAttributeNodeNS and removeAttributeNodeNS as aliases
for setAttributeNode and removeAttributeNode
- support for inheriting from DOMImplementation to extend it with
additional features (to override the Document class)
in pulldom:
- support for nodes (comment and PI) that occur before he document element;
that became necessary as pulldom now delays creation of the document
until it has the document element.
|
| |
|
|
|
|
| |
cause the free variables to leak.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with free variables. Thanks to Martin v. Loewis for finding two of
the problems. This fixes SF buf 405583.
There is also a C API change: PyFrame_New() is reverting to its
pre-2.1 signature. The change introduced by nested scopes was a
mistake. XXX Is this okay between beta releases?
cell_clear(), the GC helper, must decref its reference to break
cycles.
frame_dealloc() must dealloc all cell vars and free vars in addition
to locals.
eval_code2() setup code must INCREF cells it copies out of the
closure.
The STORE_DEREF opcode implementation must DECREF the object it passes
to PyCell_Set().
|