Jack Jansen
b19444feca
Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is now standard (appearance, interned strings)
2002-04-11 20:48:25 +00:00
Jack Jansen
101de912d3
Replace sprintf() with PyOS_snprintf().
2001-12-05 23:27:58 +00:00
Jack Jansen
80c85d80c4
MacPython -vv equivalent printed incorrect filenames, fixed. Also
...
removed some outdated code.
2001-11-05 14:36:32 +00:00
Jack Jansen
b760923b20
Got rid of 68k-Mac and other outdated ifdefs.
2001-08-07 15:30:23 +00:00
Just van Rossum
0297dca941
Fixed bug that prevented shared libs that are submodules of a
...
package to be loaded from a PYD resource.
2001-06-26 06:54:33 +00:00
Jack Jansen
b45032e629
Fixed a nasty slowdown in imports in frozen applications: the shortcut
...
for loading modules from the application resource fork stopped working
when sys.path component normalization was implemented. Comparison
of sys.path components is now done by FSSpec in stead of by pathname.
2001-05-22 14:13:02 +00:00
Jack Jansen
add8b246f6
Release a PYC resource after reading it. No need to keep it incore.
2001-02-21 15:48:19 +00:00
Jack Jansen
9ae898b415
ANSIfication step 2: make sure all needed prototypes are available, and all needed
...
header files included.
2000-07-11 21:16:03 +00:00
Jack Jansen
fe38d2998f
PyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility.
2000-07-03 23:53:40 +00:00
Jack Jansen
2d1306b7cf
Started on GUSI2 and threading support.
2000-04-07 09:10:49 +00:00
Jack Jansen
deff89c8be
Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.
1998-10-12 20:53:15 +00:00
Jack Jansen
48a9c3634b
Mods by Just to allow aliases in sys.path entries
1998-09-07 11:36:17 +00:00
Jack Jansen
b93f52158b
Support for freezing packages (Just).
1998-08-18 12:23:11 +00:00
Jack Jansen
017e0ff1a0
The PYD resource should now contain 2 strings: one for the ppc
...
fragment name and one for the cfm68k fragment name (Just).
Also, some unused variables removed.
1998-07-31 09:34:47 +00:00
Jack Jansen
1e2260fcb4
All import-related code has moved to macimport.c.
...
There's also new support for importing code fragments: if a file on
sys.path contains a PYD resource with resourcename equal to the name
of the module to be imported this PYD resource should contain a
(pascal) string with the name of a code fragment to load. This allows
freezing Python programs without access to source or a development
environment.
1998-07-13 13:37:12 +00:00