Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Working semaphore implementation by Sjoerd. | Guido van Rossum | 1997-01-17 | 1 | -3/+64 |
| | |||||
* | New MAGIC number (code objects have one more item when marshalled). | Guido van Rossum | 1997-01-17 | 1 | -1/+2 |
| | |||||
* | Use the stack size from the code object and the CO_MAXBLOCKS constant | Guido van Rossum | 1997-01-17 | 1 | -2/+10 |
| | | | | from compile.h. Remove all eval stack overflow checks. | ||||
* | Add co_stacksize field to codeobject structure, and stacksize argument | Guido van Rossum | 1997-01-17 | 1 | -62/+253 |
| | | | | | | | | | | | | to PyCode_New() argument list. Move MAXBLOCKS constant to conpile.h. Added accurate calculation of the actual stack size needed by the generated code. Also commented out all fprintf statements (except for a new one to diagnose stack underflow, and one in #ifdef'ed out code), and added some new TO DO suggestions (now that the stacksize is taken of the TO DO list). | ||||
* | Add co_stacksize field to codeobject structure, and stacksize argument | Guido van Rossum | 1997-01-17 | 1 | -1/+3 |
| | | | | | to PyCode_New() argument list. Also add CO_MAXBLOCKS constant indicating the maximum static nesting supported by the compiler. | ||||
* | Of course, when the type of the argument to dis() is unsupported, it | Guido van Rossum | 1997-01-17 | 1 | -1/+1 |
| | | | | should raise TypeError, not ValueError... | ||||
* | More user friedly interface: | Guido van Rossum | 1997-01-17 | 1 | -10/+25 |
| | | | | | | | | | | | dis() still disassembles the last frame of the lats stack trace. dis(x) disassembles x, which may be a code object, function, or method. disassemble(co, [lasti]) disassembles a code object; the lasti argument is now optional. disco(...) is an alias for disassemble(...), for backward compatibility. | ||||
* | Added Sjoerd's submitted 'ratecv' method. Made corrections for new names. | Roger E. Masse | 1997-01-17 | 1 | -25/+140 |
| | | | | Reindented. | ||||
* | Make as sure as we can that the forked child does not return and | Guido van Rossum | 1997-01-17 | 1 | -12/+15 |
| | | | | continue the tests. | ||||
* | Renamed, but not tested. Guido will you try your test script on this? | Roger E. Masse | 1997-01-17 | 1 | -95/+94 |
| | |||||
* | Renamed. | Roger E. Masse | 1997-01-17 | 1 | -530/+584 |
| | |||||
* | Test output for the SGI cl C module test script. | Roger E. Masse | 1997-01-17 | 1 | -0/+1 |
| | |||||
* | Lame test script for the SGI cl C module. | Roger E. Masse | 1997-01-17 | 1 | -0/+78 |
| | |||||
* | (puremodule.c): New module which exports the Purify and Quantify C API | Barry Warsaw | 1997-01-17 | 3 | -4/+1169 |
| | | | | | | | | | | | to Python. Minimal documentation is included in comments at the top of the file, and in the Misc/PURIFY.README file. Note that this module must be statically linked since Pure doesn't provide shared stubs libraries. (Setup.in): Added commented template for pure module (syslogmodule.c): ins() function wasn't declared static. | ||||
* | README file for hints on Purify'ing or Quantify'ing the Python | Barry Warsaw | 1997-01-16 | 1 | -0/+72 |
| | | | | interpreter. It also mentions the soon to be checked in pure module. | ||||
* | Already renamed. Indented. | Roger E. Masse | 1997-01-16 | 1 | -471/+513 |
| | |||||
* | Output from test script for the bsddb C extension module. | Roger E. Masse | 1997-01-16 | 1 | -0/+1 |
| | |||||
* | Test script for the bsddb C extension module. | Roger E. Masse | 1997-01-16 | 1 | -0/+69 |
| | |||||
* | Rewrote lookmapping() according to suggestions by Jyrki Alakuijala. | Guido van Rossum | 1997-01-16 | 2 | -42/+142 |
| | |||||
* | Minor output message change | Roger E. Masse | 1997-01-16 | 2 | -2/+14 |
| | |||||
* | Merge several mods: | Guido van Rossum | 1997-01-16 | 1 | -2/+12 |
| | | | | | | | | - add opcodes BINARY_LSHIFT ... BINARY_OR - remove RESERVE_FAST - Skip M's suggestion for displaying which comparison operator is meant | ||||
* | Renamed. | Roger E. Masse | 1997-01-16 | 1 | -79/+88 |
| | |||||
* | As per GvR recomendations, remove the restriction that binhex only run on | Roger E. Masse | 1997-01-16 | 1 | -33/+43 |
| | | | | | | | big-endian machines. This is done by directing the struct module's pack and unpack methods to treat the data always in bin endian format. This has been tested on irix (big endian) and solaris x86 (little endian) but not yet on the mac. | ||||
* | set_key(): Use Py_CHARMASK macro to get the character from the array | Barry Warsaw | 1997-01-16 | 1 | -237/+43 |
| | | | | | | | | unsigned. This fixes the 8bit-char-in-key platform incompatibility. I also removed the old backwards compatibility code, and the commented lisp rotor code. I retained the lisp docstrings as comments preceding each function. | ||||
* | test output for the binascii C module test script. | Roger E. Masse | 1997-01-16 | 1 | -0/+1 |
| | |||||
* | test script for the binascii C module. | Roger E. Masse | 1997-01-16 | 2 | -0/+80 |
| | |||||
* | reformatted | Barry Warsaw | 1997-01-16 | 1 | -835/+977 |
| | | | | | | memory leak in Tkapp_(Create|Delete)FileHandler plugged. standard eyeballing | ||||
* | test is no longer needed | Barry Warsaw | 1997-01-16 | 2 | -32/+0 |
| | |||||
* | Opps. Added tests for the last two methods that were missing from | Roger E. Masse | 1997-01-15 | 1 | -1/+11 |
| | | | | the test program: 'grey2rgb' and 'rgb2grey' | ||||
* | Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for reading | Roger E. Masse | 1997-01-15 | 1 | -24/+58 |
| | | | | | | | | the imagefiles and converting tham to a format suitable for imageop. Also added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence on the file 'greytest.rgb'. Note: test_imgfile.py still uses 'greytest.rgb' | ||||
* | Irix 6 specific files -- thanks Sjoerd! | Guido van Rossum | 1997-01-15 | 58 | -0/+10664 |
| | |||||
* | "ported" Guido's embedding demo to the mac, and wrote some minimal | Jack Jansen | 1997-01-15 | 5 | -1/+278 |
| | | | | notes on embedding on the mac. | ||||
* | Added PyMac_Initialize() routine, to be used by embedding programs (in | Jack Jansen | 1997-01-15 | 5 | -516/+532 |
| | | | | stead of standard Py_Initialize(), which it calls). | ||||
* | Describe new ("unsigned") behavior of hex() and oct(). | Guido van Rossum | 1997-01-14 | 2 | -4/+24 |
| | |||||
* | Removed _xdr module | Barry Warsaw | 1997-01-14 | 1 | -1/+0 |
| | |||||
* | test(): close the pipe, just to shut up Purify. | Barry Warsaw | 1997-01-14 | 1 | -0/+1 |
| | |||||
* | Eliminated gcc -Wall complaints: | Barry Warsaw | 1997-01-14 | 1 | -26/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Quieted gcc -Wall by removing unused local variables. - Added some choice parentheses around assignments in conditional tests. - Removed an unused (and seemingly unreachable) err label in load_short_binstring(). - in Unpickler_load(), removed \. in string format. - init_stuff() was declared to return an int, but had these problems: - it was returning NULL instead of 0 or 1 in some cases - it was falling of the end of the routine without returning anything - the call of init_stuff() in initcPickle() was never checking the return value anyway. I changed all this by returning 1 in the case of errors, 0 when no error occurred. Then in initcPickle(), if init_stuff() returns non-zero, I call Py_FatalError(). Suppressing my urge to reformat according to Python coding standards! :-) | ||||
* | Quieted gcc -Wall by removing unused local variables. | Barry Warsaw | 1997-01-14 | 1 | -5/+9 |
| | | | | | Suppressing my urge to reformat according to Python coding standards! :-) | ||||
* | Quieted gcc -Wall by removing unused local variables. | Barry Warsaw | 1997-01-14 | 1 | -2/+0 |
| | |||||
* | Formatting. | Barry Warsaw | 1997-01-14 | 1 | -18/+17 |
| | |||||
* | Obsolete, now that xdrlib.py uses the new-and-improved struct module. | Barry Warsaw | 1997-01-14 | 1 | -187/+0 |
| | |||||
* | Raise ConversionError instances the new fangled way, e.g.: | Barry Warsaw | 1997-01-14 | 1 | -3/+4 |
| | | | | | | raise ConversionError, msg where `msg' is passed as the argument to the constructor. | ||||
* | Increased buffer sizes used by hex() and oct() -- on 64-bit or 128-bit | Guido van Rossum | 1997-01-14 | 1 | -2/+2 |
| | | | | machines, the string may get longer than 20 characters! | ||||
* | Output for test of the timing module | Barry Warsaw | 1997-01-13 | 1 | -0/+1 |
| | |||||
* | Test of the timing module | Barry Warsaw | 1997-01-13 | 1 | -0/+21 |
| | |||||
* | Renamed. | Barry Warsaw | 1997-01-13 | 1 | -49/+45 |
| | |||||
* | Use the new regrtest harness | Barry Warsaw | 1997-01-13 | 1 | -4/+1 |
| | |||||
* | Formatting, and minor error detection | Barry Warsaw | 1997-01-13 | 1 | -49/+52 |
| | |||||
* | updated the hex(-16) test since hex() of a signed literal has changed. | Barry Warsaw | 1997-01-13 | 1 | -1/+1 |
| | |||||
* | updated the oct(-100) test since oct() of a signed literal has changed. | Barry Warsaw | 1997-01-13 | 1 | -1/+1 |
| |