- 23 Mar, 2001 24 kayıt (commit)
-
-
Ka-Ping Yee yazdı
-
Jeremy Hylton yazdı
-
Ka-Ping Yee yazdı
Show methods aliased into a class from other classes.
-
Jeremy Hylton yazdı
docs were introduced. This loses a few small changes, but Fred says that's okay.
-
Ka-Ping Yee yazdı
-
Ka-Ping Yee yazdı
Font adjustment to improve viewing in Windows (the default monospaced font, Courier New, seems to have no reasonable size in IE!) Improve error handling. Try very hard to distinguish between failure to find a module and failure during the module importing process. Improve reloading behaviour. (Still needs some work.) Add '.' to sys.path when running as a script at the command-line. Don't automatically assume '-g' based on the platform. We'll just have the batch file supply -g.
-
Fred Drake yazdı
-
Tim Peters yazdı
-
Ka-Ping Yee yazdı
-
Ka-Ping Yee yazdı
-
Ka-Ping Yee yazdı
-
Ka-Ping Yee yazdı
-
Fred Drake yazdı
createAttributeNS(), use the parallel setAttributeNode() or setAttributeNodeNS() to add the node to the document -- do not assume that setAttributeNode() will operate properly for both.
-
Fred Drake yazdı
-
Fred Drake yazdı
references on function objects and both bound and unbound methods.
-
Fred Drake yazdı
tests a little noisier, providing more progress information.
-
Fred Drake yazdı
-
Fred Drake yazdı
method types.
-
Guido van Rossum yazdı
inside a piece of code that was deemed reduntant; the DECREF was unfortunately *not* redundant!)
-
Andrew M. Kuchling yazdı
Mention the new ports
-
Tim Peters yazdı
-
Andrew M. Kuchling yazdı
Add PyUnit and sys.excepthook
-
Ka-Ping Yee yazdı
Update docstring and library reference section on 'sys' module. New API PyErr_Display, just for displaying errors, called by excepthook. Uncaught exceptions now call sys.excepthook; if that fails, we fall back to calling PyErr_Display directly. Also comes with sys.__excepthook__ and sys.__displayhook__.
-
Ka-Ping Yee yazdı
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.
-
- 22 Mar, 2001 16 kayıt (commit)
-
-
Fredrik Lundh yazdı
machines...
-
Jeremy Hylton yazdı
-
Fredrik Lundh yazdı
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
Inspired by SF patch #408597 (Walter Dörwald): quopri, soft line breaks and CRLF. (I changed (" ", "\t", "\r") into " \t\r".)
-
Guido van Rossum yazdı
This is SF patch # #409044, by Internet Discovery: "Update tcl/tk/tix versions".
-
Guido van Rossum yazdı
# 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.
-
Guido van Rossum yazdı
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().]
-
Fred Drake yazdı
must now initialize the extra field used by the weak-ref machinery to NULL themselves, to avoid having to require PyObject_INIT() to check if the type supports weak references and do it there. This causes less work to be done for all objects (the type object does not need to be consulted to check for the Py_TPFLAGS_HAVE_WEAKREFS bit).
-
Fred Drake yazdı
tracked as soon as it is clear; this can decrease the number of roots for the cycle detector sooner rather than later in applications which hold on to weak references beyond the time of the invalidation.
-
Fred Drake yazdı
instance objects without calling the constructor. This is the same as the new.instance() function.
-
Guido van Rossum yazdı
CNRI release in a corner of the basement of a government building on a planet circling Aldebaran.)
-
Guido van Rossum yazdı
instead.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
extension object. Also included an example showing exactly what needs to be done and nothing else. This closes SF bug #228591.
-