| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
createAttributeNS(), use the parallel setAttributeNode() or
setAttributeNodeNS() to add the node to the document -- do not assume
that setAttributeNode() will operate properly for both.
|
|
|
|
| |
references on function objects and both bound and unbound methods.
|
|
|
|
| |
tests a little noisier, providing more progress information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Factor description of import errors into DocImportError.__str__.
Add "docother" and "fail" methods to Doc class.
Factor formatting of constants into "docother".
Increase max string repr limit to 100 characters.
Factor page generation into HTMLDoc.page.
Handle aliasing of names (objects appearing under an attribute
name different from their intrinsic __name__) by passing the
attribute name into each doc* method.
Handle methods at top level of modules (e.g. in random).
Try to do reloading efficiently.
Important fixes still to do:
Module reloading is broken by the unfortunate property that
failed imports leave an incomplete module in sys. Still
need to think of a good solution.
Can't document modules in the current directory, due to the
other unfortunate property that sys.path gets '.' when
you run 'python' but it gets the script directory when
you run a script. Need to ponder to find a solution.
The synopsis() routine does not work on .so modules.
Aliases cause duplicate copies of documentation to appear.
This is easy to fix, just more work.
Classes appear as their intrinsic name, not their attribute name,
in the class hierarchy. This should be fixed.
Inherited methods should be listed in class descriptions.
|
|
|
|
| |
machines...
|
| |
|
| |
|
|
|
|
|
| |
Inspired by SF patch #408597 (Walter Dörwald): quopri, soft line
breaks and CRLF. (I changed (" ", "\t", "\r") into " \t\r".)
|
|
|
|
|
|
|
| |
# 409287, ssl fix when using _socketobject, by Robin Dunn.
I took the opportunity to improve the way it deals with reload(socket)
for the socket function as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cmd.py uses raw_input(); eats SIGCLD:
I discovered a rather nasty side effect of the standard cmd.py
library today. If it's sitting inside raw_input(), any SIGCLDs that
get sent to your application get silently eaten and ignored. I'm
assuming that this is something that readline is thoughtfully doing
for me.
This patch adds an instance attr that allows the user to select to
not use raw_input(), but instead use sys.stdin.readline()
[Changed slightly to catch EOFError only for raw_input().]
|
|
|
|
| |
strings/patterns.
|
|
|
|
|
|
| |
- take locale into account for word boundary anchors (#410271)
- restored 2.0's *? behaviour (#233283, #408936 and others)
- speed up re.sub/re.subn
|
|
|
|
|
| |
Retrieve relevant information at construction time, as it may be lost
when the exception is printed.
|
| |
|
|
|
|
|
| |
linefeeds into carriagereturn-linefeeds (which is apparently what IRIX
does.) Also add some comments, an extra test and reorganize it a bit.
|
|
|
|
| |
changed accordingly.
|
| |
|
|
|
|
| |
with 1.5.2
|
| |
|
|
|
|
|
|
|
|
| |
along with options to print them.
Add a finalize_options() method to Distribution to do final processing
on the platform and keyword attributes
Add DistributionMetadata.write_pkg_info() method to write a PKG-INFO file
into the release tree.
|
| |
|
|
|
|
| |
like the one I just fixed to come back and haunt us.
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
line summary followed by blank line and description.
|
| |
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|