summaryrefslogtreecommitdiffstats
path: root/Modules/mpzmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed a few symbols that were found in comments.Barry Warsaw1996-12-091-6/+6
|
* Renamed, ungrandly. We don't have the GNU MP library here so we can'tBarry Warsaw1996-12-091-278/+291
| | | | | | really test this module, or even compile it without a lot of work. I'll make a note of it that this has not been tested!
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Changes by Rob Hooft for GMP 2.0.2Guido van Rossum1996-08-191-10/+29
|
* add some castsGuido van Rossum1995-02-101-3/+3
|
* cosmetic changes so these modules will work with the strict new naming schemeGuido van Rossum1995-01-101-2/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-5/+19
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-18/+22
|
* * mpzmodule.c: cast some methods to the proper type.Guido van Rossum1993-12-171-6/+8
| | | | | | | * traceback.c (tb_print): use sys.tracebacklimit as a maximum number of traceback entries to print (default 1000). * ceval.c (printtraceback): Don't print stack trace header -- this is now done by tb_print().
* * mpzmodule.c: removed redundant mpz_print function.Guido van Rossum1993-11-051-19/+1
| | | | | | | | | | | | | | * object.[ch], bltinmodule.c, fileobject.c: changed str() to call strobject() which calls an object's __str__ method if it has one. strobject() is also called by writeobject() when PRINT_RAW is passed. * ceval.c: rationalize code for PRINT_ITEM (no change in function!) * funcobject.c, codeobject.c: added compare and hash functionality. Functions with identical code objects and the same global dictionary are equal. Code objects are equal when their code, constants list and names list are identical (i.e. the filename and code name don't count). (hash doesn't work yet since the constants are in a list and lists can't be hashed -- suppose this should really be done with a tuple now we have resizetuple!)
* * mymalloc.h: always allocate one extra byte, since some malloc'sGuido van Rossum1992-12-141-0/+1808
return NULL for malloc(0) or realloc(p, 0). (This should be done differently than wasting one byte, but alas...) * Moved "add'l libraries" option in Makefile to an earlier place. * Remove argument compatibility hacks (b) and (c). * Add grey2mono, dither2mono and mono2grey to imageop. * Dup the fd in socket.fromfd(). * Added new modules mpz, md5 (by JH, requiring GNU MP 1.2). Affects Makefile and config.c. * socketmodule.c: added socket.fromfd(fd, family, type, [proto]), converted socket() to use of getargs().