History log of /external/python/cpython3/Include/longintrepr.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62 06-Sep-2016 Benjamin Peterson <benjamin@python.org> replace Python aliases for standard integer types with the standard integer types (#17884)
/external/python/cpython3/Include/longintrepr.h
4fe55106d1bd99015b18118bf1067a1189e070ea 06-Sep-2016 Benjamin Peterson <benjamin@python.org> require standard int types to be defined (#17884)
/external/python/cpython3/Include/longintrepr.h
9594942716a8f9c557b85d31751753d89cd7cebf 27-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
/external/python/cpython3/Include/longintrepr.h
1919b7e72bc43315b32f38a6f5f01e8c717907f4 21-Mar-2012 Stefan Krah <skrah@bytereef.org> Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
/external/python/cpython3/Include/longintrepr.h
4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 03-Dec-2010 Martin v. Löwis <martin@v.loewis.de> Merge branches/pep-0384.
/external/python/cpython3/Include/longintrepr.h
0a1efd0e4ce407b32854cfb8838ffbcf2a32481c 16-Sep-2009 Mark Dickinson <dickinsm@gmail.com> Issue #6713: Improve performance of str(n) and repr(n) for integers n
(up to 3.1 times faster in tests), by special-casing base 10 in
_PyLong_Format.
/external/python/cpython3/Include/longintrepr.h
e9eb7b6581bd0a9430a117efcfb1c65658fb4cd6 29-Jun-2009 Mark Dickinson <dickinsm@gmail.com> Merged revisions 73660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r73660 | mark.dickinson | 2009-06-28 23:37:13 +0100 (Sun, 28 Jun 2009) | 1 line

Remove unused stdint.h includes
........
/external/python/cpython3/Include/longintrepr.h
d72c7b671e2d010ea39a8686f89c83612d2d3a76 20-Mar-2009 Mark Dickinson <dickinsm@gmail.com> Add ..versionadded for sys.int_info, update py3k version of
whatsnew/2.7.rst to keep it in sync with the trunk version, and
replace SHIFT with PyLong_SHIFT in #error message
/external/python/cpython3/Include/longintrepr.h
bd7926478de92a2a0ef4440e1a9ae61b706a80d2 18-Mar-2009 Mark Dickinson <dickinsm@gmail.com> Issue #4258: Make it possible to use 30-bit digits for PyLongs:
- new configure option --enable-big-digits
- new structseq sys.int_info giving information about the internal format
By default, 30-bit digits are enabled on 64-bit machines but
disabled on 32-bit machines.
/external/python/cpython3/Include/longintrepr.h
e441674a96b892755fbfe4c1db3101915a3f5edd 15-Feb-2009 Mark Dickinson <dickinsm@gmail.com> A few more type fixes for py3k that were missed in r69635
/external/python/cpython3/Include/longintrepr.h
5a74bf63547fc471022238ea66f61f27ca5b9909 15-Feb-2009 Mark Dickinson <dickinsm@gmail.com> Merged revisions 69634 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r69634 | mark.dickinson | 2009-02-15 10:13:41 +0000 (Sun, 15 Feb 2009) | 6 lines

Issue #5260: Various portability and standards compliance fixes, optimizations
and cleanups in Objects/longobject.c. The most significant change is that
longs now use less memory: average savings are 2 bytes per long on 32-bit
systems and 6 bytes per long on 64-bit systems. (This memory saving already
exists in py3k.)
........
/external/python/cpython3/Include/longintrepr.h
9f2e346911988cda95fec7c901e8d10d34fa9563 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> Merged revisions 56467-56482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

................
r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines

Merged revisions 56466-56476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines

PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
........
................
r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines

PEP 3123: Use proper C inheritance for PyObject.
................
r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines

Add longintrepr.h to Python.h, so that the compiler can
see that PyFalse is really some kind of PyObject*.
................
r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines

Qualify SHIFT, MASK, BASE.
................
r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines

Correctly refer to _ob_next.
................
/external/python/cpython3/Include/longintrepr.h
18e165558b24d29e7e0ca501842b9236589b012a 15-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Merge ssize_t branch.
/external/python/cpython3/Include/longintrepr.h
47e52ee0c5c8868db903d476b49c3368fce4d79a 30-Aug-2004 Tim Peters <tim.peters@gmail.com> SF patch 936813: fast modular exponentiation

This checkin is adapted from part 2 (of 3) of Trevor Perrin's patch set.

BACKWARD INCOMPATIBILITY: SHIFT must now be divisible by 5. AFAIK,
nobody will care. long_pow() could be complicated to worm around that,
if necessary.

long_pow():
- BUGFIX: This leaked the base and power when the power was negative
(and so the computation delegated to float pow).
- Instead of doing right-to-left exponentiation, do left-to-right. This
is more efficient for small bases, which is the common case.
- In addition, if the exponent is large (more than FIVEARY_CUTOFF
digits), precompute [a**i % c for i in range(32)], and go left to
right 5 bits at a time.
l_divmod():
- The signature changed so that callers who don't want the quotient,
or don't want the remainder, can pass NULL in the slot they don't
want. This saves them from having to declare a vrbl for unwanted
stuff, and remembering to decref it.
long_mod(), long_div(), long_classic_div():
- Adjust to new l_divmod() signature, and simplified as a result.
/external/python/cpython3/Include/longintrepr.h
0973b99e1cfe13b3d197e1b6c449a2d75b55d17a 30-Aug-2004 Tim Peters <tim.peters@gmail.com> SF patch 936813: fast modular exponentiation

This checkin is adapted from part 1 (of 3) of Trevor Perrin's patch set.

x_mul()
- sped a little by optimizing the C
- sped a lot (~2X) if it's doing a square; note that long_pow() squares
often
k_mul()
- more cache-friendly now if it's doing a square
KARATSUBA_CUTOFF
- boosted; gradeschool mult is quicker now, and it may have been too low
for many platforms anyway
KARATSUBA_SQUARE_CUTOFF
- new
- since x_mul is a lot faster at squaring now, the point at which
Karatsuba pays for squaring is much higher than for general mult
/external/python/cpython3/Include/longintrepr.h
91a681debf9ffec155d0aff8a0bb5f965f592e16 12-Aug-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_EXPORT from Include.

Thanks to Skip Montanaro and Kalle Svensson for the patches.
/external/python/cpython3/Include/longintrepr.h
03b18834c33dff7b231a22e5da28c8a9f250d1d3 02-Mar-2002 Tim Peters <tim.peters@gmail.com> For clarity, change _longobject to build directly from PyObject_VAR_HEAD
instead of faking it by hand. It *is* a var object, and nothing but
hysterical raisins to pretend it's an oddball.
/external/python/cpython3/Include/longintrepr.h
64b5ce3a69569b203a39f74c5c03348ba0a67583 10-Sep-2001 Tim Peters <tim.peters@gmail.com> SF bug #460020: bug or feature: unicode() and subclasses.
Given an immutable type M, and an instance I of a subclass of M, the
constructor call M(I) was just returning I as-is; but it should return a
new instance of M. This fixes it for M in {int, long}. Strings, floats
and tuples remain to be done.
Added new macros PyInt_CheckExact and PyLong_CheckExact, to more easily
distinguish between "is" and "is a" (i.e., only an int passes
PyInt_CheckExact, while any sublass of int passes PyInt_Check).
Added private API function _PyLong_Copy.
/external/python/cpython3/Include/longintrepr.h
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython3/Include/longintrepr.h
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
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 ;)
/external/python/cpython3/Include/longintrepr.h
7d3a511a40a8c90eac66d3d59edbbe3c3d4559b1 08-Jul-2000 Tim Peters <tim.peters@gmail.com> Cray J90 fixes for long ints.
This was a convenient excuse to create the pyport.h file recently
discussed!
Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a
signed int and you *need* sign-extension. This is #define'd in
pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS.
If you're running on a platform that needs that symbol #define'd,
the std tests never would have worked for you (in particular,
at least test_long would have failed).
The autoconfig stuff got added to Python after my Unix days, so
I don't know how that works. Would someone please look into doing
& testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS
symbol? It needs to be defined if & only if, e.g., (-1) >> 3 is
not -1.
/external/python/cpython3/Include/longintrepr.h
9f688bf9d21547bf7bd6e931c0272abb189c7d8c 07-Jul-2000 Tim Peters <tim.peters@gmail.com> Some cleanup of longs in prepartion for Cray J90 fixes: got
rid of Py_PROTO, switched to ANSI function decls, and did some
minor fiddling.
/external/python/cpython3/Include/longintrepr.h
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython3/Include/longintrepr.h
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython3/Include/longintrepr.h
43466ec7b07de6bcad016bec60839cd6079c5a9c 04-Dec-1998 Guido van Rossum <guido@python.org> Add DL_IMPORT(returntype) for all officially exported functions.
/external/python/cpython3/Include/longintrepr.h
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython3/Include/longintrepr.h
b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d 10-Feb-1995 Guido van Rossum <guido@python.org> make newvarobj's size arg signed
/external/python/cpython3/Include/longintrepr.h
caa63808861d4e92d4dc1005fc01de0f2e4a8fd0 12-Jan-1995 Guido van Rossum <guido@python.org> The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names.
Files that import "Python.h" also only see the new names. Files that
import "allobjects.h" will continue to be able to use the old names,
due to the inclusion (in allobjects.h) of "rename2.h".
/external/python/cpython3/Include/longintrepr.h
5799b520086129ed8aaadeb3b941b3000a42576a 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 copyright.
object.h: made sizes and refcnts signed ints.
stringobject.h: make getstrsize() signed int.
methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
/external/python/cpython3/Include/longintrepr.h
b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af 01-Aug-1994 Guido van Rossum <guido@python.org> Merge alpha100 branch back to main trunk
/external/python/cpython3/Include/longintrepr.h
a3309960a50dbadfd854299e7420223eb8718a56 28-Jul-1993 Guido van Rossum <guido@python.org> * Added support for X11 modules.
* Makefile: change location of FORMS library.
* posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
* Almost all .h files: added CPP magic to avoid duplicate inclusions and
to support inclusion from C++.
/external/python/cpython3/Include/longintrepr.h
9bfef44d97d1ae24e03717e3d59024b44626a9de 29-Mar-1993 Guido van Rossum <guido@python.org> * Changed all copyright messages to include 1993.
* Stubs for faster implementation of local variables (not yet finished)
* Added function name to code object. Print it for code and function
objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version
number has changed accordingly)
* Print address of self for built-in methods
* New internal functions getattro and setattro (getattr/setattr with
string object arg)
* Replaced "dictobject" with more powerful "mappingobject"
* New per-type functio tp_hash to implement arbitrary object hashing,
and hashobject() to interface to it
* Added built-in functions hash(v) and hasattr(v, 'name')
* classobject: made some functions static that accidentally weren't;
added __hash__ special instance method to implement hash()
* Added proper comparison for built-in methods and functions
/external/python/cpython3/Include/longintrepr.h
5113f5fd346c32c98ac46d374e0b5c3dced289a6 05-Apr-1992 Guido van Rossum <guido@python.org> Copyright for 1992 added
/external/python/cpython3/Include/longintrepr.h
3d095434722cb363fb81a1474924f16384d79858 19-Jan-1992 Guido van Rossum <guido@python.org> Move the longobject typedef to longobject.h.
Remove some functions that need not be exported.
/external/python/cpython3/Include/longintrepr.h
badb116f5ea15acf9ebec16c5a0d712e7af23a48 14-May-1991 Guido van Rossum <guido@python.org> Added wdigit and stwodigits typedefs, and changed prototypes.
/external/python/cpython3/Include/longintrepr.h
edcc38aac5cf1a07eb287624b917116ec114ed61 05-May-1991 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython3/Include/longintrepr.h