summaryrefslogtreecommitdiffstats
path: root/Modules/cdmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Oops, forgot one.Guido van Rossum1997-10-011-1/+1
|
* Renamed but not well tested.Roger E. Masse1997-01-031-273/+278
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-1/+1
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Use newgetargs instead of getargs.Sjoerd Mullender1995-03-281-167/+146
| | | | | | | | Check if objects are closed in getattr function instead of in each method. Removed functions sbtoa and timetoa. Added functions msftoframe. Added variables that used to be in standard module CD.
* 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.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-32/+32
|
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-171-6/+6
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * 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
* Changed an ifdef from IRIX_405 to CDsetcallback.Sjoerd Mullender1992-09-251-1/+1
|
* Defined exception cd.error which is used for errors other thanSjoerd Mullender1992-09-241-28/+37
| | | | TypeError, MemoryError and such.
* * Makefile: cosmeticsGuido van Rossum1992-08-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* cdmodule.c: 2 minor changes by Sjoerd.Guido van Rossum1992-08-031-3/+13
|
* Wanneer er geen disk in de speler zit falen sommige routines. DeGuido van Rossum1992-05-061-58/+58
| | | | | | | | | exceptie heeft nu in dat geval als argument "no disc in player", behalve wanneer de bibliotheek routine errno zet. In dat laatste geval wordt (nog steeds) err_errno() gebruikt. Wanneer een routine uit de bibliotheek faalt wordt nu altijd een IOError gegenereerd. Een RuntimeError treedt alleen op bij verkeerde argumenten.
* Don't use \ for continuation lines; minor changes.Guido van Rossum1992-05-061-10/+4
|
* Return more structured data in some casesGuido van Rossum1992-04-151-16/+13
|
* Initial revisionGuido van Rossum1992-04-131-0/+889