summaryrefslogtreecommitdiff
path: root/Mac/Python/macimport.c
AgeCommit message (Collapse)AuthorLines
2001-12-05Replace sprintf() with PyOS_snprintf().Jack Jansen-4/+4
2001-11-05MacPython -vv equivalent printed incorrect filenames, fixed. AlsoJack Jansen-11/+1
removed some outdated code.
2001-08-07Got rid of 68k-Mac and other outdated ifdefs.Jack Jansen-6/+0
2001-06-26Fixed bug that prevented shared libs that are submodules of aJust van Rossum-1/+1
package to be loaded from a PYD resource.
2001-05-22Fixed a nasty slowdown in imports in frozen applications: the shortcutJack Jansen-18/+32
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-02-21Release a PYC resource after reading it. No need to keep it incore.Jack Jansen-0/+2
2000-07-11ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen-0/+2
needed header files included.
2000-07-03PyMac_FindModuleExtension now uses a size_t as its size parameter for ↵Jack Jansen-1/+1
compatibility.
2000-04-07Started on GUSI2 and threading support.Jack Jansen-4/+4
1998-10-12Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen-4/+3
1998-09-07Mods by Just to allow aliases in sys.path entriesJack Jansen-0/+20
1998-08-18Support for freezing packages (Just).Jack Jansen-1/+32
1998-07-31The PYD resource should now contain 2 strings: one for the ppcJack Jansen-2/+10
fragment name and one for the cfm68k fragment name (Just). Also, some unused variables removed.
1998-07-13All import-related code has moved to macimport.c.Jack Jansen-0/+416
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.