summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-0146-2346/+1958
|
* Added some names to Setup.in, and added syslogmodule.c.Guido van Rossum1994-07-141-0/+199
| | | | | | posixmodule.c: use pclose, not fclose! selectmodule.c: trap negative fileno's, change some error messages. stropmodule.c: change semantics of rindex to match string.py.
* * tkintermodule.cGuido van Rossum1994-07-071-5/+25
| | | | | | | (PyInit_tkinter): Only create stdin file handler when stdin is a tty. (Tkinter_Cleanup): New function. This is an exit handler that cleanup Tk.
* Initial revisionGuido van Rossum1994-06-271-0/+36
|
* * tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT.Guido van Rossum1994-06-271-13/+13
| | | | | | * tkintermodule.c (FileHandler): Make arg a tuple; bug found by <tnb2d@cs.virginia.edu>. Call the Python file handler function with (file, mask) argument. Fix a few of my refcnt bugs.
* * Modules/signalmodule.c: added thread compatibility (only mainGuido van Rossum1994-06-231-25/+91
| | | | | | thread uses signals); much improved efficiency; intrcheck() doesn't call sigcheck() but only tests and clears the SIGINT tripped flag.
* Split pwd in pwd and grp; added imgformat (by Jack)Guido van Rossum1994-06-231-0/+118
|
* Initial revisionGuido van Rossum1994-06-201-0/+1056
|
* Speed up checking for signals and define intrcheck differentlyGuido van Rossum1994-05-311-6/+14
|
* Added some new modulesGuido van Rossum1994-05-233-161/+355
|
* New experimental modules -- signal and sybaseGuido van Rossum1994-05-112-0/+664
|
* crypt module (Steve M's)Guido van Rossum1994-05-064-320/+37
|
* At the release of 1.0.1.Guido van Rossum1994-02-153-3/+3
|
* Make more robust against Minix and MacGuido van Rossum1994-01-142-5/+22
|
* new file, setup for minixGuido van Rossum1994-01-141-0/+160
|
* Add colon to TESTPATH (oops!)Guido van Rossum1994-01-132-2/+2
|
* Added TESTPATHGuido van Rossum1994-01-132-3/+23
|
* Clarified comments about build process.Guido van Rossum1994-01-112-9/+154
| | | | Removed whitespace from variables used to build PYTHONPATH.
* Integers are specified as "i" and not as "d".Sjoerd Mullender1994-01-071-1/+1
|
* Makefile.pre.in (renamed from Makefile.in.in), makesetup: changes toGuido van Rossum1994-01-041-1/+1
| | | | | | support new build process and VPATH Setup*: disable nis and fix comments rest: fix compiler warnings
* One NULL should have been 0.Sjoerd Mullender1994-01-031-1/+1
|
* Implemented sort of a solution for PYTHONPATH.Guido van Rossum1994-01-031-0/+155
| | | | Added Setup.guido with my own preferences.
* Added George Neville-Neil's timing moduleGuido van Rossum1994-01-022-0/+196
|
* 1994 CopyrightGuido van Rossum1994-01-021-1/+1
|
* Added some files to new moduleGuido van Rossum1994-01-023-0/+302
|
* Added function ttob.Sjoerd Mullender1993-12-241-4/+41
|
* New files.Guido van Rossum1993-12-241-0/+396
|
* ANSIfied somewhat.Sjoerd Mullender1993-12-241-21/+22
|
* rgbimgmodule.c, Makefile, config.c: new module to read RGB image files.Sjoerd Mullender1993-12-214-49/+816
| | | | | | Does not need any SGI-specific libraries. cgen.py, cstubs, Makefile: Generate glmodule.c differently so that it can be compiled using an ANSI compiler.
* almodule.c: added close method, equivalent to closeport.Sjoerd Mullender1993-12-201-0/+1
| | | | thread.h: use PROTO instead of _P for prototypes.
* * Grammar: corrected old typo (class instead of 'class')Guido van Rossum1993-12-201-158/+0
| | | | | | | * dosmodule.c: MSDOS specific stuff from posixmodule.c. * posixmodule.c: removed all MSDOS specific stuff. * tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed parameters (MSC doesn't like this).
* * 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().
* Added minmax function:Sjoerd Mullender1993-12-131-0/+27
| | | | | | -- function of module audioop: minmax (FRAGMENT, WIDTH) Minmax returns a tuple consisting of the minimum and maximum values of all samples in the sound fragment.
* Port to Solaris 2.3.Sjoerd Mullender1993-12-033-6/+39
|
* * timemodule.c: Add hack for Solaris 2.Guido van Rossum1993-11-234-9/+17
| | | | | | | | | | | | | | | * posixmodule.c: don't prototype getcwd() -- it's not portable... * mappingobject.c: double-check validity of last_name_char in dict{lookup,insert,remove}. * arraymodule.c: need memmove only for non-STDC Suns. * Makefile: comment out HTML_LIBS and XT_USE by default * pythonmain.c: don't prototype getopt() -- it's not standardized * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to recvfrom() to (ANY*). * pythonrun.c (initsigs): fix prototype, make it static * intobject.c (LONG_BIT): only #define it if not already defined * classobject.[ch]: remove all references to unused instance_convert() * mappingobject.c (getmappingsize): Don't return NULL in int function.
* * import.c (get_module): total rewrite, to ensure proper search order: forGuido van Rossum1993-11-171-0/+13
| | | | | | | | | | | | | each dir in sys.path, try each possible extension. (Note: C extensions are loaded before Python modules in the same directory, to allow having a C version used when dynamic loading is supported and a Python version as a back-up.) * import.c (reload_module): test for error from getmodulename() * moduleobject.c: implement module name as dict entry '__name__' instead of special-casing it in module_getattr(); this way a module (or function!) can access its own module name, and programs that know what they are doing can rename modules. * stdwinmodule.c (initstdwin): strip ".py" suffix of argv[0].
* * parsermodule.c, Makefile, config.c: rudimentary interface to the PythonGuido van Rossum1993-11-102-0/+115
| | | | | | parser. * mappingobject.c (lookmapping): 'freeslot' was never used due to a bug in the code.
* * posixmodule.c: added set{uid,gid}.Guido van Rossum1993-11-102-2/+44
| | | | | | * {tuple,list,mapping,array}object.c: call printobject with 0 for flags * compile.c (parsestr): use quote instead of '\'' at one crucial point * arraymodule.c (array_getattr): Added __members__ attribute
* * 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!)
* Fix stupib bug in concatenationGuido van Rossum1993-11-051-1/+1
|
* Added execve; change getstrarg into getargs with "s" formatGuido van Rossum1993-11-051-10/+99
|
* Fix memory leaks in join & joinfieldsGuido van Rossum1993-11-051-11/+25
|
* * nismodule.c: database keys and values can contain null bytes. be moreGuido van Rossum1993-11-034-31/+96
| | | | | | | | | | careful about these. * arraymodule.c: added 8 byte swap; added 'i' format character; added reverse() method; rename read/write to fromfile/tofile. * config.c: Set version to 0.9.9++. * rotormodule.c (r_rand): declare k1..k5 as unsigned longs so the shifts will have a well-defined effect independent of word size. * bltinmodule.c: renamed bagof() to filter().
* Fixed a couple of bugs: getargs doesn't use % escapes, and secondsSjoerd Mullender1993-11-021-2/+2
| | | | must be set after timeout is initialized.
* * ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,Guido van Rossum1993-11-011-1/+2
| | | | | | pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
* * selectmodule.c (select_select): timeout argument may be None with sameGuido van Rossum1993-11-011-6/+12
| | | | meaning as no 4th argument
* Hacks for NEXTSTEP.Guido van Rossum1993-11-011-0/+5
|
* Replace <<-13 by >>13. Leave old code in #ifdef BUGGY_CODE_BW_COMPAT.Guido van Rossum1993-11-011-0/+15
|
* Simplify life for md5: include (slightly modified) md5.h and md5c.cGuido van Rossum1993-11-013-5/+414
| | | | | from RFC 1321 here, and point to that RFC instead of a non-existant incompatible file on rsa.com.
* Added rindex(). index() and rindex() interpret negative start indexGuido van Rossum1993-10-261-5/+41
| | | | as normal indexing does.