summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Base address updates for bug #442142 - DLL base assignments need updateMark Hammond2001-09-061-7/+27
|
* First part of fix for bug #442142 - DLL base assignments need updateMark Hammond2001-09-067-14/+16
|
* Dubious assumptions:Tim Peters2001-09-061-5/+10
| | | | | | | | | | | 1. That seeking beyond the end of a file increases the size of a file. 2. That files so extended are magically filled with null bytes. I find no support for either in the C std, and #2 in particular turns out not to be true on Win32 (you apparently see whatever trash happened to be on disk). Left #1 intact, but changed the test to check only bytes it explicitly wrote. Also fiddled the "expected" vs "got" failure reports to consistently use repr (%r) -- they weren't readable otherwise.
* Enable large file support on Win32 systems.Tim Peters2001-09-065-8/+15
| | | | | | | | | Curious: the MS docs say stati64 etc are supported even on Win95, but Win95 doesn't support a filesystem that allows partitions > 2 Gb. test_largefile: This was opening its test file in text mode. I have no idea how that worked under Win64, but it sure needs binary mode on Win98. BTW, on Win98 test_largefile runs quickly (under a second).
* Better error msg for 3-arg pow with a float argument.Tim Peters2001-09-051-1/+1
|
* Fix for bug #442374 - Modulefinder registry support brokenMark Hammond2001-09-051-13/+36
|
* Add PyMethod_Function(), PyMethod_Self(), PyMethod_Class() back.Guido van Rossum2001-09-052-0/+34
| | | | | | While not even documented, they were clearly part of the C API, there's no great difficulty to support them, and it has the cool effect of not requiring any changes to ExtensionClass.c.
* Rework the way we try to check for libm overflow, given that C99 no longerTim Peters2001-09-056-64/+54
| | | | | | | | | | | | | | | requires that errno ever get set, and it looks like glibc is already playing that game. New rules: + Never use HUGE_VAL. Use the new Py_HUGE_VAL instead. + Never believe errno. If overflow is the only thing you're interested in, use the new Py_OVERFLOWED(x) macro. If you're interested in any libm errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts to set errno the way C89 said it worked. Unfortunately, none of these are reliable, but they work on Windows and I *expect* under glibc too.
* Rudimentary makefile for building the executable to go into aJack Jansen2001-09-051-0/+18
| | | | | | fullblown OSX application. It is starting to work, but building the application bundle is still handwork, and we need a minimal readme file too.
* Changes to make these work under OSX as the main program for aJack Jansen2001-09-052-53/+113
| | | | | | | | | | fullblown drag and drop application. To my surprise it is starting to work already: Python actually executes a script dropped on it. To be done: - Make sure this still works in MacPython - Don't lose argv[0] in the process - Applet support
* Python is a Shell, not a Viewer.Jack Jansen2001-09-051-1/+1
|
* LongReprTest fails on the Mac because it uses filenames with more thanJack Jansen2001-09-051-1/+2
| | | | | | 32 characters per component. This makes mkdir() calls and such fail with EINVAL. For now I am disabling the test on the Mac, and I'll open a bugreport.
* Use the build directory by default, and update the version.Guido van Rossum2001-09-051-9/+12
|
* Class FieldStorage: add two new methods, getfirst() and getlist(),Guido van Rossum2001-09-051-0/+22
| | | | | | that provide a somewhat more uniform interface to getting values. This is from SF patch #453691.
* class Listbox: add itemcget, to satisfy SF patch #457713.Guido van Rossum2001-09-051-1/+5
| | | | Fix up docstring for itemconfigure.
* typo...Skip Montanaro2001-09-051-1/+1
|
* SF bug #427073: DLINCLDIR defined incorrectly (Skip Montanaro).Guido van Rossum2001-09-052-3/+3
| | | | | | I don't know what difference it makes, but '/' indeed makes less sense as an include dir than '.', so I'm changing the default. Just so I can close the bug. ;-)
* Change the date field to use $Date$ so it won't be outrageously out ofGuido van Rossum2001-09-051-1/+1
| | | | date.
* Document -Q. Move arguments around to be in strict alphabeticalGuido van Rossum2001-09-051-25/+43
| | | | order. Add breaks in SYNOPSIS.
* Describe -E (which was added to 2.2a2).Guido van Rossum2001-09-051-0/+7
|
* [ #458701 ] Patch to zipfile.py for JavaFinn Bock2001-09-051-5/+9
| | | | | Patch by Jim Ahlstrom which lets java's zipfile classes read zipfiles create by zipfile.py.
* Remove a debug print left in the code by Fred.Guido van Rossum2001-09-051-1/+0
|
* Patch #449815: Set filesystemencoding based on CODESET.Martin v. Löwis2001-09-053-3/+40
|
* A few more gcc warnings bite the dust.Jack Jansen2001-09-055-11/+28
|
* Move UnixWare 7 defines to acconfig.h, regenerate pyconfig.h.in.Martin v. Löwis2001-09-052-0/+16
|
* Changes to automatically enable large file support on some systems.Guido van Rossum2001-09-055-374/+496
| | | | | | | | | | | | | | | | | | | | | I believe this works on Linux (tested both on a system with large file support and one without it), and it may work on Solaris 2.7. The changes are twofold: (1) The configure script now boldly tries to set the two symbols that are recommended (for Solaris and Linux), and then tries a test script that does some simple seeking without writing. (2) The _portable_{fseek,ftell} functions are a little more systematic in how they try the different large file support options: first try fseeko/ftello, but only if off_t is large; then try fseek64/ftell64; then try hacking with fgetpos/fsetpos. I'm keeping my fingers crossed. The meaning of the HAVE_LARGEFILE_SUPPORT macro is not at all clear. I'll see if I can get it to work on Windows as well.
* Note some changes that I need to write aboutAndrew M. Kuchling2001-09-051-0/+10
|
* Patch #453627: Define the following macros when compiling on a UnixWare 7.x ↵Martin v. Löwis2001-09-054-4/+59
| | | | | | | system: SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES. Work aroudn a bug in the SCO UnixWare atan2() implementation.
* Patch #453627: Adds a list of tests that are expected to be skipped for ↵Martin v. Löwis2001-09-051-0/+24
| | | | UnixWare 7.x systems.
* Patch #455231: Support ELF properly on OpenBSD.Martin v. Löwis2001-09-053-267/+249
|
* Patch #428326: New class threading.Timer.Martin v. Löwis2001-09-053-1/+69
|
* builtin_execfile(): initialize another local that the GCC on leroyGuido van Rossum2001-09-051-1/+1
| | | | found it necessary to warn about.
* Implement PEP250: Use Lib/site-packages under windows.Thomas Heller2001-09-051-311/+306
| | | | | | | | | bdist_wininst doesn't use the NT SCHEME any more, instead a custom SCHEME is used, which is exchanged at installation time, depending on the python version used. Avoid a bogus warning frpom install_lib about installing into a directory not on sys.path.
* [Bug #404274] Restore some special-case code for AIX and BeOS under 1.5.2.Andrew M. Kuchling2001-09-051-1/+28
| | | | | This will have to stay until we decide to drop 1.5.2 compatibility completely.
* Shut up many more gcc warnings.Jack Jansen2001-09-0531-110/+186
|
* Only output the buffer size error label if it is used.Jack Jansen2001-09-052-3/+7
| | | | Shuts up another couple of gcc warnings.
* Use -fPIC instead of -fpic for gcc on HP/UX. Fixes bug #433234.Martin v. Löwis2001-09-052-3/+3
|
* Check for RFC 2553 API. Fixes bug #454493.Martin v. Löwis2001-09-052-309/+348
|
* Make the error msgs in our pow() implementations consistent.Tim Peters2001-09-053-8/+15
|
* Repair indentation.Tim Peters2001-09-051-5/+5
|
* Try to recover from that glibc's ldexp apparently doesn't set errno onTim Peters2001-09-052-2/+22
| | | | | overflow. Needs testing on Linux (test_long.py and test_long_future.py especially).
* loghelper(): Try to nudge the compiler into doing mults in an order thatTim Peters2001-09-051-1/+1
| | | | minimizes roundoff error.
* Another / that should be a // (previously not caught because ofGuido van Rossum2001-09-051-1/+1
| | | | incomplete coverage of the test suite).
* Add a test for the final branch in repr.Repr.repr1(), which deals withGuido van Rossum2001-09-051-0/+5
| | | | a default repr() that's longer than 20 characters.
* Return reasonable results for math.log(long) and math.log10(long) (we wereTim Peters2001-09-053-7/+104
| | | | | | getting Infs, NaNs, or nonsense in 2.1 and before; in yesterday's CVS we were getting OverflowError; but these functions always make good sense for positive arguments, no matter how large).
* Mechanical fiddling to make this easier to work with in my editor.Tim Peters2001-09-041-18/+12
| | | | Repaired the ldexp docstring (said the name of the func was "ldexp_doc").
* Added prototypes to shut gcc -Wstrict-prototypes up.Jack Jansen2001-09-041-4/+2
|
* Shut up a few more gcc warnings.Jack Jansen2001-09-042-2/+2
|
* Added prototypes to silence gcc strict-prototype warnings.Jack Jansen2001-09-042-141/+48
| | | | Fixed a few missing return values.
* Regenerated without default int return types.Jack Jansen2001-09-0417-33/+35
|