Commit Graph

2036 Commits

Author SHA1 Message Date
Jack Jansen f93c72a4b0 New routines:
macstrerror - strerror which uses 'Estr' resource to convert numerical
	MacOS errors to strings.
PyErr_Mac - Raise exception with MacOS error in string form.
PyMac_Idle - better idle-loop routine, which allows the user to
	switch applications.
1994-12-14 14:07:50 +00:00
Jack Jansen 34e7cae663 Unix functionality expected by python but missing from CodeWarrior
runtime system.
1994-12-14 14:04:55 +00:00
Jack Jansen 97ce361c2c - Use PyErr_Mac for nicer exceptions
- Added methods AsString() and AsBytes() to resource objects, so you
  can get at the contents of resource items.
- Ported to CodeWarrior (mainly ProcPtr/UniversalProcPtr stuff)
1994-12-14 14:02:24 +00:00
Jack Jansen 0c097eab57 Ported to MetroWerks, which misses file-descriptor like functionality. 1994-12-14 13:48:38 +00:00
Jack Jansen bac428d2e0 Enlarged version buffer (nobody expects the spanish inquisition:-)
Support for new sys.path code in config.c
1994-12-14 13:47:30 +00:00
Jack Jansen c5b26f4a05 - PYTHONPATH is now \n-separated, so you can have directories with
spaces in the name.
- If you run python with a script the working directory is now the
  directory where the script lives (was: directory where python
  application lives). sys.path will include current dir, application
  dir and Lib, etc. relative to application dir. This is more like
  unix python does things and more useful besides (since you can
  easily import files living in the same directory as the importer).
- Added the macconsole, ctb, macspeech, macdnr and mactcp modules.
- For MW compiler, put 68K/PPC indication in version string.
1994-12-14 13:45:11 +00:00
Jack Jansen fea75336aa Added support for MetroWerks CodeWarrior compiler 1994-12-14 13:38:13 +00:00
Jack Jansen edf585579c Interface to MacTCP and the MacTCP Domain Name Resolver 1994-12-14 13:36:34 +00:00
Jack Jansen 114ca5c170 - Added Version method
- Now gives new mac exceptions
- Ported to PowerPC Mac and CodeWarrior
1994-12-14 13:34:35 +00:00
Jack Jansen ee735be06a Interface to Mac Communications Toolbox (only Connection Manager for
now)
1994-12-14 13:31:11 +00:00
Jack Jansen 115590d22f This file (which is Guido's) was somehow missing... 1994-12-14 13:07:43 +00:00
Jack Jansen 0d7cba86a6 New standard modules for the mac. 1994-12-14 13:06:25 +00:00
Jack Jansen 599f0d1c2c - Added ability to get at strings embedded in the struct
- For the mac, added ability to get at pascal-style strings
1994-12-14 13:04:05 +00:00
Jack Jansen e00637bdcf Removed extraneous fclose() in case of .pyc file argument 1994-12-14 12:58:37 +00:00
Jack Jansen 234fd7e4bb Use \n as PYTHONPATH delimiter on Mac (less likely to occur in
filenames than space).
1994-12-14 12:57:12 +00:00
Jack Jansen 44fff3cfb5 Added missing initialization 1994-12-14 12:55:17 +00:00
Jack Jansen 8fd2d94e37 Added hook for better mac error messages. 1994-12-14 12:54:54 +00:00
Barry Warsaw 7ae7768890 Initial revision 1994-12-12 20:38:05 +00:00
Barry Warsaw 52c8b26454 Use /depot/gnu/plat/bin/perl 1994-12-05 23:30:59 +00:00
cvs2svn 7c7fa46d20 This commit was manufactured by cvs2svn to create tag 'release111'. 1994-11-10 23:06:54 +00:00
Guido van Rossum 5dee5e7dc0 bugfix release 1994-11-10 23:06:54 +00:00
Guido van Rossum 635649f90f next release 1994-11-10 23:04:51 +00:00
Guido van Rossum cfb45e476e typos 1994-11-10 23:04:43 +00:00
Guido van Rossum 9351fdb011 misc stuff 1994-11-10 23:03:51 +00:00
Guido van Rossum d57021eaeb workshop attendees etc 1994-11-10 23:02:22 +00:00
Guido van Rossum a67bb7ea98 python-mode-hook instead of py-mode-hook 1994-11-10 23:01:59 +00:00
Guido van Rossum f34cadda28 added timer and file callbacks and global mainloop and quit fns 1994-11-10 22:50:21 +00:00
Guido van Rossum 5e8e8327f8 don't use backslashes for continuation lines 1994-11-10 22:49:52 +00:00
Guido van Rossum 132f5c2d77 don't fail moving empty list of shared modules 1994-11-10 22:44:15 +00:00
Guido van Rossum 69d9eb9f56 replace abort() calls by fatal() 1994-11-10 22:41:15 +00:00
Guido van Rossum 363ac7d5b6 set name to <lambda> instead of None for lambdas 1994-11-10 22:40:34 +00:00
Guido van Rossum 13d0ed13c3 prevent core dump for old getargs() with NULL arg 1994-11-10 22:35:48 +00:00
Guido van Rossum c054a663eb call err_clear in err_setval 1994-11-10 22:34:33 +00:00
Guido van Rossum 030ae17582 fix pow() core dump 1994-11-10 22:33:19 +00:00
Guido van Rossum bb3c5f7406 fix comparison of instances without _-cmp__ 1994-11-10 22:31:02 +00:00
Guido van Rossum f483846386 pl1.1.1; added newgetargs renaming 1994-11-10 22:29:04 +00:00
Guido van Rossum a558e37eb4 improved prompt format 1994-11-10 22:27:35 +00:00
Guido van Rossum e23b62f288 more complete tests of built-in functions 1994-11-10 22:25:26 +00:00
Sjoerd Mullender 40272f812b Removed erroneous +.
(Patched manually since configure.in not yet ported to autoconf 2.0.)
1994-11-03 13:46:57 +00:00
Sjoerd Mullender 47f7c71549 Removed erroneous +. 1994-11-03 13:45:40 +00:00
Guido van Rossum 8eee56f0ae the usual 1994-10-20 22:18:37 +00:00
Guido van Rossum 9444ce0b41 the usual 1994-10-20 22:10:23 +00:00
Guido van Rossum 2bcafeb645 test for presence of stddef.h
separate arg requirements for getpgrp() and setpgrp()
1994-10-20 22:06:56 +00:00
Guido van Rossum 904127924e run sharedinstall; add BINDIR macros etc 1994-10-20 22:04:30 +00:00
Guido van Rossum 5ebc0cad57 include stddef.h 1994-10-20 22:03:08 +00:00
Guido van Rossum 780044f27a added option interface 1994-10-20 22:02:27 +00:00
Guido van Rossum 971dc53f0e fix bug in poly.minus 1994-10-20 22:02:03 +00:00
Guido van Rossum 05bf280d47 clarifications 1994-10-20 22:01:38 +00:00
Guido van Rossum e6757c2cd4 don't assum '.' is in PATH 1994-10-20 22:01:07 +00:00
Guido van Rossum 411a8bd799 add hypot() 1994-10-20 22:00:28 +00:00