- 23 Mar, 2001 36 commits
-
-
Fred Drake authored
-
Fred Drake authored
this file was written!
-
Fred Drake authored
Correct the comment at the top of the file.
-
Fred Drake authored
-
Fred Drake authored
the rest of the documentation.
-
Barry Warsaw authored
#403666. Specifically, In codestr, force `c' to be global. It's unclear what the semantics should be for a code object compiled at module scope, but bound and run in a function. In CPython, `c' is global (by accident?) while in Jython, `c' is local. The intent of the test clearly is to make `c' global, so let's be explicit about it. Jython also does not have a __builtins__ name in the module's namespace, so we use a more portable alternative (though I'm not sure why the test requires "__builtins__" in the g namespace). Finally, skip the new.code() test if the new module doesn't have a `code' attribute. Jython will never have this.
-
Jeremy Hylton authored
remove debugging code in if __debug__: add get_children() method on SymbolTable
-
Ka-Ping Yee authored
sys.exitfunc gets the last word on the exit status of the program.
-
Ka-Ping Yee authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Ka-Ping Yee authored
-
Jeremy Hylton authored
-
Ka-Ping Yee authored
Show methods aliased into a class from other classes.
-
Jeremy Hylton authored
docs were introduced. This loses a few small changes, but Fred says that's okay.
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
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 authored
-
Tim Peters authored
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
-
Fred Drake authored
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 authored
-
Fred Drake authored
references on function objects and both bound and unbound methods.
-
Fred Drake authored
tests a little noisier, providing more progress information.
-
Fred Drake authored
-
Fred Drake authored
method types.
-
Guido van Rossum authored
inside a piece of code that was deemed reduntant; the DECREF was unfortunately *not* redundant!)
-
Andrew M. Kuchling authored
Mention the new ports
-
Tim Peters authored
-
Andrew M. Kuchling authored
Add PyUnit and sys.excepthook
-
Ka-Ping Yee authored
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 authored
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 4 commits
-
-
Fredrik Lundh authored
machines...
-
Jeremy Hylton authored
-
Fredrik Lundh authored
-
Jeremy Hylton authored
-