Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ka-Ping Yee's version is better: | Guido van Rossum | 1997-03-20 | 1 | -37/+116 |
| | | | | | | | | | | 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. | ||||
* | Simple module to publish list of Python keywords. | Guido van Rossum | 1997-03-20 | 1 | -0/+37 |
| | |||||
* | Avoid crashes with nested multipart/mixed parts. | Guido van Rossum | 1997-03-20 | 1 | -1/+8 |
| | |||||
* | Added note about adding \n to source for exec and compile. | Guido van Rossum | 1997-03-19 | 1 | -0/+7 |
| | |||||
* | Added Q. about HTTP/1.1. | Guido van Rossum | 1997-03-16 | 1 | -0/+11 |
| | |||||
* | New long_lshift, without restriction on size of shift count, by Tim Peters. | Guido van Rossum | 1997-03-16 | 1 | -26/+22 |
| | | | | This makes it possible to write 1L<<1000000, memory permitting. | ||||
* | Remove err_input -- there is no such global! | Guido van Rossum | 1997-03-14 | 1 | -1/+0 |
| | |||||
* | New form of PyFPE_END_PROTECT macro. | Guido van Rossum | 1997-03-14 | 12 | -36/+36 |
| | |||||
* | Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined. | Guido van Rossum | 1997-03-14 | 1 | -0/+1 |
| | |||||
* | Remove redundant references to thread stuff -- long, long ago, there | Guido van Rossum | 1997-03-14 | 1 | -6/+0 |
| | | | | was some locking code in this file that needed it... | ||||
* | Add Macros defining new names for all external symbols. | Guido van Rossum | 1997-03-14 | 2 | -0/+36 |
| | |||||
* | Change PyFPE_END_PROTECT to PyFPE_END_PROTECT(v). v should be the | Guido van Rossum | 1997-03-14 | 1 | -3/+3 |
| | | | | | | 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. | ||||
* | Implement find_class() without exec statement. | Guido van Rossum | 1997-03-14 | 1 | -4/+2 |
| | |||||
* | Change the list() function to match the documentation in the comment | Guido van Rossum | 1997-03-14 | 1 | -1/+1 |
| | | | | (it should return a list of tuples, not a list of lists). | ||||
* | Added Fred Drake's netrc parser class. | Guido van Rossum | 1997-03-14 | 1 | -0/+100 |
| | |||||
* | Support disassembly of a variety of objects through dis.dis(). | Guido van Rossum | 1997-03-14 | 1 | -0/+17 |
| | |||||
* | Add optional 4th argument to [r]find and [r]index (end of slice). | Guido van Rossum | 1997-03-14 | 5 | -43/+99 |
| | |||||
* | Add a rough list of undocumented stuff at the end. | Guido van Rossum | 1997-03-14 | 5 | -1/+445 |
| | |||||
* | Hint about [\] trick to avoid quad backslashes. | Guido van Rossum | 1997-03-14 | 2 | -4/+6 |
| | |||||
* | target libinstall: | Fred Drake | 1997-03-13 | 1 | -0/+2 |
| | | | | | Create the .pyo files corresponding to the .py and .pyc files as well. | ||||
* | compile(): Use the __debug__ flag to determine the proper filename extension | Fred Drake | 1997-03-13 | 1 | -1/+1 |
| | | | | to use for the cached module code object. | ||||
* | Fix dumb bug calling parsestrplus with wrong node as argument. | Guido van Rossum | 1997-03-11 | 1 | -1/+3 |
| | | | | | Add prototypes for parsestr() and parsestrplus() (unrelated, but seemed to make sense.) | ||||
* | Define __debug__ as 0 if -O is given, 1 otherwise. Also test for | Guido van Rossum | 1997-03-11 | 1 | -0/+4 |
| | | | | errors in initializing the dictionary. | ||||
* | Added support for ``if __debug__:'' -- if -O is given, this form is | Guido van Rossum | 1997-03-11 | 1 | -2/+90 |
| | | | | | | | | | | | 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. | ||||
* | When -O is given, use ".pyo" instead of ".pyc". | Guido van Rossum | 1997-03-11 | 1 | -1/+9 |
| | |||||
* | Zap all env vars beginning with PYTHON to prevent an obvious form of attack. | Guido van Rossum | 1997-03-11 | 1 | -0/+2 |
| | |||||
* | Added support for imaginary constants (e.g. 0j, 1j, 1.0j). | Guido van Rossum | 1997-03-10 | 1 | -4/+5 |
| | |||||
* | Clarify error message for unexpected keyword parameter. | Guido van Rossum | 1997-03-10 | 1 | -1/+4 |
| | |||||
* | Restore old behavior of autotest and testall, using regrtest. | Guido van Rossum | 1997-03-07 | 2 | -217/+7 |
| | | | | This is done for backward compatibility with Python 1.4. | ||||
* | Add "extra-verbose" mode, triggered by specifying two -v flags. In | Guido van Rossum | 1997-03-07 | 1 | -4/+12 |
| | | | | | this mode, all tests are run in verbose mode with their output to stdout. No comparing of output is done. | ||||
* | Much more rigorous testing -- we now try many times, varying in time | Guido van Rossum | 1997-03-07 | 1 | -86/+97 |
| | | | | | | | | | | | | | 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.) | ||||
* | Fixed doc string, added __version__, fixed 1 bug. | Guido van Rossum | 1997-03-07 | 1 | -11/+18 |
| | |||||
* | Ka-Ping's version. | Guido van Rossum | 1997-03-07 | 1 | -45/+132 |
| | |||||
* | Add casts to CMPERROR macro to silence SunPro compiler warnings about | Guido van Rossum | 1997-03-05 | 1 | -1/+1 |
| | | | | integer overflow in << operator. | ||||
* | Greatly renamed. Not a very thorough job -- I'm going to restructure | Guido van Rossum | 1997-03-05 | 1 | -210/+211 |
| | | | | it anyway. | ||||
* | Add Emacs shell-script directive, SunPro version#, and fix typo | Guido van Rossum | 1997-03-04 | 1 | -2/+3 |
| | |||||
* | Solaris and IRIX specific instructions for fpectl. | Guido van Rossum | 1997-03-04 | 1 | -2/+14 |
| | |||||
* | A few comment alignment and clarifications. | Guido van Rossum | 1997-03-04 | 1 | -3/+5 |
| | |||||
* | Add -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO. | Guido van Rossum | 1997-03-03 | 1 | -2/+7 |
| | | | | | Fred: sorry, I hadn't checked these changes in. This should fix your tracebacks! | ||||
* | Add global Py_OptimizeFlag. | Guido van Rossum | 1997-03-03 | 1 | -0/+1 |
| | |||||
* | Add global Py_OptimizeFlag. SET_LINENO is omitted again unless this is | Guido van Rossum | 1997-03-03 | 1 | -4/+7 |
| | | | | nonzero. | ||||
* | Added intern() | Guido van Rossum | 1997-03-03 | 2 | -0/+26 |
| | |||||
* | Added ref to StringIO docs. | Guido van Rossum | 1997-03-03 | 2 | -0/+6 |
| | |||||
* | Correct two typos | Guido van Rossum | 1997-03-03 | 2 | -2/+2 |
| | |||||
* | Fix name of PyObject_GetAttrString | Guido van Rossum | 1997-03-03 | 1 | -1/+1 |
| | |||||
* | Added (minimal) StringIO docs. | Guido van Rossum | 1997-03-03 | 5 | -1/+31 |
| | |||||
* | Fix up indentation of examples to use 4 spaces instead of tabs. | Guido van Rossum | 1997-02-28 | 2 | -118/+118 |
| | |||||
* | Remove the list of Python users, replace it with a pointer to the | Guido van Rossum | 1997-02-26 | 1 | -38/+2 |
| | | | | on-line list of same. | ||||
* | Added new ftp mirror site ftp://ftp.cdrom.com/pub/python/ (Walnut Creek CDROM). | Guido van Rossum | 1997-02-25 | 1 | -0/+1 |
| | |||||
* | Converted to CW11. | Jack Jansen | 1997-02-24 | 33 | -12036/+12178 |
| |