- 09 Aug, 2001 1 commit
-
-
Tim Peters authored
-
- 08 Aug, 2001 38 commits
-
-
Tim Peters authored
-
Guido van Rossum authored
(This file could stand some reorganization -- it's hard to tell the open items apart from those that are done or nearly done.)
-
Tim Peters authored
-
Guido van Rossum authored
class.
-
Guido van Rossum authored
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.
-
Jack Jansen authored
eventually be generated so version numbers and such are automatically correct, but they do the job for now.
-
Greg Ward authored
-
Tim Peters authored
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>.
-
Martin v. Löwis authored
-
Tim Peters authored
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>.
-
Fred Drake authored
PyInterpreterState_*Head(), PyInterpreterState_Next(), and PyThreadState_Next(). Wrapped some long lines, added some others.
-
Andrew M. Kuchling authored
-
Fred Drake authored
PyNumber_*TrueDivide().
-
Tim Peters authored
pre-release limits.h".
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Jack Jansen authored
Removed extraneous semicolons that caused a gazzilion "empty declaration" warnings in the MetroWerks compiler.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
- 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.
-
Jack Jansen authored
- Fixed up a lot more prototypes (gcc also wants them on static routines) - Fixed various other gcc warnings.
-
Jack Jansen authored
-
Jack Jansen authored
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).
-
Martin v. Löwis authored
-
Thomas Wouters authored
before.)
-
Martin v. Löwis authored
-
Steve Purcell authored
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.
-
Tim Peters authored
-
Tim Peters authored
Somebody else should feel free to repair this a different way; see Python- Dev for discussion.
-
Fred Drake authored
when the changes are just too small.
-
Fred Drake authored
-
Fred Drake authored
semantic labels instead of presentational markup.
-
Fred Drake authored
and //= to the list of other delimiter tokens. I'll work on it again when it's not so late...
-
Martin v. Löwis authored
-
Guido van Rossum authored
-
Guido van Rossum authored
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.
-
Steven M. Gava authored
-
Jack Jansen authored
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.
-
- 07 Aug, 2001 1 commit
-
-
Tim Peters authored
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).
-