summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
Commit message (Collapse)AuthorAgeFilesLines
* Changes for slice and ellipsesGuido van Rossum1996-07-301-0/+7
|
* Py_complex; and WITHOUT_COMPLEX added to getargs.cGuido van Rossum1996-07-211-1/+1
|
* Jeremy's patches for more robust handling of unmarshallable types.Guido van Rossum1996-06-261-5/+22
|
* Plug memory leak (variable names in code objects were being leaked!)Guido van Rossum1996-05-281-0/+1
|
* changes for complex numbersGuido van Rossum1996-01-121-0/+47
|
* Made a bit more robust against out-of-memory situationsJack Jansen1995-10-271-12/+35
|
* rd_object() with exception is fatal errorGuido van Rossum1995-08-281-0/+1
|
* keyword arguments and faster callsGuido van Rossum1995-07-181-3/+13
|
* various tuple related optimizations; remove unused b/w compat code from ceval.cGuido van Rossum1995-03-091-9/+18
|
* hope to fix DEC Alpha gcc problems by declaring ints instead of longsGuido van Rossum1995-02-171-9/+9
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | | bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
* Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum1995-01-021-0/+8
| | | | | | err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c.
* Plug memory leak for code objectsGuido van Rossum1994-10-051-0/+1
|
* Merge back to main trunkGuido van Rossum1994-08-301-16/+3
|
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-051-1/+0
| | | | | | | | | | | | * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
* Several changes in one:Guido van Rossum1993-05-191-9/+6
| | | | | | | | | | | | | | | | (1) dictionaries/mappings now have attributes values() and items() as well as keys(); at the C level, use the new function mappinggetnext() to iterate over a dictionary. (2) "class C(): ..." is now illegal; you must write "class C: ...". (3) Class objects now know their own name (finally!); and minor improvements to the way how classes, functions and methods are represented as strings. (4) Added an "access" statement and semantics. (This is still experimental -- as long as you don't use the keyword 'access' nothing should be changed.)
* Support for frozen scripts; added -i option.Guido van Rossum1993-04-011-1/+15
|
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-1/+3
| | | | | | | | | | | | | | | | | * 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
* Added separate main program for the Mac: macmain.cGuido van Rossum1993-01-211-95/+256
| | | | | | | | | | | | | | | | | | | | | stdwinmodule.c: wsetfont can now return an error Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around New things in imgfile; also in Makefile. longobject.c: fix comparison of negative long ints... [REAL BUG!] marshal.c: add dumps() and loads() to read/write strings timemodule.c: make sure there's always a floatsleep() posixmodule.c: rationalize struct returned by times() Makefile: add test target, disable imgfile by default thread.c: Improved coexistance with dl module (sjoerd) stdwinmodule.c: Change include stdwin.h if macintosh rotormodule.c: added missing last argument to RTR_?_region calls confic.c: merged with configmac.c, added 1993 to copyright message fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef timemodule.c: simplify times() using mkvalue; include myselect.h earlier (for sequent). posixmodule: for sequent, include unistd.h instead of explicit extern definitions and don't define rename() Makefile: change misleading/wrong MD5 comments
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Shut up lint.Guido van Rossum1992-03-271-2/+2
|
* Use new exceptions.Guido van Rossum1991-12-101-6/+6
|
* Use dict2lookup.Guido van Rossum1991-08-161-1/+1
|
* Add marshalling for dictionaries.Guido van Rossum1991-06-071-1/+33
|
* Declare errno, for prehistoric systems.Guido van Rossum1991-06-041-0/+1
|
* Initial revisionGuido van Rossum1991-06-041-0/+340