summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When representing #includes as imports, do from MOD import *.Martin v. Löwis2001-08-091-1/+1
|
* Patch #437683: Use re instead of regex.Martin v. Löwis2001-08-091-33/+38
| | | | | | | If multiple header files are processed simultaneously which include each other, the corresponding modules mport each other. Specifically, if h2py is invoked with sys/types.h first, later header files won't contain the complete contents of TYPES.py.
* Move IPv6 test further down so that usage of -lnsl has been tested.Martin v. Löwis2001-08-092-692/+710
| | | | Recognize Solaris IPv6 by checking /etc/netconfig.
* Patch #433537: Cache ac_cv_bad_static_forward.Martin v. Löwis2001-08-092-523/+537
| | | | Also move up AC_AIX and AC_MINIX further up.
* Michael Hudson correctly pointed out we should cvsignore pyconfig.h, notThomas Wouters2001-08-091-1/+1
| | | | | config.h (anymore). People will still have to delete config.h from their source trees manually :)
* Patch #448474: Add support for tell() and seek() to gzip.GzipFile.Martin v. Löwis2001-08-093-4/+60
|
* In the acks, CamelCase InstallMaster the same way Wise does it.Tim Peters2001-08-091-1/+1
|
* Add a comma.Tim Peters2001-08-081-1/+1
|
* Mark binary operators as done.Guido van Rossum2001-08-081-1/+2
| | | | | (This file could stand some reorganization -- it's hard to tell the open items apart from those that are done or nearly done.)
* Give some special thanks on the final "Installation Completed!" screen.Tim Peters2001-08-081-1/+21
|
* A test suite for binary operators, disguised as a rational numberGuido van Rossum2001-08-081-0/+340
| | | | class.
* Proper support for binary operators, including true division and floorGuido van Rossum2001-08-081-136/+199
| | | | | | | | | | | | | | | division. The basic binary operators now all correctly call the __rxxx__ variant when they should. In type_new(), I now make the new type a new-style number unless it inherits from an old-style number that has numeric methods. By way of cosmetics, I've changed the signatures of the SLOT<i> macros to take actual function names and operator names as strings, rather than rely on C preprocessor symbol manipulations. This makes the calls slightly more verbose, but greatly helps simple searches through the file: you can now find out where "__radd__" is used or where the function slot_nb_power() is defined and where it is used.
* Resource files for OSX Python.framework. Incomplete, and they should probablyJack Jansen2001-08-083-0/+49
| | | | | eventually be generated so version numbers and such are automatically correct, but they do the job for now.
* Typo fix (spelling mistake in error message).Greg Ward2001-08-081-1/+1
|
* Thanks toTim Peters2001-08-083-4/+5
| | | | | | | | | LettError, Erik van Blokland, http://www.letterror.com/ the Python Windows installer finally has an attractive Pythonic bitmap to delight the senses and dampen the fears of the millions and millions of eager new Windows users anticipating their first Python programming joy. Always knew Mac users secretly wanted to switch to Windows <wink>.
* Patch #422471: Install IDLE Help FileMartin v. Löwis2001-08-081-1/+1
|
* Add the new Tools/compiler/README to the WIndows install, as README.txt.Tim Peters2001-08-082-4/+11
| | | | | | In the Wise installer's "Advanced Options" dialog, substitute in the actual name of "the system directory" -- this is clearer, and especially for people reading this dialog who aren't me <wink>.
* Added documentation for PyNumber_*FloorDivide(), PyNumber_*TrueDivide(),Fred Drake2001-08-081-48/+138
| | | | | | | PyInterpreterState_*Head(), PyInterpreterState_Next(), and PyThreadState_Next(). Wrapped some long lines, added some others.
* Added README to this directoryAndrew M. Kuchling2001-08-081-0/+21
|
* Reference counting information for PyNumber_*FloorDivide() andFred Drake2001-08-081-0/+16
| | | | PyNumber_*TrueDivide().
* Remove 6-year old hack to worm around a bug in "NextSpec/Sparc 3.3Tim Peters2001-08-081-12/+0
| | | | pre-release limits.h".
* Added note to self about __new__ issue.Guido van Rossum2001-08-081-0/+9
|
* Patch #449083: Use builtins to initalize the module.Martin v. Löwis2001-08-081-7/+7
|
* Removed extraneous semicolons that caused a gazzilion "empty declaration" ↵Jack Jansen2001-08-081-49/+49
| | | | warnings in the MetroWerks compiler.
* Adapted for pymactoolbox.c and changed externals elsewhere.Jack Jansen2001-08-084-2/+0
|
* Got rid of unused includes.Jack Jansen2001-08-081-22/+2
|
* Various fixes to streamline build process on Mac OS X:Jack Jansen2001-08-082-387/+432
| | | | | | | | | | | - Give a warning if you're on a case-insensitive filesystem and have not specified --with-suffix. - Don't require --with-dyld, it is now default for OSX/Darwin (suggested by Martin v. Loewis) - Don't define _POSIX_THREADS on Darwin, it's done by standard headers already (fix by Tony Lownds) - Don't use the Mac subtree anymore, the routines relevant to OSX/Darwin have moved to a new file Python/mactoolboxglue.c.
* - Don't return mac-style pathnames in unix-Python.Jack Jansen2001-08-082-168/+79
| | | | | - Fixed up a lot more prototypes (gcc also wants them on static routines) - Fixed various other gcc warnings.
* Removed special rule for Mac/Python/macglue.o, it is not needed anymore.Jack Jansen2001-08-081-3/+0
|
* Split macglue.c into two: a new mactoolboxglue.c (in ./Python)Jack Jansen2001-08-084-403/+478
| | | | | | | | | | | | with functionality needed for both unix-Python and MacPython and a new smaller ./Mac/Python/macglue.c which contains MacPython stuff only. pymactoolbox.h has moved to ./Include from ./Mac/Include and now also contains the relevant stuff from macglue.h. The net effect of this is that the ./Mac subdirectory is not needed anymore for building the unix-Python core on MacOSX (it is needed for building the extension modules).
* Put conditional S_IFMT definition into pyport.h.Martin v. Löwis2001-08-081-5/+0
|
* Remove redundant check for 'getaddrinfo' (it's already checked the blockThomas Wouters2001-08-081-1/+1
| | | | before.)
* Put conditional S_ISDIR definition(s) into pyport.h.Martin v. Löwis2001-08-084-14/+14
|
* Merged in bugfix from PyUnit CVS for problem reported by Gary Todd.Steve Purcell2001-08-081-3/+4
| | | | | | | | | If 'unittest.py' was run from the command line with the name of a test case class as a parameter, it failed with an ugly error. (Which was a shame, because the documentation says you can do that.) The problem was the old 'is the class X that you imported from me the same as my class X?' gotcha.
* Regenerated token.py to account for new DOUBLESLASH and DOUBLESLASHEQUAL.Tim Peters2001-08-081-3/+5
|
* Repair the Windows build (S_ISDIR() macro doesn't exist).Tim Peters2001-08-081-1/+1
| | | | | Somebody else should feel free to repair this a different way; see Python- Dev for discussion.
* Add option to push the development docs to SF without announcing, forFred Drake2001-08-081-2/+9
| | | | when the changes are just too small.
* More names....Fred Drake2001-08-081-0/+2
|
* Clean up some of the markup here -- be more consistent in the use ofFred Drake2001-08-081-9/+9
| | | | semantic labels instead of presentational markup.
* "Thin" version of floor division docs: add // to the list of operatorsFred Drake2001-08-081-3/+3
| | | | | | and //= to the list of other delimiter tokens. I'll work on it again when it's not so late...
* Patch #448227: Raise an exception when a directory is passed to execfile.Martin v. Löwis2001-08-081-4/+23
|
* Add new tokens // and //=, in support of PEP 238.Guido van Rossum2001-08-081-0/+1
|
* Implement PEP 238 in its (almost) full glory.Guido van Rossum2001-08-0819-226/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | This introduces: - A new operator // that means floor division (the kind of division where 1/2 is 0). - The "future division" statement ("from __future__ import division) which changes the meaning of the / operator to implement "true division" (where 1/2 is 0.5). - New overloadable operators __truediv__ and __floordiv__. - New slots in the PyNumberMethods struct for true and floor division, new abstract APIs for them, new opcodes, and so on. I emphasize that without the future division statement, the semantics of / will remain unchanged until Python 3.0. Not yet implemented are warnings (default off) when / is used with int or long arguments. This has been on display since 7/31 as SF patch #443474. Flames to /dev/null.
* beginning of work on the conf. handling smartsSteven M. Gava2001-08-081-11/+25
|
* Commented out most of the MacPython modules. There is a discussion on theJack Jansen2001-08-081-25/+25
| | | | | | pythonmac-sig about turning this all into a package, so in the mean time there is no reason to scribble all over people's disks. Interested parties can uncomment them.
* Part of SF patch [#431848] mathmodule.c: doc strings & conversion, fromTim Peters2001-08-071-15/+18
| | | | | | Peter Schneider-Kamp. Clarified some docstrings in the spirit of the patch; left out the degrees() and radians() functions (see the patch comments on SF).
* Fix SF bug [ #447370 ] typo in urllib2.pyJeremy Hylton2001-08-071-7/+9
| | | | | | | | | Also fix another bug caught by pychecker-- HTTPError() raised when redirect limit exceed did not pass an fp object. Had to change method to keep fp object around until it's certain that the error won't be raised. Remove useless line in do_proxy().
* Apply two small changes to the Windows code, according to SF bugGuido van Rossum2001-08-071-2/+2
| | | | | #427345. These are supposed to support binary data and avoid buffering problems on Windows.
* Remove make_re() function; this is no longer needed since _sre and pcreFred Drake2001-08-071-10/+0
| | | | | | | are now allowed by ok_builtin_modules. This effectively backs out revision 1.26. This closes SF bug #448546.
* Add a test that xml.sax.saxutils.XMLGenerator does the right thingFred Drake2001-08-072-1/+18
| | | | | | when quoting attribute values that contain single & double quotes. This provides the rest of the regression test for SF bug #440351.