Commit Graph

4057 Commits

Author SHA1 Message Date
Guido van Rossum fe58e3e22c regen for Next 1996-08-16 18:14:41 +00:00
Guido van Rossum 7ffa7617c7 Changes for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc.
- Use ckalloc(), ckfree() everywhere.
- Default FREECAST to (char *).
- Added comment with Tcl/Tk version info.
1996-08-13 21:10:16 +00:00
Guido van Rossum dcc057a793 Added routines to print, format and extract the current, ``live'' stack.
Also added print_list() and format_list() which format the output from
an extract_*() routine.
1996-08-12 23:18:13 +00:00
Guido van Rossum 0dfcf753ad Disable support for access statement 1996-08-12 22:00:53 +00:00
Guido van Rossum aacdc9da75 Define reference count admin debug functions to return void. 1996-08-12 21:32:12 +00:00
Guido van Rossum d86b38003d Added extern declarations for reference count admin debug functions. 1996-08-12 21:31:32 +00:00
Barry Warsaw f67a57efc4 (py-no-outdent-re): Added return, break, raise, continue since we
already outdent for those statements.
1996-08-12 19:52:27 +00:00
Guido van Rossum 8b004d36ed Renamed to pyerrors.h 1996-08-09 23:15:18 +00:00
Guido van Rossum 29901ff528 Some improvements by Fred Drake. 1996-08-09 21:46:34 +00:00
Guido van Rossum eb8d5032b4 Separate .dvi and .ps targets.
More rational destination for texi2html.py.
1996-08-09 21:46:05 +00:00
Guido van Rossum e5e55d784d Added capitalize, capwords, lstrip, rstrip, and optional 3rd argument
to split.  Document new conventions for split(fields) and
join(fields), where the *fields variant is identical to the other.
1996-08-09 21:44:51 +00:00
Guido van Rossum 0b3f9512ac Added capwords, splitx, and optional 3rd argument to split/splitx. 1996-08-09 21:43:21 +00:00
Guido van Rossum 7a7d5d8fcf Use splitx() in capwords() (bugfix after interface change for split()).
Give capwords a default pattern argument which will recognize words as
sequeces of [a-zA-Z0-9_].
1996-08-09 21:32:29 +00:00
Guido van Rossum 12f0cc325a Suggest using default values for __init__ arguments to make classes
unpicklable.
1996-08-09 21:23:47 +00:00
Guido van Rossum 4a5b27b525 Get rid of parrot dropping (spurious 'E') 1996-08-09 21:23:14 +00:00
Guido van Rossum 267e80d4d4 Added doco for abstract interface 1996-08-09 21:01:07 +00:00
Guido van Rossum 22277c860f Added footnote about lamda bodies being the same as function bodies. 1996-08-09 21:00:19 +00:00
Guido van Rossum 45687bb976 Add warning about exceptions in __del__ being ignored. 1996-08-09 20:59:25 +00:00
Guido van Rossum 0bbf253e97 Insert "./" in front of pathname when it contains no '/' (if USE_SHLIB) 1996-08-09 20:55:05 +00:00
Guido van Rossum 2878a69922 Optimizations by Sjoerd:
- define tp_getattro, tp_setattro
- use precreated string objects for most common exceptions and method names
1996-08-09 20:53:24 +00:00
Guido van Rossum d8eb1b340f Support for tp_getattro, tp_setattro (Sjoerd) 1996-08-09 20:52:03 +00:00
Guido van Rossum 929f1b83ea Use pre-created string objects for most common exceptions
(especially IndexError which is caught by 'for')
1996-08-09 20:51:27 +00:00
Guido van Rossum 86c04c252b Correct wrong calculation of pow(0.0, 0.0, negative_number) 1996-08-09 20:50:14 +00:00
Guido van Rossum 0693dd232e Added tp_getattro, tp_setattro (Sjoerd) 1996-08-09 20:48:52 +00:00
Guido van Rossum 9dc7833988 New AIX-NOTES 1996-08-09 14:38:40 +00:00
Guido van Rossum 36eb6c7331 New AIX-NOTES 1996-08-09 14:38:22 +00:00
Guido van Rossum abfd8064d8 This is the third time I check in this change :-(
Don't use assignments into inst.__dict__ to restore instance
variables; use setattr() instead.
1996-08-08 20:26:45 +00:00
Guido van Rossum 99d90c0d0e Include "mymath.h" instead of manually declaring math functions. 1996-08-08 19:17:45 +00:00
Guido van Rossum 7999a5c525 Added lstrip() and rstrip().
Extended split() (and hence splitfields(), which is the same function)
to support an optional third parameter giving the maximum number of
delimiters to parse.
1996-08-08 19:16:15 +00:00
Guido van Rossum 339cfa39d8 Need config.h (for Win etc.) 1996-08-08 19:12:37 +00:00
Guido van Rossum ec185bde77 Added hack to get it to compile on AIX. 1996-08-08 19:12:05 +00:00
Guido van Rossum 8a170cbed6 Rearrange include headers (needed on some platforms). 1996-08-08 19:11:41 +00:00
Guido van Rossum 6412b1de5d Hack for Mac (where fabs is not usable as a function pointer). 1996-08-08 19:10:21 +00:00
Guido van Rossum 97867b2ce2 Add optional casts to free() calls. (Jack)
Set Tk variable argv0 to classname passed in to Tkapp_New.  (Fred)
1996-08-08 19:09:53 +00:00
Guido van Rossum 82df03e35f Rationalized instructions for _tkinter.c 1996-08-08 19:08:47 +00:00
Guido van Rossum 6554419e1b Also remove *.sl (AIX shared libs) in make clean. 1996-08-08 19:07:46 +00:00
Guido van Rossum 1dc19ba2ee Removed 1996-08-08 19:07:06 +00:00
Guido van Rossum a93b504a23 Latest AIX changes from Vlad 1996-08-08 19:06:31 +00:00
cvs2svn b6b43e00f8 This commit was manufactured by cvs2svn to create tag 'r14beta2'. 1996-08-08 19:05:09 +00:00
Guido van Rossum b4ae6a3999 Re-install aix files (what happened?) 1996-08-08 19:05:09 +00:00
Guido van Rossum 3bedce0185 removed old file 1996-08-08 18:58:45 +00:00
Guido van Rossum 1a62311cfb Changes necessary for AIX. 1996-08-08 18:53:41 +00:00
Guido van Rossum 1741d60725 Added casts from unsigned char to char when calling rds_object() on
frozen code.
1996-08-08 18:52:59 +00:00
Guido van Rossum 15cc9a0a76 Removed unused var; added error check for ``lambda: x=1''. 1996-08-08 18:51:04 +00:00
Guido van Rossum fe4b6ee775 Include mymath.h instead of declaring prototypes for math functions.
Fix leak and unchecked error in complex().
1996-08-08 18:49:41 +00:00
Guido van Rossum 1d60614d42 Correctly use Py_PROTO, not obsolete PROTO. 1996-08-08 18:44:36 +00:00
Guido van Rossum 6f90e9862e Renamed errors. -> pyerrors.h (for Mac, where Errors.h is a system header). 1996-08-08 18:43:59 +00:00
Guido van Rossum 578cedde35 Typo: PySequence_Lenth -> PySequence_Length. 1996-08-08 18:43:10 +00:00
Guido van Rossum afb5e93e77 For method=POST, append a query string from the environment or from
sys.argv[1], effectively merging the fields.
1996-08-08 18:42:12 +00:00
Guido van Rossum 306a8a6338 Add optional third parameter to split() and splitfields(), giving the
maximum number of delimiters to parse; e.g.
splitfields("a,b,c,d", ",", 2) -> ["a", "b", "c,d"].
1996-08-08 18:40:59 +00:00