Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | From Sam Rushing's Medusa, via SF patch #100858: add & document | Andrew M. Kuchling | 2000-07-13 | 5 | -141/+263 |
| | | | | os.seteuid(), os.setegid(), os.setreuid(), os.setregid(). | ||||
* | forgot to change copy.copy(m) to m[:] | Skip Montanaro | 2000-07-13 | 1 | -2/+2 |
| | |||||
* | Propagate the current exception in get_inprogress_dict() -- it doesn't | Vladimir Marangozov | 2000-07-12 | 1 | -1/+0 |
| | | | | need to be cleared. | ||||
* | deleted obsolete SYMANTEC__CFM68K__ tests | Skip Montanaro | 2000-07-12 | 1 | -8/+0 |
| | |||||
* | delete obsolete SYMANTEC__CFM68K__ #ifdefs | Skip Montanaro | 2000-07-12 | 4 | -20/+0 |
| | |||||
* | fixed semantics of commonprefix to work by path elements instead of | Skip Montanaro | 2000-07-12 | 4 | -12/+53 |
| | | | | characters. | ||||
* | replace PyXXX_Length calls with PyXXX_Size calls | Jeremy Hylton | 2000-07-12 | 14 | -29/+30 |
| | |||||
* | change abstract size functions PySequence_Size &c. | Jeremy Hylton | 2000-07-12 | 3 | -15/+21 |
| | | | | add macros for backwards compatibility with C source | ||||
* | Add "exceptions" to list of built-in modules for the sake of | Guido van Rossum | 2000-07-12 | 1 | -0/+1 |
| | | | | | | sys.builtin_module_names. (Noticed by Toby Dickenson.) [Tim, please test!] | ||||
* | Add "exceptions" to list of built-in modules for the sake of | Guido van Rossum | 2000-07-12 | 1 | -0/+1 |
| | | | | sys.builtin_module_names. (Noticed by Toby Dickenson.) | ||||
* | Fixed up some ANSIfications. | Sjoerd Mullender | 2000-07-12 | 2 | -5/+5 |
| | |||||
* | apply patch #100868 from Moshe Zadka: | Greg Stein | 2000-07-12 | 1 | -5/+10 |
| | | | | refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst) | ||||
* | debug_instance(): Use the same %p format directive as with | Barry Warsaw | 2000-07-12 | 1 | -6/+3 |
| | | | | | | debug_cycle(), and don't cast the pointer to a long. Neither needs the literal `0x' prefix as %p automatically inserts this (on Linux at least). | ||||
* | Second try: checks whether right shift extends the sign bit. | Vladimir Marangozov | 2000-07-12 | 2 | -17/+32 |
| | | | | | Adds caching and reverts back the 'return' to 'exit()' in AC_TRY_RUN as recommended by the Autoconf documentation. | ||||
* | Convert coding style to be internally consistent and similar to the | Fred Drake | 2000-07-12 | 1 | -545/+531 |
| | | | | | rest of the Python C code: space between "if", "for" and "(", no space between "(", ")" and function call parameters, etc. | ||||
* | Always use the :funcname part of the format specifier for PyArg_ParseTuple() | Fred Drake | 2000-07-12 | 1 | -5/+5 |
| | | | | so we get better error messages. | ||||
* | Documentation for the gc module. Text from Neil Schemenauer | Fred Drake | 2000-07-12 | 3 | -0/+108 |
| | | | | | <nascheme@enme.ucalgary.ca>, markup & minor revisions from Fred Drake. | ||||
* | Worm around MSVC6 error on single string literal > 2Kb. | Tim Peters | 2000-07-12 | 1 | -2/+7 |
| | |||||
* | Remove extra argument to method call | Andrew M. Kuchling | 2000-07-12 | 1 | -1/+1 |
| | |||||
* | Checks whether right shift extends the sign bit. | Vladimir Marangozov | 2000-07-12 | 1 | -415/+423 |
| | | | | | | | Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine (in main(), use return instead of exit). Closes patch #100832 | ||||
* | Checks whether right shift extends the sign bit. | Vladimir Marangozov | 2000-07-12 | 1 | -0/+13 |
| | | | | | | | | Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine (in main(), use return instead of exit). Closes patch #100832 (but I can't assign it to myself, nor close it -- sorry) | ||||
* | Fix typo in error message | Andrew M. Kuchling | 2000-07-12 | 1 | -1/+1 |
| | |||||
* | Resynchronize the TeX docs with (a) the module docstring, and (b) my recent | Eric S. Raymond | 2000-07-12 | 1 | -2/+2 |
| | | | | fix to the code to make it behave like the module docstring. | ||||
* | Fix bugs in readinst(): | Andrew M. Kuchling | 2000-07-12 | 1 | -10/+25 |
| | | | | | | | | * There was no error reported if the .read() method returns a non-string * If read() returned too much data, the buffer would be overflowed causing a core dump * Used strncpy, not memcpy, which seems incorrect if there are embedded \0s. * The args and bytes objects were leaked | ||||
* | Patch #100854 from jhylton: eliminate compiler warnings in pyexpat: | Andrew M. Kuchling | 2000-07-12 | 1 | -21/+22 |
| | | | | | | | | The first two warnings seem harmless enough, but the last one looks like a potential bug: an uninitialized int is returned on error. (I also ended up reformatting some of the code, because it was hard to read.) | ||||
* | Fix mixed mallocs: re->re_patbuf.buffer is allocated with std malloc(). | Vladimir Marangozov | 2000-07-12 | 1 | -1/+1 |
| | |||||
* | new test for posixpath module | Skip Montanaro | 2000-07-12 | 1 | -0/+2 |
| | |||||
* | new test file for posixpath module | Skip Montanaro | 2000-07-12 | 1 | -0/+42 |
| | |||||
* | Errare humanum est. | Peter Schneider-Kamp | 2000-07-11 | 1 | -1/+1 |
| | | | | Changed parameter in getsockaddrlen from unsigned to socklen_t. | ||||
* | Got rid of __SC__ ifdefs. | Jack Jansen | 2000-07-11 | 3 | -12/+0 |
| | |||||
* | Include macglue.h for some function prototypes, and renamed a few | Jack Jansen | 2000-07-11 | 3 | -3/+10 |
| | | | | mac-specific functions to have a PyMac_ name. | ||||
* | Include macglue.h on the macintosh, so function prototypes are in scope. | Jack Jansen | 2000-07-11 | 1 | -0/+4 |
| | |||||
* | One more include of limits.h (possibly to be moved elsewhere when there is | Jack Jansen | 2000-07-11 | 1 | -0/+3 |
| | | | | consensus where it should go). | ||||
* | Removed guesstabsize.c, which is obsolete. | Jack Jansen | 2000-07-11 | 2 | -63/+0 |
| | |||||
* | - Removed guesstabsize.c, which is obsolete. | Jack Jansen | 2000-07-11 | 1 | -0/+0 |
| | | | | - ANSIfication step 3: enable "require prototypes" flags. Still lots of warnings, mainly on init routines and bgen stuff. | ||||
* | ANSIfication step 2: make sure all needed prototypes are available, and all ↵ | Jack Jansen | 2000-07-11 | 19 | -41/+83 |
| | | | | | | needed header files included. | ||||
* | Added a declaration of fileno() if we use GUSI. Not sure whether it should ↵ | Jack Jansen | 2000-07-11 | 1 | -0/+5 |
| | | | | go here or in pyport.h really... | ||||
* | Fiddled declaration/implementation of setcallback() so that it is ansifyable. | Jack Jansen | 2000-07-11 | 2 | -8/+16 |
| | |||||
* | small updates to string_join: | Jeremy Hylton | 2000-07-11 | 2 | -6/+12 |
| | | | | | | | use PyString_AS_STRING macro on local string object when resizing string, make sure resized string will always be big enough split string containing error message across two lines add test to string_tests that causes resizing | ||||
* | satisfy the -Wall: remove two unused local variables and unused ins function | Jeremy Hylton | 2000-07-11 | 1 | -13/+0 |
| | |||||
* | ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO. | Jack Jansen | 2000-07-11 | 6 | -33/+33 |
| | |||||
* | Fix incomplete merge of Ping's SyntaxError enhancement patch (my fault). | Fred Drake | 2000-07-11 | 1 | -1/+1 |
| | | | | Comment change only. | ||||
* | Moshe Zadka <mzadka@geocities.com>: | Fred Drake | 2000-07-11 | 1 | -8/+29 |
| | | | | | | | | | | Update the "in" / "not in" description to accomodate the current use of the __contains__() discipline. This patch also incorporates suggestions from Marc-Andre Lemburg <mal@lemburg.com>, minor markup revisions from Fred Drake, and some rewording of the first affected paragraph (also from Fred). Closes SourceForge patch #100831. | ||||
* | Create two new exceptions: IndentationError and TabError. These are | Fred Drake | 2000-07-11 | 10 | -19/+80 |
| | | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856. | ||||
* | fixed a warning in getsockaddrlen | Peter Schneider-Kamp | 2000-07-11 | 1 | -1/+1 |
| | |||||
* | add expandtabs command (-e) | Peter Schneider-Kamp | 2000-07-11 | 1 | -37/+64 |
| | | | | change eliminate to delete (-d) | ||||
* | Change the table in the pyexpat.errors module to a series of datadesc | Fred Drake | 2000-07-11 | 1 | -21/+64 |
| | | | | | | | | elements (since the table was pretty screwed up); this is how it is done elsewhere in the manual. I could use some help creating descriptions of the specific error identifiers (input conditions that lead to each error, etc.). | ||||
* | fix bug #42 reported by Andrew Dalke | Jeremy Hylton | 2000-07-11 | 5 | -27/+2 |
| | | | | | | | | | | | | | | The Compare close contains a close method that checks to see if there is any unconsumed data in the Compare instance; i.e. if the canonical output file contains more data than was produced by the current test run. This method was never called, allowing differences to go undetected. Fix is to call close after the test is run (after __import__) output/test_long and output/test_popen2 needed trivial changes output/test_select contained lots of text, but test_select.py produced no output | ||||
* | Neil Schemenauer <nascheme@enme.ucalgary.ca>: | Fred Drake | 2000-07-11 | 1 | -4/+4 |
| | | | | | | | Change a cast, intialize a local, and make some sprintf() format strings type-appropriate (add the "l" to "%d"). Closes SourceForge patch #100737. | ||||
* | Bug fix: ? and ! were not full aliases for `help' and `shell' as implied in | Eric S. Raymond | 2000-07-11 | 1 | -6/+6 |
| | | | | the documentation; the cases `? foo' and `! foo' failed. |