summaryrefslogtreecommitdiff
path: root/Python/marshal.c
AgeCommit message (Collapse)AuthorLines
1995-03-09various tuple related optimizations; remove unused b/w compat code from ceval.cGuido van Rossum-9/+18
1995-02-17hope to fix DEC Alpha gcc problems by declaring ints instead of longsGuido van Rossum-9/+9
1995-01-04Added 1995 to copyright message.Guido van Rossum-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().
1995-01-02Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum-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.
1994-10-05Plug memory leak for code objectsGuido van Rossum-0/+1
1994-08-30Merge back to main trunkGuido van Rossum-16/+3
1993-07-05* Makefile: added all: and default: targets.Guido van Rossum-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.
1993-05-19Several changes in one:Guido van Rossum-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.)
1993-04-01Support for frozen scripts; added -i option.Guido van Rossum-1/+15
1993-03-29* Changed all copyright messages to include 1993.Guido van Rossum-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
1993-01-21Added separate main program for the Mac: macmain.cGuido van Rossum-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
1992-04-05Copyright for 1992 addedGuido van Rossum-1/+1
1992-03-27Shut up lint.Guido van Rossum-2/+2
1991-12-10Use new exceptions.Guido van Rossum-6/+6
1991-08-16Use dict2lookup.Guido van Rossum-1/+1
1991-06-07Add marshalling for dictionaries.Guido van Rossum-1/+33
1991-06-04Declare errno, for prehistoric systems.Guido van Rossum-0/+1
1991-06-04Initial revisionGuido van Rossum-0/+340