summaryrefslogtreecommitdiffstats
path: root/Modules/stropmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leaks in join & joinfieldsGuido van Rossum1993-11-051-11/+25
|
* Added rindex(). index() and rindex() interpret negative start indexGuido van Rossum1993-10-261-5/+41
| | | | as normal indexing does.
* Several optimizations and speed improvements.Sjoerd Mullender1993-10-221-18/+25
| | | | cstubs: Use Matrix type instead of float[4][4].
* Bug fix: check whether call succeeded *after* the call.Sjoerd Mullender1993-09-141-1/+1
|
* * config.c: different default PYTHONPATH for MS-DOSGuido van Rossum1993-07-091-4/+34
| | | | | | | * timemodule.c: change #ifdef TURBO_C into #ifdef MSDOS * posixmodule.c: MSDOS changes by Marcel van der Peijl (Digicash) * stropmodule.c: use C isspace(c) to test for whitespace; add whitespace, lowercase and uppercase variables to the module.
* stropmodule.c: use C isspace(c) to test for whitespace; addGuido van Rossum1993-07-081-7/+19
| | | | whitespace variable to module dict.
* * 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
* * config.c: Added audioop to lists.Guido van Rossum1992-11-261-0/+65
| | | | | | | | | * Makefile: change default source directory * socketmodule.c: added getsockname and getpeername * bltinmodule.c: corrected typo in type() error message * Added new built-in functions str() and repr(): repr(x) == `x`; str(x) == x if x is a string, otherwise str(x) == repr(x). * Added joinfields to stropmodule.c (string.join calls joinfields now)
* Makefile uses $> more often; cgen supports filename argument; addedGuido van Rossum1992-09-111-0/+108
| | | | lower, upper and swapcase to strop; cosmetics.
* Re-implement some operations from string.py in C, for speed.Guido van Rossum1992-09-031-0/+201