summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/aetools.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-4/+4
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-2/+2
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Get rid of a bunch more has_key() uses. We *really* need a tool for this.Neal Norwitz2006-08-201-12/+12
| | | | test_aepack now passes. IDLE still needs to be converted (among others).
* Get rid of most of the flags (in tp_flags) that keep track of variousGuido van Rossum2006-07-271-1/+1
| | | | | | variations of the type struct and its attachments. In Py3k, all type structs have to have all fields -- no binary backwards compatibility. Had to change the complex object to a new-style number!
* Remove another use of as as a keywordNeal Norwitz2006-03-221-5/+5
|
* Get rid of a bunch more raw_input referencesNeal Norwitz2006-03-171-0/+5
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-21/+21
|
* Give default _elemdict and _propdict attributes to OSA classes, soJack Jansen2003-06-181-4/+6
| | | | | | | we don't get infinite recursion for suites that don't have an application class. Also got rid of some tabs.
* - Allow access to poperties of the "application" OSA class directly fromJack Jansen2003-06-131-1/+13
| | | | | | | | | | the toplevel package. This already worked for elements, but now for properties too. Fixes #753925. - Even better, the toplevel class (such as Finder.Finder) now inherits the element and property dictionaries of its application class and has the necessary glue to allow you to say f = Finder.Finder() f.get(f.name)
* Detabbed.Jack Jansen2003-04-091-267/+267
|
* Sigh... The get() and set() commands are not declared in the aete forJack Jansen2003-04-011-9/+18
| | | | | | the Standard_Suite, but various other suites do expect it (the Finder implements get() without declaring it itself). It is probably another case of OSA magic. Adding them to the global base class.
* In TalkTo.send(), check that we have access to the window manager,Jack Jansen2003-03-311-1/+13
| | | | | and initialize the event loop (if not done previously) to work around a bug (IMHO) in MacOSX 10.2.
* On OSX the finder will return from an open() event before the applicationJack Jansen2003-03-281-0/+12
| | | | | has actually entered its event loop. As a stopgap, allow for a 10 second grace period.
* Two ancient and obscure bugs found and fixed by Donovan Preston (theseJack Jansen2003-03-051-2/+2
| | | | | | | | | could be responsible for various unexplained problems with Python/OSA interaction over the years): - Enum values were passed as their string counterparts. Most applications don't seem to mind this, but some do (InDesign). - Attributes have never worked (!), as they were incorrectly passed as parameters. Apparently nobody uses them much:-)
* use bare raise so you get the original tbJust van Rossum2003-02-261-1/+1
|
* Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used bothJack Jansen2002-12-301-0/+313
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).