summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* datetime escapes the sandbox. The Windows build is all set. I leave itTim Peters2002-12-168-1/+7456
| | | | | to others to argue about how to build it on other platforms (on Windows it's in its own DLL).
* Fixed bugGustavo Niemeyer2002-12-163-4/+36
| | | | | | | | | | | | | | | | | [#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.
* Use "dictionary literals" instead of "dictionaries", as suggested by Just.Gustavo Niemeyer2002-12-161-3/+3
|
* Fixing bugGustavo Niemeyer2002-12-164-4/+26
| | | | | | | | | | | | | | | | | | [#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.
* Got rid of old (non-carbon-ppc and even cfm68k) file extensions forJack Jansen2002-12-161-8/+0
| | | | extension modules.
* Applying patchGustavo Niemeyer2002-12-163-7/+15
| | | | | | | | | | | | | | | | | | | | | [#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.
* M EditorWindow.pyKurt B. Kaiser2002-12-162-5/+8
| | | | | | | | | | 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
* Rewrite to produce a complete sentenceAndrew M. Kuchling2002-12-151-6/+6
|
* Combined alias and file into a single module. This is the only reasonableJack Jansen2002-12-156-1470/+1742
| | | | | | | 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.
* Fixed potential crash: v can be NULL here, so use Py_XDECREF rather than ↵Just van Rossum2002-12-151-1/+1
| | | | Py_DECREF
* typo fix.Just van Rossum2002-12-151-1/+1
|
* Added missing markup.Raymond Hettinger2002-12-141-6/+9
| | | | | Replaced British spelling of 'behaviour' with 'behavior'. Noted the new optional argument in math.log(x [,base]).
* Apply SF patch 652930: Add optional base argument to math.log(x[, base]).Raymond Hettinger2002-12-144-17/+54
|
* Punctuation fix.Raymond Hettinger2002-12-141-2/+2
|
* M Debugger.pyKurt B. Kaiser2002-12-143-77/+75
| | | | | | | | | | | | | | | | | | | | | | | 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
* Got rid of outdated defines.Jack Jansen2002-12-141-12/+0
|
* Removed errors.rsrc: this is loaded dynamically from :Mac:Lib when needed.Jack Jansen2002-12-142-0/+0
|
* Removed: this is loaded dynamically from :Mac:Lib when needed.Jack Jansen2002-12-141-0/+0
|
* Got rid of EasyDialogs dialogs, which are now in :Mac:Lib:dialogs.rsrc.Jack Jansen2002-12-131-0/+0
|
* Got rid of interpreter-internal dialogs.Jack Jansen2002-12-131-0/+0
| | | | Tweaked GetArgv() dialog to look better on OSX.
* Got rid of non-carbon stuff, and added new Alias, File and Folder modules.Jack Jansen2002-12-132-112/+31
|
* Tweaked button sizes and hid unused items.Jack Jansen2002-12-131-0/+0
|
* Sigh: the Jaguar workaround for the prefs file broke saving it on OS9. ↵Jack Jansen2002-12-131-2/+5
| | | | Temporary workaround is to ignore the exception (it's only about file creator/type anyway).
* Tweaked some button sizes to make them look better on OSX.Jack Jansen2002-12-131-3/+3
|
* Tweaks to make this module OS9-compatible.Jack Jansen2002-12-133-13/+31
|
* More pre-carbon stuff bites the dust.Jack Jansen2002-12-138-764/+0
|
* Removed: not carbon-compatible.Jack Jansen2002-12-132-1155/+0
|
* execve(), spawnve(): add some extra sanity checking to env;Guido van Rossum2002-12-131-18/+50
| | | | | | | | | 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.
* Tighten the tests for assignment to __bases__: disallow empty tuple.Guido van Rossum2002-12-132-0/+14
|
* The speech manager interface is no longer supported and a replacement isJack Jansen2002-12-133-1463/+0
| | | | (unfortunately: especially the grail demo was hiarious) still missing.
* Added missing casts.Jack Jansen2002-12-132-4/+4
|
* We need macglue on MacPython-OS9 too.Jack Jansen2002-12-131-1/+1
|
* Outdated.Jack Jansen2002-12-134-117/+0
|
* Got rid of unused Compat files.Jack Jansen2002-12-133-0/+0
|
* another wrong assumption fixedJust van Rossum2002-12-131-3/+2
|
* Still used the old config file. Fixed.Jack Jansen2002-12-131-0/+0
|
* Compatibility files that haven't been used in a long time.Jack Jansen2002-12-1312-582/+0
|
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-1310-78/+6
| | | | outdated things.
* Get rid of 2.2 "poor mans universal newlines" now that the real thingJack Jansen2002-12-131-19/+0
| | | | is implemented.
* It was an old MacPython artefact that these files were still in the sourceJack Jansen2002-12-1322-4128/+0
| | | | | tree. Removed them, anyone really desparate to recover them can get them from the CVS repository.
* Tkinter isn't supported under Carbon. Under MacOSX native it is, butJack Jansen2002-12-133-975/+0
| | | | that version doesn't need these workarounds.
* Very outdated: this is a 68K support file.Jack Jansen2002-12-131-290/+0
|
* Add Tkinter threading changeAndrew M. Kuchling2002-12-131-3/+17
| | | | | Fix markup errors Rewrite a sentence
* and now the real fix...Just van Rossum2002-12-131-5/+2
|
* fixed bool browsing bug, sf bug #652591Just van Rossum2002-12-131-0/+1
|
* Prevent debugger from stepping into Idle rpc codeChui Tey2002-12-121-5/+17
|
* Patch #536661: Improve performance of splitext. Add test_macpath.Martin v. Löwis2002-12-126-42/+95
|
* Patch #629126: Detect BLT by also looking for libBLT.Martin v. Löwis2002-12-121-0/+4
|
* Patch #650653: Raise always value error if the table is not 256 bytes long.Martin v. Löwis2002-12-122-6/+8
|
* Description of description was really confusing, and added some markup.Thomas Heller2002-12-121-10/+10
|