| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Recognize Solaris IPv6 by checking /etc/netconfig.
|
|
|
|
| |
Also move up AC_AIX and AC_MINIX further up.
|
|
|
|
|
| |
config.h (anymore). People will still have to delete config.h from their
source trees manually :)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(This file could stand some reorganization -- it's hard to tell the
open items apart from those that are done or nearly done.)
|
| |
|
|
|
|
| |
class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
eventually be generated so version numbers and such are automatically
correct, but they do the job for now.
|
| |
|
|
|
|
|
|
|
|
|
| |
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>.
|
| |
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
| |
PyInterpreterState_*Head(), PyInterpreterState_Next(), and
PyThreadState_Next().
Wrapped some long lines, added some others.
|
| |
|
|
|
|
| |
PyNumber_*TrueDivide().
|
|
|
|
| |
pre-release limits.h".
|
| |
|
| |
|
|
|
|
| |
warnings in the MetroWerks compiler.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
- Fixed up a lot more prototypes (gcc also wants them on static routines)
- Fixed various other gcc warnings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
before.)
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Somebody else should feel free to repair this a different way; see Python-
Dev for discussion.
|
|
|
|
| |
when the changes are just too small.
|
| |
|
|
|
|
| |
semantic labels instead of presentational markup.
|
|
|
|
|
|
| |
and //= to the list of other delimiter tokens.
I'll work on it again when it's not so late...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
| |
#427345. These are supposed to support binary data and avoid
buffering problems on Windows.
|
|
|
|
|
|
|
| |
are now allowed by ok_builtin_modules. This effectively backs out
revision 1.26.
This closes SF bug #448546.
|
|
|
|
|
|
| |
when quoting attribute values that contain single & double quotes.
This provides the rest of the regression test for SF bug #440351.
|