Collin Winter
e7bf59f500
Run 2to3's print fixer over some places that had been missed.
2007-08-30 18:39:28 +00:00
Neal Norwitz
016880229a
Kill execfile(), use exec() instead
2007-08-12 00:43:29 +00:00
Martin v. Löwis
95c95ce5be
Merged revisions 56483-56491 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/p3yk
........
r56486 | kurt.kaiser | 2007-07-22 05:27:08 +0200 (So, 22 Jul 2007) | 2 lines
Fix typo introduced at r55797
........
r56487 | kurt.kaiser | 2007-07-22 07:48:45 +0200 (So, 22 Jul 2007) | 2 lines
Exception attr accessed via args in py3k.
........
r56489 | martin.v.loewis | 2007-07-22 15:32:44 +0200 (So, 22 Jul 2007) | 2 lines
Regenerate.
........
r56490 | martin.v.loewis | 2007-07-22 15:34:06 +0200 (So, 22 Jul 2007) | 2 lines
Port Mac modules to PEP 3123.
........
r56491 | martin.v.loewis | 2007-07-22 16:35:53 +0200 (So, 22 Jul 2007) | 1 line
Port to PEP 3123.
........
2007-07-22 14:41:55 +00:00
Jack Jansen
918a9e2f63
Updated (and regenerated) for name change in tp_init method arguments:
...
they are now _self, _args and _kwds.
2005-07-03 20:59:44 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Jack Jansen
da6081fccb
Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.
...
Completely untested.
2003-12-03 23:20:13 +00:00
Jack Jansen
7107c1aff3
Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
...
Cleaned up various things in the toolbox modules.
2003-11-20 13:31:00 +00:00
Jack Jansen
a53f4eba19
Getting rid of code conditional on TARGET_API_MAC_*.
2003-11-19 16:34:04 +00:00
Jack Jansen
e48cef7aba
Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:
...
MacOS9isms.
2003-11-19 16:13:35 +00:00
Jack Jansen
b734869f46
- Various tweaks to shut up compiler warnings.
...
- Regenerated with the correct calls to PyType_Ready and the correct
deallocator calls.
2002-12-23 23:16:25 +00:00
Jack Jansen
f955784f0c
Regenerated with inheritance-aware xxxx_Check() macros.
2002-12-19 21:24:35 +00:00
Jack Jansen
96cebde909
Added PEP253 support to most Carbon modules. This isn't complete yet:
...
some of the more compilcated cases (CF, Res) haven't been done yet. Also,
various types should inherit from each other (anything with an as_Resource
method should be a Resource subtype, the CF types should become one family).
2002-12-03 23:40:22 +00:00
Jack Jansen
dbd5701d73
Converted the Carbon modules to use PEP252-style objects, with
...
descriptors in stead of manual getattr hooks to get at attributes
of the objects.
For Qd I have in stead gotten rid of most of the attribute access
in favor of the carbon-style accessor methods (with the exception
of visRgn, to be done later), and of the Carbon.Qd.qd global object,
for which accessor functions are also available.
For List I have fixed the fact that various methods were incorrectly
generated as functions.
CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with
basechain, so it will have to wait for PEP253 support.
2002-11-29 23:40:48 +00:00
Jack Jansen
49931887d7
Regenerated with PyDoc_STR() around docstrings.
2002-08-16 09:09:31 +00:00
Jack Jansen
87eea88b5a
After generating the Python file with definitions try to run it, so
...
we catch errors during the build process in stead of later during runtime.
2002-08-15 21:48:16 +00:00
Jack Jansen
aaebdd6a02
Enable building of Carbon toolbox modules with unix-Python.
2002-08-05 15:39:30 +00:00
Jack Jansen
033b79c483
Regenerated.
2002-04-23 22:46:01 +00:00
Just van Rossum
dd989e1ce7
Added ClipCGContextToRegion() from Quickdraw.h.
2002-03-04 10:31:32 +00:00
Just van Rossum
38b504e9e3
Added support for SyncCGContextOriginWithPort().
2002-03-02 10:20:44 +00:00
Jack Jansen
620a7667eb
Updated to Universal Headers 3.4
2001-12-18 15:39:38 +00:00
Just van Rossum
4f6c05857f
include the proper header for Mach-O
2001-12-13 13:40:04 +00:00
Just van Rossum
79e71f73e7
second CoreGraphics batch
2001-12-13 13:17:20 +00:00