- 25 Mar, 2001 1 commit
-
-
Marc-André Lemburg authored
-
- 24 Mar, 2001 2 commits
-
-
Fred Drake authored
gives the CVS revision of this file even if it does not include the extra RCS "$Revision: " cruft. initpyexpat(): Use get_version_string() instead of hard-coding magic indexes into the RCS string (which may be affected by export options).
-
Guido van Rossum authored
better solution would have been to factor out the raw_input() call and make it into an overridable method. Oh well, maybe later...)
-
- 23 Mar, 2001 37 commits
-
-
cvs2svn authored
-
Barry Warsaw authored
used by Jython. The tests in this module expect C locale, so be explicit about setting that (for CPython). However, in Jython, there is no C locale, so instead be explicit about setting the US locale. Closes the patch.
-
Tim Peters authored
Windows start-menu item. This recovers from that.
-
Guido van Rossum authored
newreadlinesobject() in xreadlines().
-
Barry Warsaw authored
to use "$test" when in Jython. Closes SF patch #403668.
-
Guido van Rossum authored
but apparently he had to go to school, so I am checking it in for him. This makes PyRun_HandleSystemExit() a static instead, called handle_system_exit(), and let it use the current exception rather than passing in an exception. This slightly simplifies the code.
-
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.
-