summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters2000-07-2245-1526/+704
| | | | declarations yet, those come later.
* Fix two instances of empty argument lists, and fix styleThomas Wouters2000-07-221-79/+78
| | | | ('PyObject** x' -> 'PyObject **x')
* Remove unused variable.Thomas Wouters2000-07-221-1/+0
|
* Remove unused helper-function 'posix_strint'.Thomas Wouters2000-07-221-18/+0
|
* Mark Favas's fix for typos in docstrings.Thomas Wouters2000-07-221-4/+4
|
* Added a few docstringsPaul Prescod2000-07-211-0/+7
|
* Added docstringsPaul Prescod2000-07-211-5/+71
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-2159-117/+103
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* Small fixes by Petru Paler (patch #100946) checked in with esr's approval.Thomas Wouters2000-07-211-2/+2
|
* added doc for isatty()Skip Montanaro2000-07-191-0/+6
|
* restructured a bit and added some more content...Skip Montanaro2000-07-191-53/+142
|
* make TestFailed a class exceptionSkip Montanaro2000-07-191-1/+2
|
* added rewritten normpath from Moshe Zadka that does the right thing withSkip Montanaro2000-07-191-23/+18
| | | | paths containing ..
* added documentation for new functions {get,set}_history_lengthSkip Montanaro2000-07-191-0/+11
|
* added history file truncation based upon code from Johannes Zellner.Skip Montanaro2000-07-191-0/+42
|
* Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)Thomas Wouters2000-07-192-10/+8
|
* ANSIfy the just-checked-in isatty() wrapper.Thomas Wouters2000-07-191-3/+1
|
* new method isatty from Thomas WoutersSkip Montanaro2000-07-191-0/+16
|
* 'carb' resource for carbon application.Jack Jansen2000-07-181-0/+15
|
* Some thanks weren't checked in yet.Jack Jansen2000-07-181-2/+2
|
* MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵Jack Jansen2000-07-182-1/+17
| | | | (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.
* Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined.Jack Jansen2000-07-181-0/+3
|
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-183-1218/+1227
| | | | use "cvs diff -b" to verify.
* Fixed problems with UTF error reporting macros and some formatting bugs.Marc-André Lemburg2000-07-171-45/+64
|
* Restore PyXXX_Length() APIs for binary compatibility.Marc-André Lemburg2000-07-172-6/+42
| | | | | | New code will see the macros and therefore use the PyXXX_Size() APIs instead. By Thomas Wouters.
* gcc is being stupid with if/else constructsGreg Stein2000-07-171-6/+14
| | | | clean out some other warnings
* * split on / or \Skip Montanaro2000-07-171-3/+5
| | | | * case insensitive comparison
* damn! cut-n-paste from ntpath forgot the "import re"Skip Montanaro2000-07-171-0/+1
|
* * split on / or \Skip Montanaro2000-07-171-6/+3
| | | | * case insensitive
* At GVR's request.Paul Prescod2000-07-161-344/+0
|
* stop messing around with goto and just write the macro correctly.Greg Stein2000-07-161-7/+6
|
* Online help facility for the Python interprter and other interactivePaul Prescod2000-07-161-0/+344
| | | | environments.
* More of Rob W. W. Hooft's spelling fixes. The only ones left now are theThomas Wouters2000-07-165-12/+12
| | | | | | | | | | | distutils patches, which I'll leave to the distutils maintainers. Tip: review the patch like this: grep "^[\!+-] " <patchfile> To get a quick and easy way to review the actual changes. Most of the changes are single-line ones, anyway.
* Rob W. W. Hooft's spelling fixes for the Library Reference. I hopeThomas Wouters2000-07-1661-92/+92
| | | | | | | | | SourceForge doesn't choke on this batch :-) I'm not entirely sure this is 100% correct. The patch changes an \index{persistency} to \index{presistence}, and I don't know what \index{} does. But it seems to do so persi--er, consistently, so I hope it isn't a problem.
* - change \x to mean "byte" also in unicode literalsFredrik Lundh2000-07-161-3/+5
| | | | (patch #100912)
* Fix fatal compiler (MSVC6) error:Tim Peters2000-07-161-0/+1
| | | | | unicodeobject.c(735) : error C2143: syntax error : missing ';' before '}'
* split and join on "/" in commonprefixSkip Montanaro2000-07-161-6/+3
|
* Fix to a bug found by Florian Weimer:Marc-André Lemburg2000-07-161-1/+2
| | | | | | | | | | | | | | | | The UTF-8 decoder is still buggy (i.e. it doesn't pass Markus Kuhn's stress test), mainly due to the following construct: #define UTF8_ERROR(details) do { \ if (utf8_decoding_error(&s, &p, errors, details)) \ goto onError; \ continue; \ } while (0) (The "continue" statement is supposed to exit from the outer loop, but of course, it doesn't. Indeed, this is a marvelous example of the dangers of the C programming language and especially of the C preprocessor.)
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-16102-184/+184
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is aThomas Wouters2000-07-162-2/+2
| | | | genuine bug, so I checked it in separately.
* Implemented getdefaultlocale() for macintosh, after an idea by Fredrik.Jack Jansen2000-07-151-2/+10
|
* Modified the standard mac preamble so we include pymactoolbox.h inJack Jansen2000-07-151-35/+1
| | | | stead of defining lots of function prototypes in each module.
* ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so theJack Jansen2000-07-151-0/+1
| | | | new comment patterns get included.
* Oops, forgot to run autoheader before checking in the _getpty move toThomas Wouters2000-07-151-0/+3
| | | | posixmodule.
* -- fixed the comment, tooFredrik Lundh2000-07-151-3/+3
|
* -- note to self: wait until 'cvs commit' has finished beforeFredrik Lundh2000-07-151-3/+2
| | | | you edit the file.
* -- changed default encoding to "ascii". you can still changeFredrik Lundh2000-07-151-17/+13
| | | | the default via site.py...
* Fix in PyList_New(). With GC enabled and when out of memory,Vladimir Marangozov2000-07-151-1/+1
| | | | free() the GC pointer, not the object pointer.
* Break a cycle created in the saboteur() function.Vladimir Marangozov2000-07-151-2/+5
|
* Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.Jack Jansen2000-07-149-83/+0
|