- 16 Dec, 2002 6 commits
-
-
Gustavo Niemeyer authored
[#521782] unreliable file.read() error handling * Objects/fileobject.c (file_read): Clear errors before leaving the loop in all situations, and also check if some data was read before exiting the loop with an EWOULDBLOCK exception. * Doc/lib/libstdtypes.tex * Objects/fileobject.c Document that sometimes a read() operation can return less data than what the user asked, if running in non-blocking mode. * Misc/NEWS Document the fix.
-
Gustavo Niemeyer authored
-
Gustavo Niemeyer authored
[#448679] Left to right * Python/compile.c (com_dictmaker): Reordered evaluation of dictionaries to follow strict LTR evaluation. * Lib/compiler/pycodegen.py (CodeGenerator.visitDict): Reordered evaluation of dictionaries to follow strict LTR evaluation. * Doc/ref/ref5.tex Documented the general LTR evaluation order idea. * Misc/NEWS Documented change in evaluation order of dictionaries.
-
Jack Jansen authored
extension modules.
-
Gustavo Niemeyer authored
[#636769] Fix for major rexec bugs * Lib/rexec.py (FileBase): Added 'xreadlines' and '__iter__' to allowed file methods. (FileWrapper.__init__): Removed unnecessary self.f variable, which gave direct access to the file object. (RExec): Added 'xreadlines' and '_weakref' to allowed modules. (RExec.r_open): Convert string subclasses to a real string classes before doing comparisons with mode parameter. * Lib/ihooks.py (BasicModuleImporter.import_module/reload/unload): Convert the module name to a real string before working with it. (ModuleImporter.import_module/import_it/reload): Convert the module name to a real strings before working with it. * Misc/NEWS Document the change.
-
Kurt B. Kaiser authored
M PyShell.py Idlefork SF Bug 440383 - IDLE goes into beep loop Fix loop in EditorWindow.newline_and_indent_event() and in addition fix submission of >>> prompt to PyParse.Parser Eliminate extra attribute EditorWindow.auto_indent
-
- 15 Dec, 2002 4 commits
-
-
Andrew M. Kuchling authored
-
Jack Jansen authored
way to get various alias creation routines as methods of FSSpec or FSRef objects (which is the logical thing, from a Python POV). Also started on the code that will contain all the macfs functionality, so macfs can becode a Python module, to be used mainly for backward compatibility.
-
Just van Rossum authored
-
Just van Rossum authored
-
- 14 Dec, 2002 7 commits
-
-
Raymond Hettinger authored
Replaced British spelling of 'behaviour' with 'behavior'. Noted the new optional argument in math.log(x [,base]).
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Kurt B. Kaiser authored
M IOBinding.py M PyShell.py * Could not remove last set of saved breakpoints from a file * Starting with empty edit window, could not load a file * Multiple adjacent breakpoints were saved as one breakpoint * Storing breakpoints whenever a file is closed can get them out of synch with the saved version of a file. Only store them when the file is saved. * Add comment on current limitations on file editing in the presence of breakpoints. * Replace get_current_breaks() with update_breakpoints(), add an update to PyShellEditorWindow.breakpoints, which is the master breakpoint data structure, and which is used to reload the subprocess debugger. * Revert Debugger.Debugger.load_breakpoints() to use editwin.breakpoints. It is easier to debug the debugger if the breakpoint list in IDLE is identical to the list in the subprocess debugger and is transferred when the subprocess debugger is restarted, because this list can be easily queried. * Cleanup some linespacing and comments in IOBinding.py
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
- 13 Dec, 2002 23 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
Tweaked GetArgv() dialog to look better on OSX.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
Sigh: the Jaguar workaround for the prefs file broke saving it on OS9. Temporary workaround is to ignore the exception (it's only about file creator/type anyway).
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
PyMapping_Check() doesn't guarantee that PyMapping_Size() won't raise an exception, nor that keys and values are lists. Also folded some long lines and did a little whitespace normalization. Probably a 2.2 backport candidate.
-
Guido van Rossum authored
-
Jack Jansen authored
(unfortunately: especially the grail demo was hiarious) still missing.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Just van Rossum authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
outdated things.
-
Jack Jansen authored
is implemented.
-
Jack Jansen authored
tree. Removed them, anyone really desparate to recover them can get them from the CVS repository.
-
Jack Jansen authored
that version doesn't need these workarounds.
-