5a35e32 | Guido van Rossum | 31 March 1997, 17:18:03 UTC | Remove ConflictError, add InteractiveFlag, CObject_Type, FdIsInteractive, and thread entry points. | 31 March 1997, 17:18:03 UTC |
c6472e9 | Guido van Rossum | 31 March 1997, 17:15:43 UTC | 1. Add string conversions to int(), long(), float(). (Not to complex()!) 2. Fix two bugs in complex(): - Memory leak when using complex(classinstance) -- r was never DECREF'ed. - Conversion of the second argument, if not complex, was done using the type vector of the 1st. | 31 March 1997, 17:15:43 UTC |
dddf7a6 | Guido van Rossum | 31 March 1997, 17:13:17 UTC | Added test of complex() (that catches a bug in 1.4!). Added test that ensures that int() and long() truncate float numbers towards zero. | 31 March 1997, 17:13:17 UTC |
8d2893b | Guido van Rossum | 27 March 1997, 20:57:52 UTC | Added a list of the main undocumented extension modules. | 27 March 1997, 20:57:52 UTC |
7f3b042 | Guido van Rossum | 27 March 1997, 14:56:18 UTC | Added docs for UserDict,UserList | 27 March 1997, 14:56:18 UTC |
b6a8026 | Guido van Rossum | 25 March 1997, 22:09:18 UTC | Added docs for glob and mailcap | 25 March 1997, 22:09:18 UTC |
e6d579d | Guido van Rossum | 25 March 1997, 22:07:53 UTC | Added docs for glob | 25 March 1997, 22:07:53 UTC |
20af95b | Guido van Rossum | 25 March 1997, 22:01:35 UTC | Added docs for mailcap | 25 March 1997, 22:01:35 UTC |
bfc3944 | Guido van Rossum | 25 March 1997, 21:58:08 UTC | Change by Andrew Kuchling (edited by Guido): Removed unused import tempfile. Added some docstrings. | 25 March 1997, 21:58:08 UTC |
31ef35b | Guido van Rossum | 25 March 1997, 18:25:20 UTC | Added two new questions about number conversions. | 25 March 1997, 18:25:20 UTC |
e5a9c8f | Roger E. Masse | 25 March 1997, 17:39:56 UTC | As per GvR recomendation, added support for a 'sync' attribute for the GDBM module. | 25 March 1997, 17:39:56 UTC |
1eb9a81 | Guido van Rossum | 25 March 1997, 16:50:31 UTC | Added new functions replace() and replace1(). | 25 March 1997, 16:50:31 UTC |
c8a80cd | Guido van Rossum | 25 March 1997, 16:41:31 UTC | Added docs for replace() and replace1(). | 25 March 1997, 16:41:31 UTC |
4fc7067 | Roger E. Masse | 25 March 1997, 16:06:03 UTC | Added a 'sync' method to shelve. If the underlying database does not have a sync attribute, this method silently ignores this fact. The default (bsddb's dbhash) does. | 25 March 1997, 16:06:03 UTC |
e8e8799 | Guido van Rossum | 25 March 1997, 15:25:54 UTC | Remove untrue statement about . and .. being included in list of names passed to walk() visitor. | 25 March 1997, 15:25:54 UTC |
fb8f1ca | Guido van Rossum | 21 March 1997, 21:55:12 UTC | Add clear() method to dictionary objects. | 21 March 1997, 21:55:12 UTC |
3ee6b19 | Guido van Rossum | 21 March 1997, 21:18:16 UTC | Removed 'marshal' from the list of "ok" built-in functions -- the unmarshalling code is actually rather naive and can easily be caused to crash by feeding it invalid data. This should be fixed in the marshal module, but I don't have the time to fix it now :-( | 21 March 1997, 21:18:16 UTC |
bcd91e0 | Guido van Rossum | 20 March 1997, 20:46:29 UTC | Fix typo (missing $ in ) | 20 March 1997, 20:46:29 UTC |
4d81984 | Guido van Rossum | 20 March 1997, 20:40:45 UTC | Ping's new version -- more efficient at finding the keywords. | 20 March 1997, 20:40:45 UTC |
3d99e35 | Guido van Rossum | 20 March 1997, 19:46:41 UTC | Added __assert__. | 20 March 1997, 19:46:41 UTC |
eb8c972 | Guido van Rossum | 20 March 1997, 19:45:51 UTC | Ka-Ping Yee's version is better: Here's a "keyword" module which, in the spirit of "token.py", updates the list of keywords automatically from a source file (in this case, "graminit.c" seemed like a reasonable choice, easier than "Grammar/Grammar"). You get "kwlist", a sorted list of keywords; "kwdict", a dictionary mapping each keyword to 1; and "iskeyword", a function which tells you if a given string happens to be a keyword. | 20 March 1997, 19:45:51 UTC |
90d556f | Guido van Rossum | 20 March 1997, 19:44:30 UTC | Simple module to publish list of Python keywords. | 20 March 1997, 19:44:30 UTC |
f789ee4 | Guido van Rossum | 20 March 1997, 14:42:17 UTC | Avoid crashes with nested multipart/mixed parts. | 20 March 1997, 14:42:17 UTC |
14d1c72 | Guido van Rossum | 19 March 1997, 14:43:28 UTC | Added note about adding \n to source for exec and compile. | 19 March 1997, 14:43:28 UTC |
4a908be | Guido van Rossum | 16 March 1997, 18:34:00 UTC | Added Q. about HTTP/1.1. | 16 March 1997, 18:34:00 UTC |
f2e499b | Guido van Rossum | 16 March 1997, 00:37:59 UTC | New long_lshift, without restriction on size of shift count, by Tim Peters. This makes it possible to write 1L<<1000000, memory permitting. | 16 March 1997, 00:37:59 UTC |
e053c67 | Guido van Rossum | 14 March 1997, 05:09:30 UTC | Remove err_input -- there is no such global! | 14 March 1997, 05:09:30 UTC |
45b8391 | Guido van Rossum | 14 March 1997, 04:32:50 UTC | New form of PyFPE_END_PROTECT macro. | 14 March 1997, 04:32:50 UTC |
1aeb104 | Guido van Rossum | 14 March 1997, 04:32:25 UTC | Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined. | 14 March 1997, 04:32:25 UTC |
f095806 | Guido van Rossum | 14 March 1997, 04:25:22 UTC | Remove redundant references to thread stuff -- long, long ago, there was some locking code in this file that needed it... | 14 March 1997, 04:25:22 UTC |
7427791 | Guido van Rossum | 14 March 1997, 04:24:08 UTC | Add Macros defining new names for all external symbols. | 14 March 1997, 04:24:08 UTC |
1f06bee | Guido van Rossum | 14 March 1997, 04:23:42 UTC | Change PyFPE_END_PROTECT to PyFPE_END_PROTECT(v). v should be the last variable to which a floating point expression is assigned. The macro passes its address to a dummy function so that the optimizer can't delay calculating its value until after the macro. | 14 March 1997, 04:23:42 UTC |
efd3a3a | Guido van Rossum | 14 March 1997, 04:21:10 UTC | Implement find_class() without exec statement. | 14 March 1997, 04:21:10 UTC |
c699553 | Guido van Rossum | 14 March 1997, 04:18:20 UTC | Change the list() function to match the documentation in the comment (it should return a list of tuples, not a list of lists). | 14 March 1997, 04:18:20 UTC |
56d1e3a | Guido van Rossum | 14 March 1997, 04:16:54 UTC | Added Fred Drake's netrc parser class. | 14 March 1997, 04:16:54 UTC |
18aef3c | Guido van Rossum | 14 March 1997, 04:15:43 UTC | Support disassembly of a variety of objects through dis.dis(). | 14 March 1997, 04:15:43 UTC |
7b7c578 | Guido van Rossum | 14 March 1997, 04:13:56 UTC | Add optional 4th argument to [r]find and [r]index (end of slice). | 14 March 1997, 04:13:56 UTC |
612316f | Guido van Rossum | 14 March 1997, 04:12:52 UTC | Add a rough list of undocumented stuff at the end. | 14 March 1997, 04:12:52 UTC |
1f8cee2 | Guido van Rossum | 14 March 1997, 04:10:13 UTC | Hint about [\] trick to avoid quad backslashes. | 14 March 1997, 04:10:13 UTC |
db5a41f | Fred Drake | 13 March 1997, 14:14:29 UTC | target libinstall: Create the .pyo files corresponding to the .py and .pyc files as well. | 13 March 1997, 14:14:29 UTC |
ef8dc06 | Fred Drake | 13 March 1997, 14:13:16 UTC | compile(): Use the __debug__ flag to determine the proper filename extension to use for the cached module code object. | 13 March 1997, 14:13:16 UTC |
6af0c00 | Guido van Rossum | 11 March 1997, 21:25:55 UTC | Fix dumb bug calling parsestrplus with wrong node as argument. Add prototypes for parsestr() and parsestrplus() (unrelated, but seemed to make sense.) | 11 March 1997, 21:25:55 UTC |
1c6a459 | Guido van Rossum | 11 March 1997, 18:43:26 UTC | Define __debug__ as 0 if -O is given, 1 otherwise. Also test for errors in initializing the dictionary. | 11 March 1997, 18:43:26 UTC |
7c53111 | Guido van Rossum | 11 March 1997, 18:42:21 UTC | Added support for ``if __debug__:'' -- if -O is given, this form is recognized by the code generator and code generation for the test and the subsequent suite is suppressed. One must write *exactly* ``if __debug__:'' or ``elif __debug__:'' -- no parentheses or operators must be present, or the optimization is not carried through. Whitespace doesn't matter. Other uses of __debug__ will find __debug__ defined as 0 or 1 in the __builtin__ module. | 11 March 1997, 18:42:21 UTC |
0824f63 | Guido van Rossum | 11 March 1997, 18:37:35 UTC | When -O is given, use ".pyo" instead of ".pyc". | 11 March 1997, 18:37:35 UTC |
80eb3c0 | Guido van Rossum | 11 March 1997, 18:24:21 UTC | Zap all env vars beginning with PYTHON to prevent an obvious form of attack. | 11 March 1997, 18:24:21 UTC |
b5dc5e3 | Guido van Rossum | 10 March 1997, 23:17:01 UTC | Added support for imaginary constants (e.g. 0j, 1j, 1.0j). | 10 March 1997, 23:17:01 UTC |
c43b685 | Guido van Rossum | 10 March 1997, 22:58:23 UTC | Clarify error message for unexpected keyword parameter. | 10 March 1997, 22:58:23 UTC |
27e280d | Guido van Rossum | 07 March 1997, 21:05:43 UTC | Restore old behavior of autotest and testall, using regrtest. This is done for backward compatibility with Python 1.4. | 07 March 1997, 21:05:43 UTC |
f58ed25 | Guido van Rossum | 07 March 1997, 21:04:33 UTC | Add "extra-verbose" mode, triggered by specifying two -v flags. In this mode, all tests are run in verbose mode with their output to stdout. No comparing of output is done. | 07 March 1997, 21:04:33 UTC |
e69be3e | Guido van Rossum | 07 March 1997, 20:30:03 UTC | Much more rigorous testing -- we now try many times, varying in time of day, day of week, and season. Fix the weekday predictions -- these seemed to be all bogus. The new predictions seem to correspond with strftime() on Solaris and IRIX, so I believe they are correct. Get rid of the test for non-standard format %C returning "the same as date(1)". This is hard to do reliably without opening a pipe to date, and moreover, on IRIX 6.2, %C yields the Century. So we use that instead. (We don't complain about this in non-verbose mode anyway.) | 07 March 1997, 20:30:03 UTC |
b51eaa1 | Guido van Rossum | 07 March 1997, 00:21:55 UTC | Fixed doc string, added __version__, fixed 1 bug. | 07 March 1997, 00:21:55 UTC |
fc6f533 | Guido van Rossum | 07 March 1997, 00:21:12 UTC | Ka-Ping's version. | 07 March 1997, 00:21:12 UTC |
19700b6 | Guido van Rossum | 05 March 1997, 00:45:43 UTC | Add casts to CMPERROR macro to silence SunPro compiler warnings about integer overflow in << operator. | 05 March 1997, 00:45:43 UTC |
8259805 | Guido van Rossum | 05 March 1997, 00:20:32 UTC | Greatly renamed. Not a very thorough job -- I'm going to restructure it anyway. | 05 March 1997, 00:20:32 UTC |
159b77f | Guido van Rossum | 04 March 1997, 23:44:15 UTC | Add Emacs shell-script directive, SunPro version#, and fix typo | 04 March 1997, 23:44:15 UTC |
53bb550 | Guido van Rossum | 04 March 1997, 23:36:04 UTC | Solaris and IRIX specific instructions for fpectl. | 04 March 1997, 23:36:04 UTC |
f39fc43 | Guido van Rossum | 04 March 1997, 18:31:47 UTC | A few comment alignment and clarifications. | 04 March 1997, 18:31:47 UTC |
7614da6 | Guido van Rossum | 03 March 1997, 19:14:45 UTC | Add -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO. Fred: sorry, I hadn't checked these changes in. This should fix your tracebacks! | 03 March 1997, 19:14:45 UTC |
e9e4779 | Guido van Rossum | 03 March 1997, 19:13:54 UTC | Add global Py_OptimizeFlag. | 03 March 1997, 19:13:54 UTC |
8e793d9 | Guido van Rossum | 03 March 1997, 19:13:14 UTC | Add global Py_OptimizeFlag. SET_LINENO is omitted again unless this is nonzero. | 03 March 1997, 19:13:14 UTC |
3978d75 | Guido van Rossum | 03 March 1997, 16:03:27 UTC | Added intern() | 03 March 1997, 16:03:27 UTC |
38e2ec4 | Guido van Rossum | 03 March 1997, 16:03:05 UTC | Added ref to StringIO docs. | 03 March 1997, 16:03:05 UTC |
3ff7317 | Guido van Rossum | 03 March 1997, 16:02:32 UTC | Correct two typos | 03 March 1997, 16:02:32 UTC |
d90e5b1 | Guido van Rossum | 03 March 1997, 16:02:10 UTC | Fix name of PyObject_GetAttrString | 03 March 1997, 16:02:10 UTC |
cda3d7d | Guido van Rossum | 03 March 1997, 16:01:21 UTC | Added (minimal) StringIO docs. | 03 March 1997, 16:01:21 UTC |
20e4210 | Guido van Rossum | 28 February 1997, 16:37:49 UTC | Fix up indentation of examples to use 4 spaces instead of tabs. | 28 February 1997, 16:37:49 UTC |
17e973c | Guido van Rossum | 26 February 1997, 16:11:55 UTC | Remove the list of Python users, replace it with a pointer to the on-line list of same. | 26 February 1997, 16:11:55 UTC |
7b6f343 | Guido van Rossum | 25 February 1997, 23:08:03 UTC | Added new ftp mirror site ftp://ftp.cdrom.com/pub/python/ (Walnut Creek CDROM). | 25 February 1997, 23:08:03 UTC |
827eecd | Jack Jansen | 24 February 1997, 14:03:45 UTC | Converted to CW11. | 24 February 1997, 14:03:45 UTC |
666212d | Jack Jansen | 24 February 1997, 14:00:52 UTC | Make cache-alignment work always (in stead of 50% of the time:-) | 24 February 1997, 14:00:52 UTC |
c587301 | Jack Jansen | 24 February 1997, 13:59:38 UTC | - Changed GestaltEqu.h to Gestalt.h - Changed FragLoader.h to CodeFragments.h - Removed Desk.h | 24 February 1997, 13:59:38 UTC |
4a8c54e | Jack Jansen | 24 February 1997, 13:56:59 UTC | - Changed GestaltEqu.h to Gestalt.h - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit) | 24 February 1997, 13:56:59 UTC |
6a52814 | Jack Jansen | 24 February 1997, 13:52:56 UTC | Re-generated from new (CW11) universal headers | 24 February 1997, 13:52:56 UTC |
fb07f40 | Barry Warsaw | 24 February 1997, 03:37:22 UTC | (python-font-lock-keywords): Use new convention for installing in mode | 24 February 1997, 03:37:22 UTC |
2a0711d | Guido van Rossum | 23 February 1997, 05:37:36 UTC | Removing this -- complex numbers are now builtin, and there is already a similar demo in Demo/classes/Complex.py. | 23 February 1997, 05:37:36 UTC |
5680906 | Guido van Rossum | 21 February 1997, 15:19:03 UTC | Change all three fopen calls to use binary mode. | 21 February 1997, 15:19:03 UTC |
05bc4af | Guido van Rossum | 21 February 1997, 01:22:47 UTC | Lee's next version. Careful: this now dumps core for me on SGI IRIX 5.3. Lee is wondering whether to withdraw his patchs. Sigh. | 21 February 1997, 01:22:47 UTC |
ad183bb | Guido van Rossum | 20 February 1997, 16:23:01 UTC | Removed nonstandard strftime formats (strftime is tested more extensively in test_strftime.py anyway). | 20 February 1997, 16:23:01 UTC |
eea9ab7 | Jack Jansen | 20 February 1997, 15:28:31 UTC | Rebuilt everything with Guido's new sources, added a few modules here and there, etc. These projects are still CW10. | 20 February 1997, 15:28:31 UTC |
ab78656 | Jack Jansen | 20 February 1997, 15:27:44 UTC | Added calldll module | 20 February 1997, 15:27:44 UTC |
0040b47 | Jack Jansen | 20 February 1997, 15:25:49 UTC | - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it in importdl.c (I had just one crash too many with a static python importing a dynamic module) - On powerpc, enable USE_CACHE_ALIGNED with a linesize of 32 bytes. | 20 February 1997, 15:25:49 UTC |
7e94404 | Jack Jansen | 20 February 1997, 15:23:18 UTC | Only go into eventloop/interrupt check 10 times per second | 20 February 1997, 15:23:18 UTC |
4f27a55 | Jack Jansen | 20 February 1997, 15:22:17 UTC | Comments around identifier after #endif | 20 February 1997, 15:22:17 UTC |
c1cd2ca | Jack Jansen | 20 February 1997, 15:20:46 UTC | Added operator, errno and soundex modules. | 20 February 1997, 15:20:46 UTC |
e0e1f1a | Jack Jansen | 20 February 1997, 15:18:32 UTC | Redid arg/return handling (still not as I would like it to be, though). | 20 February 1997, 15:18:32 UTC |
7801614 | Guido van Rossum | 19 February 1997, 20:07:38 UTC | Remove some bogus code that would cause a NameError if a -r option was passed. | 19 February 1997, 20:07:38 UTC |
13ddde0 | Guido van Rossum | 19 February 1997, 16:25:52 UTC | Remove %n and %t from the list of standard expectations. | 19 February 1997, 16:25:52 UTC |
19302de | Barry Warsaw | 18 February 1997, 22:06:21 UTC | join(): Wax the incorrect leading comment | 18 February 1997, 22:06:21 UTC |
7574587 | Barry Warsaw | 18 February 1997, 21:53:53 UTC | Document the new join() semantics. | 18 February 1997, 21:53:53 UTC |
fbd64c8 | Guido van Rossum | 18 February 1997, 21:53:32 UTC | Restructured quite a bit, hopefully Lee Busby will find this useful. Also grandly renamed. Here's the new interface: When WITH_READLINE is defined, two functions are defined: - PyOS_GnuReadline (what used to be my_readline() with WITH_READLINE) - PyOS_ReadlineInit (for Dave Ascher) Always, these functions are defined: - PyOS_StdioReadline (what used to be my_readline() without WITH_READLINE) - PyOS_Readline (the interface used by tokenizer.c and [raw_]input(). There's a global function pointer PyOS_ReadlineFunctionPointer, initialized to NULL. When PyOS_Readline finds this to be NULL, it sets it to either PyOS_GnuReadline or PyOS_StdioReadline depending on which one makes more sense (i.e. it uses GNU only if it is defined *and* stdin is indeed a tty device). An embedding program that has its own wishes can set the function pointer to a function of its own design. It should take a char* prompt argument (which may be NULL) and return a string *ending in a \n character* -- or "" for EOF or NULL for a user interrupt. --Guido van Rossum (home page: http://www.python.org/~guido/) | 18 February 1997, 21:53:32 UTC |
384d249 | Barry Warsaw | 18 February 1997, 21:53:25 UTC | join(): join one or more path components | 18 February 1997, 21:53:25 UTC |
736bb06 | Barry Warsaw | 18 February 1997, 18:59:37 UTC | Added a paragraph to describe clear_cache(), and why it's necessary. | 18 February 1997, 18:59:37 UTC |
cd77df6 | Barry Warsaw | 18 February 1997, 18:54:30 UTC | Document the new get_syntax() function. | 18 February 1997, 18:54:30 UTC |
b67a25c | Barry Warsaw | 18 February 1997, 18:52:55 UTC | Store the current regex syntax along with the regular expression string as the key to the cache. This means that changing the syntax will return the correct compiled pattern. clear_cache(): New function. | 18 February 1997, 18:52:55 UTC |
909d7c3 | Barry Warsaw | 18 February 1997, 18:48:50 UTC | regex_get_syntax(): New module function exported to Python. | 18 February 1997, 18:48:50 UTC |
152f9d9 | Guido van Rossum | 18 February 1997, 16:55:33 UTC | Put back #! /usr/local/bin/python. For cgi scripts, /usr/bin/env is unlikely to find a python binary, as /usr/local/bin is usually not on the default search path. | 18 February 1997, 16:55:33 UTC |
01094e4 | Guido van Rossum | 17 February 1997, 18:40:02 UTC | Change the question about os.environ changes not working -- it now works unless you don't have putenv. | 17 February 1997, 18:40:02 UTC |
8651d27 | Guido van Rossum | 17 February 1997, 18:27:32 UTC | Two changes: - add awarning about reconfiguring after Slackware96 fix - add reference to Jim F's ExtensionClass module | 17 February 1997, 18:27:32 UTC |
b3928d2 | Jack Jansen | 17 February 1997, 16:56:56 UTC | An initial stab at calling random C routines from Python | 17 February 1997, 16:56:56 UTC |