- 23 Mar, 2001 40 commits
-
-
Barry Warsaw authored
Change 1: Not all 'modules' in sys.modules have a sensible __file__ attribute. Some of our java package can have the __file__ attribute set to None. Change 2: In jython we have the jython license file in <root> and the CPython license file in <root>/Lib. By reversing the search sequence jython will find and show the jython license file before the CPython file. Closes SF patch #405853.
-
Fred Drake authored
This closes SF bug #406191.
-
Fred Drake authored
-
Barry Warsaw authored
attribute. Jython does not have this function. Closes SF patch #403667.
-
Fred Drake authored
-
Andrew M. Kuchling authored
after each newline, instead of just blindly inserting a space at the start of each line. (Improvement suggested by Thomas Wouters)
-
Jeremy Hylton authored
Add new opcodes LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF, MAKE_CLOSURE to docs for dis module. Add docs for new function and code members in Sec. 3 of ref manual. They're present regardless of whether nested scopes are used. Remove description of default argument hack from Sec. 7 of the ref manual and refer the reader to the appendix.
-
Fred Drake authored
-
Fred Drake authored
(minidom in particular); it was using PyDOM which is now obsolete. Only write the output file on success -- this avoids updating the timestamp on the file on failure, which confuses "make".
-
Barry Warsaw authored
comparison should be done with != instead of "is not".
-
Fred Drake authored
(broken) version. Remove Conversion.err_write() -- use dbgmsg() consistently.
-
Fred Drake authored
statement".
-
Fred Drake authored
implements a SAX XMLReader interface instead of the old Builder interface used with PyDOM (now obsolete). This only depends on the standard library, not PyXML.
-
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.
-