summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added PyObject_AsFileDescriptor, which checks for integer, long integer,Andrew M. Kuchling2000-07-132-0/+59
| | | | or .fileno() method
* ANSI-fication (got lost in the deep seas of source forge <wink>)Peter Schneider-Kamp2000-07-131-195/+60
|
* fix PyXXX_Length macros as suggested by FredJeremy Hylton2000-07-131-3/+3
|
* Patch by Toby Dickenson, mentored by Mark Hammond, to supportGuido van Rossum2000-07-134-7/+62
| | | | | automatically finding (most of) the standard PYD extensions, and to remove the hardcoded Python version.
* Apply Greg Kochanski's fix for open/265.Eric S. Raymond2000-07-131-4/+1
|
* Fix bug open/243 reported by Dimitri PapadopoulosEric S. Raymond2000-07-131-1/+2
|
* just fixing the indentationPeter Schneider-Kamp2000-07-131-1/+1
|
* raise error on duplicate function argumentsPeter Schneider-Kamp2000-07-131-1/+10
| | | | | | | | example: >>> def f(a,a):print a ... SyntaxError: duplicate argument in function definition
* Improve the descriptions of expected exceptions for __getitem__(),Fred Drake2000-07-131-4/+14
| | | | | __setitem__(), and __delitem__(). Based on related comments from Barry Warsaw.
* From Sam Rushing's Medusa, via SF patch #100858: add & documentAndrew M. Kuchling2000-07-135-141/+263
| | | | os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
* forgot to change copy.copy(m) to m[:]Skip Montanaro2000-07-131-2/+2
|
* Propagate the current exception in get_inprogress_dict() -- it doesn'tVladimir Marangozov2000-07-121-1/+0
| | | | need to be cleared.
* deleted obsolete SYMANTEC__CFM68K__ testsSkip Montanaro2000-07-121-8/+0
|
* delete obsolete SYMANTEC__CFM68K__ #ifdefsSkip Montanaro2000-07-124-20/+0
|
* fixed semantics of commonprefix to work by path elements instead ofSkip Montanaro2000-07-124-12/+53
| | | | characters.
* replace PyXXX_Length calls with PyXXX_Size callsJeremy Hylton2000-07-1214-29/+30
|
* change abstract size functions PySequence_Size &c.Jeremy Hylton2000-07-123-15/+21
| | | | add macros for backwards compatibility with C source
* Add "exceptions" to list of built-in modules for the sake ofGuido van Rossum2000-07-121-0/+1
| | | | | | sys.builtin_module_names. (Noticed by Toby Dickenson.) [Tim, please test!]
* Add "exceptions" to list of built-in modules for the sake ofGuido van Rossum2000-07-121-0/+1
| | | | sys.builtin_module_names. (Noticed by Toby Dickenson.)
* Fixed up some ANSIfications.Sjoerd Mullender2000-07-122-5/+5
|
* apply patch #100868 from Moshe Zadka:Greg Stein2000-07-121-5/+10
| | | | refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst)
* debug_instance(): Use the same %p format directive as withBarry Warsaw2000-07-121-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 Marangozov2000-07-122-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 theFred Drake2000-07-121-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 Drake2000-07-121-5/+5
| | | | so we get better error messages.
* Documentation for the gc module. Text from Neil SchemenauerFred Drake2000-07-123-0/+108
| | | | | <nascheme@enme.ucalgary.ca>, markup & minor revisions from Fred Drake.
* Worm around MSVC6 error on single string literal > 2Kb.Tim Peters2000-07-121-2/+7
|
* Remove extra argument to method callAndrew M. Kuchling2000-07-121-1/+1
|
* Checks whether right shift extends the sign bit.Vladimir Marangozov2000-07-121-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 Marangozov2000-07-121-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 messageAndrew M. Kuchling2000-07-121-1/+1
|
* Resynchronize the TeX docs with (a) the module docstring, and (b) my recentEric S. Raymond2000-07-121-2/+2
| | | | fix to the code to make it behave like the module docstring.
* Fix bugs in readinst():Andrew M. Kuchling2000-07-121-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. Kuchling2000-07-121-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 Marangozov2000-07-121-1/+1
|
* new test for posixpath moduleSkip Montanaro2000-07-121-0/+2
|
* new test file for posixpath moduleSkip Montanaro2000-07-121-0/+42
|
* Errare humanum est.Peter Schneider-Kamp2000-07-111-1/+1
| | | | Changed parameter in getsockaddrlen from unsigned to socklen_t.
* Got rid of __SC__ ifdefs.Jack Jansen2000-07-113-12/+0
|
* Include macglue.h for some function prototypes, and renamed a fewJack Jansen2000-07-113-3/+10
| | | | mac-specific functions to have a PyMac_ name.
* Include macglue.h on the macintosh, so function prototypes are in scope.Jack Jansen2000-07-111-0/+4
|
* One more include of limits.h (possibly to be moved elsewhere when there isJack Jansen2000-07-111-0/+3
| | | | consensus where it should go).
* Removed guesstabsize.c, which is obsolete.Jack Jansen2000-07-112-63/+0
|
* - Removed guesstabsize.c, which is obsolete.Jack Jansen2000-07-111-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 Jansen2000-07-1119-41/+83
| | | | | | needed header files included.
* Added a declaration of fileno() if we use GUSI. Not sure whether it should ↵Jack Jansen2000-07-111-0/+5
| | | | go here or in pyport.h really...
* Fiddled declaration/implementation of setcallback() so that it is ansifyable.Jack Jansen2000-07-112-8/+16
|
* small updates to string_join:Jeremy Hylton2000-07-112-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 functionJeremy Hylton2000-07-111-13/+0
|
* ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.Jack Jansen2000-07-116-33/+33
|