summaryrefslogtreecommitdiffstats
path: root/Lib/string.py
Commit message (Collapse)AuthorAgeFilesLines
* default tabsize to 8Guido van Rossum1995-08-101-1/+1
|
* make split and splitfields, join and joinfields synonymsGuido van Rossum1995-06-221-6/+8
|
* add dummy base to atoi/atol; careful about negative start indices in find/countGuido van Rossum1995-03-141-5/+11
|
* * Lib/string.py: find/rfind is now the main implementation andGuido van Rossum1994-08-171-63/+41
| | | | | index/rindex is a wrapper that raises index_error (which is now always ValueError)
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-24/+51
|
* * string.py: added rindex(), rfind(); changed index() to interpretGuido van Rossum1993-11-081-0/+27
| | | | | | | | | | | negative start indices starting from the right. * ftplib.py: debug() -> set_debuglevel(); change demo to use __init__(). * os.py: added execl, execlp, and execvp. * lambda.py: removed (now that we have built-in map, reduce, bagof, lambda) * test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce * commands.py: use os, not posix * test_grammar.py: make it easy to disable non-portable int overflow tests * dis.py: don't abuse range()
* * profile.py, pdb.py: added help() functionGuido van Rossum1993-10-221-1/+33
| | | | | | * builtin.py: b/w compat for builtin -> __builtin__ name change * string.py: added atof() and atol() and corresponding exceptions * test_types.py: added test for list sort with user comparison function
* * pdb.py: set 'privileged' property when evaluating expressionsGuido van Rossum1993-07-291-1/+4
| | | | | * string.py: change whitespace to include \r, \v and \f. When importing strop succeeds, re-evaluate meaning of letters.
* * ftplib.py: added abort() command (sends oob data).Guido van Rossum1993-05-241-2/+9
| | | | | | * Several modules: change "class C(): ..." to "class C: ...". * flp.py: support for frozen forms. * Added string.find() which is like index but returns -1 if not found
* * Fix bug in tzparse.py for DST timezoneGuido van Rossum1993-03-291-1/+3
| | | | | | | * Added whatis command to pdb.py * new module GET.py (GL definitions from <gl/get.h>) * rect.py: is_empty takes a rect as argument, not two points. * Added tests for builtin round() [XXX not yet complete!]
* * mainloop.py: added facility for calling select(). Also addedGuido van Rossum1992-11-261-4/+1
| | | | | | | | embryonic facility for pseudo-modal dialogs. * stdwinevents.py: added modifier masks for key/mouse events * renamed exceptions in nntplib.py * Changed string.join() to call string.joinfields() to profit of strop.joinfields()
* * change default line numbers for 'list' in pdb.pyGuido van Rossum1992-11-051-3/+11
| | | | | | | | | * changed eval() into getattr() in cmd.py * added dirname(), basename() and (dummy) normath() to macpath.py * renamed nntp.py to nntplib.py * Made string.index() compatible with strop.index() * Make string.atoi('') raise string.atoi_error rather than ValueError * Added dirname() and normpath() to posixpath.
* Misc changes and new modules. whrandom is "objectified". SOCKET.pyGuido van Rossum1992-10-181-0/+12
| | | | is moved to the sgi subdirectory.
* New module regsub contains sub(), gsub() and split() as in nawk.Guido van Rossum1992-09-201-3/+2
| | | | | string.splitfields(s, '') now returns [s] as split() in nawk. Added _exit to exported functions of os.
* splitfields(s, '') is illegalGuido van Rossum1992-08-191-1/+5
|
* Removed *.libs (now in ./sgi);Guido van Rossum1992-08-061-2/+6
| | | | | added gettext() method to TextEdit.py; fixed string.atoi() to ignore leading zeros.
* Add function to expand tabs.Guido van Rossum1992-03-271-0/+13
|
* New implementation method for case conversion.Guido van Rossum1992-01-141-10/+8
|
* New == syntaxGuido van Rossum1992-01-011-4/+4
|
* A plus is also a sign!Guido van Rossum1991-08-161-2/+2
|
* Added join() and joinfields() functions.Guido van Rossum1991-04-071-9/+27
| | | | | Fixed center(). Rewrote ljust() and rjust().
* Fix bugf in index -- last char would not be checked.Guido van Rossum1990-12-261-1/+1
|
* Initial revisionGuido van Rossum1990-10-131-0/+129