Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the definition of PyMethodObject to classobject.h, so it can define | Guido van Rossum | 1998-07-10 | 2 | -8/+16 |
| | | | | macros for more efficient access to the fields. | ||||
* | Marc-Andre Lemburg's patch to move the typedef for PyCFunctionObject | Guido van Rossum | 1998-07-10 | 2 | -6/+15 |
| | | | | to the .h file and add macros there for inlined access to the fields. | ||||
* | (1) Added a sys.exc_info() emulation. (It returns None for the traceback.) | Guido van Rossum | 1998-07-09 | 1 | -15/+57 |
| | | | | | | | (2) Made the test script a bit fancier -- you can now use it to run arbitrary scripts in restricted mode, and it will do the right thing. (The interactive mode is still pretty lame; should integrate this with code.interact().) | ||||
* | Added item about index item/subitem separation. | Fred Drake | 1998-07-08 | 1 | -5/+6 |
| | |||||
* | Fix suggested by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it> to keep the | Fred Drake | 1998-07-08 | 1 | -1/+1 |
| | | | | | large letter at the top of each index section with at least the first entry for that letter. | ||||
* | # In case BINARY_SUBSCR, use proper PyList_GET* macros instead of inlining. | Guido van Rossum | 1998-07-08 | 1 | -3/+3 |
| | |||||
* | Marc-Andre Lemburg's patch to support instance methods with other | Guido van Rossum | 1998-07-08 | 3 | -19/+41 |
| | | | | callable objects than regular Pythonm functions as their im_func. | ||||
* | Reindented some OS/2 and hpux code that looked ugly or at least | Guido van Rossum | 1998-07-08 | 1 | -29/+28 |
| | | | | inconsistent. | ||||
* | Recompute the special getattr/setattr/delattr cache slots after | Guido van Rossum | 1998-07-08 | 1 | -7/+13 |
| | | | | changing __dict__ *or* __bases__. | ||||
* | Rewrite to support multiple suckers, each with their own thread. | Guido van Rossum | 1998-07-08 | 1 | -102/+140 |
| | |||||
* | Instead of printint, use self.message() or self.note(). | Guido van Rossum | 1998-07-08 | 2 | -72/+63 |
| | |||||
* | Needed. | Guido van Rossum | 1998-07-08 | 1 | -0/+10 |
| | |||||
* | Minor change for windows; set extensions_c later and set | Guido van Rossum | 1998-07-07 | 1 | -1/+3 |
| | | | | frozendllmain_c at the right place. | ||||
* | Put back the call to report_unbalanced() that was lost when | Guido van Rossum | 1998-07-07 | 1 | -0/+2 |
| | | | | parse_endtag() was restructured in parse_endtag() and finish_endtag(). | ||||
* | # Bump version because of checkin to faqwiz.py. :-( | Guido van Rossum | 1998-07-07 | 1 | -1/+1 |
| | |||||
* | Don't add <...> around mail addresses; they may already be there. | Guido van Rossum | 1998-07-07 | 1 | -1/+1 |
| | |||||
* | Added hints about building your own DLL. | Guido van Rossum | 1998-07-07 | 1 | -0/+9 |
| | |||||
* | Two error messages still used the old name of the functio mkvalue() -- | Guido van Rossum | 1998-07-07 | 1 | -2/+2 |
| | | | | which is now Py_BuildValue(). | ||||
* | Add a cast that a picky SGI compiler found was necessary. | Guido van Rossum | 1998-07-07 | 1 | -1/+1 |
| | |||||
* | Fix a benign problem found by a picky SGI compiler (unreachable break | Guido van Rossum | 1998-07-07 | 1 | -1/+0 |
| | | | | after a return). | ||||
* | Fix benign problems found by a picky SGI compiler (unreachable break | Guido van Rossum | 1998-07-07 | 1 | -2/+0 |
| | | | | after a return or goto). | ||||
* | Fix benign problems found by a picky SGI compiler (unreachable break | Guido van Rossum | 1998-07-07 | 2 | -20/+0 |
| | | | | after a return). | ||||
* | Fix some problems that a picky SGI compiler reported. Two were benign | Guido van Rossum | 1998-07-07 | 1 | -3/+1 |
| | | | | | (unreachable break after a return) but one was a real bug: ReadFrames() was getting a bogus framecount because of a missing '&'. | ||||
* | Sigh. The hack to enable special treatment for errno on SGI machines | Guido van Rossum | 1998-07-07 | 1 | -0/+4 |
| | | | | | | | | | must be enabled here, otherwise the errno we set on overflows is not the errno that's being read by compile.c. Wonder how many other files that do their own "#include config.h" need this too :-( (Because of the structure of autoconf, it's not so simple to get this into config.h...) | ||||
* | Guess what... | Guido van Rossum | 1998-07-07 | 1 | -208/+209 |
| | |||||
* | Fix two unrelated problems in the same area: | Guido van Rossum | 1998-07-07 | 1 | -16/+17 |
| | | | | | | | | | | | (1) reorder the tests for -Olimit 1500 and -OPT:Olimit=0 so that the latter test is performed first, and if it works, the former test is skipped. This should get rid of the problem that the new SGI compilers accept both but emit a warning about -Olimit 1500. (2) The DGUX hack was somehow split in two by the Olimit tests, probably as the result of a non-context diff. Moved this back together again, after the Olimit tests. | ||||
* | Added copious docstrings, plus two minor layout tweaks. | Guido van Rossum | 1998-07-07 | 1 | -39/+309 |
| | |||||
* | In the example iterating over sys.argv and opening each argument, | Guido van Rossum | 1998-07-07 | 1 | -1/+1 |
| | | | | change it to iterate over sys.argv[1:]. Suggestion by Gerry Wiener. | ||||
* | (py-beginning-of-def-or-class, py-end-of-def-or-class, | Barry Warsaw | 1998-07-07 | 1 | -21/+37 |
| | | | | | | | | | | py-mark-def-or-class): Integrated Michael Ernst latest patches. Primarily, it allows functions that search or mark defs/classes based on programmatic specification, to take an 'either flag value which allows searching for both classes and defs (stopping at the nearest construct). Also clean up some docstrings. | ||||
* | (py-comment-indent-function): A replacement for | Barry Warsaw | 1998-07-07 | 1 | -13/+32 |
| | | | | | | | | | | | | comment-indent-function's default lambda value (in simple.el), this version finally kills this nit: auto-filling a comment that starts in column zero with filladapt turned off would cascade the #'s to the right. Now auto-filling seems to work with or without filladapt, and with the comment starting in any column. (python-mode): Set comment-indent-function. | ||||
* | Get rid of some obsolete opcodes. | Guido van Rossum | 1998-07-07 | 2 | -10/+0 |
| | |||||
* | Rewritten a bit to address some criticism in the newsgroup. | Guido van Rossum | 1998-07-06 | 1 | -31/+44 |
| | |||||
* | Added back the description of the exec statement. It appears that I | Guido van Rossum | 1998-07-06 | 1 | -0/+38 |
| | | | | | | accidentally cut it out when removing the access statement! Added a paragraph on __builtins__ and other possible manipulations of the key space of the dictionaries. Added some index entries. | ||||
* | The permissions ('mode' flag) should default to 0666. | Guido van Rossum | 1998-07-03 | 1 | -1/+1 |
| | |||||
* | The _fromlinepattern was a little too restrictive -- some sendmails | Guido van Rossum | 1998-07-02 | 1 | -1/+1 |
| | | | | don't put the seconds in the time! | ||||
* | # The variable total is never used somehow. I think I had plans for | Guido van Rossum | 1998-07-02 | 1 | -2/+2 |
| | | | | # it but can't remember what. Get rid of a comparison that breaks. | ||||
* | According to Robin Dunn, at least one FTP server returns 200 instead | Guido van Rossum | 1998-07-02 | 1 | -1/+1 |
| | | | | of 250 on a successful delete. | ||||
* | Normalize markup. | Fred Drake | 1998-07-02 | 1 | -68/+78 |
| | |||||
* | Normalize the markup. | Fred Drake | 1998-07-02 | 1 | -38/+42 |
| | |||||
* | Added index entry. | Fred Drake | 1998-07-02 | 1 | -0/+1 |
| | |||||
* | Added \deprecated to exit_thread() function. | Fred Drake | 1998-07-02 | 1 | -0/+1 |
| | | | | Reflects Guido's revision. | ||||
* | On Windows, put the select file descriptor arrays on the heap. | Guido van Rossum | 1998-07-02 | 1 | -0/+22 |
| | | | | | This is because they are huge and the stack is limited on Windows. Other platforms keep declaring it on the stack. | ||||
* | Gotta have an __init__() method -- pdb.py calls it! | Guido van Rossum | 1998-07-01 | 1 | -0/+2 |
| | |||||
* | Several changes: | Barry Warsaw | 1998-07-01 | 1 | -40/+90 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Convert to using re module 2. Added two new exception classes a. MissingSectionHeaderError which signals an early parsing exception when options appear in the file before any section header. Previously a bogus TypeError was thrown deeper down. b. ParsingError which collates any non-fatal parsing errors. ConfigParser.read() will raise this after the entire file was parsed if any errors occurred during parsing (client could just catch the exception and continue, because the ConfigParser instance would still be initialized with the valid data). (small note: Error.__msg => Error._msg) 3. ConfigParser.__read() now uses re which has the following minor semantic change: underscore is now allowed in section header and option name. Also, because of the old regexps, theoretically. Fixed continuation line bug reported by F. Lundh. 4. It seemed that the old ConfigParser automatically added the option `name' to every section, which contained the name of the section. This seemed bogus to me so I took it out. | ||||
* | Fix two smal memory leaks discovered by Vadim Chugunov. | Guido van Rossum | 1998-07-01 | 1 | -3/+2 |
| | |||||
* | Disable malloc debug in frozen programs. | Jack Jansen | 1998-07-01 | 1 | -1/+1 |
| | |||||
* | The init routine for MacOS had a non-standard name. Changed to | Jack Jansen | 1998-07-01 | 2 | -3/+3 |
| | | | | initMacOS(). | ||||
* | Convert \n to \r in strings that are displayed in the dialogs. | Jack Jansen | 1998-07-01 | 1 | -8/+19 |
| | |||||
* | Fix the \kbd definition so it didn't leave the courier face on. | Fred Drake | 1998-07-01 | 1 | -1/+1 |
| | |||||
* | Mark the actual SMTP commands (HELO, etc.) the same way FTP & NNTP commands | Fred Drake | 1998-07-01 | 1 | -29/+36 |
| | | | | | | are in the appropriate sections. Some minor nits. |