Commit Graph

70 Commits

Author SHA1 Message Date
Jeremy Fincher
f61591016b Added a test for random.choice behavior. 2004-10-10 03:55:29 +00:00
Jeremy Fincher
3a408f3dd9 Fixed our lack of raising IndexError on random.choice applied to sequences. 2004-10-10 03:39:59 +00:00
James Vega
50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00
Jeremy Fincher
19c9868597 Updated a docstring and added an assert. 2004-09-12 20:28:30 +00:00
Jeremy Fincher
d95759931e Elucidation is important. 2004-09-06 08:00:18 +00:00
James Vega
e22c732d14 Stupid keyboard 2004-09-06 00:54:27 +00:00
James Vega
48d312bab7 Fix a bug with adding __revision__ info to Exception 2004-09-06 00:51:53 +00:00
Jeremy Fincher
7afea527fa Slight optimization. 2004-09-01 12:56:19 +00:00
Jeremy Fincher
445e76bef7 Fixed fix in the interpreter. 2004-09-01 12:33:22 +00:00
Jeremy Fincher
74763d4dec Added exception revision logging. 2004-08-30 20:06:05 +00:00
Jeremy Fincher
00409b53da Fix for stupid socket module problems. 2004-08-26 21:49:40 +00:00
Jeremy Fincher
fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
Jeremy Fincher
0f598271dc Speeling fixes. 2004-08-18 23:15:27 +00:00
Jeremy Fincher
76a79b0d76 New Dunno implementation. 2004-08-05 03:59:40 +00:00
Jeremy Fincher
494352b8ce Tyop. 2004-04-20 10:36:53 +00:00
Jeremy Fincher
d3d43f8a0c Various sorted updates (pun intended, punks :)) 2004-04-20 10:11:27 +00:00
Jeremy Fincher
9a907277c1 Changed reviter to reversed. 2004-04-20 09:51:20 +00:00
Jeremy Fincher
96838d0dbc Removed catch, moved curry to utils.py 2004-04-20 09:44:58 +00:00
Jeremy Fincher
04876865f1 Added a proper random.choice implementation that works with non-sequence iterables. 2004-04-17 16:35:31 +00:00
Jeremy Fincher
1654a35766 Added trueCycle in preparation for the new registry stuff for multiple servers per network. 2004-03-30 08:32:55 +00:00
Jeremy Fincher
b9483aee3b Added itemgetter and attrgetter to operator. 2004-03-01 18:15:21 +00:00
Jeremy Fincher
9f766c154a Added itertools.groupby. 2004-02-21 10:29:10 +00:00
Jeremy Fincher
d7dfff7f1e Added __revision__ strings. 2003-11-25 17:33:58 +00:00
Jeremy Fincher
93f02aa959 Added curry to fix.py, converted some code to use it. 2003-11-04 08:26:54 +00:00
Jeremy Fincher
5e3c5fc703 Faster implementations for all/any. 2003-10-11 03:20:51 +00:00
Jeremy Fincher
4b0ecc94e5 Changed __all__ to the empty list so people won't misuse fix.py. 2003-10-08 20:57:29 +00:00
Jeremy Fincher
970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
Jeremy Fincher
bbf367f1d3 Added __all__. 2003-10-04 14:58:04 +00:00
Jeremy Fincher
71fcfb8db9 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:29:58 +00:00
Jeremy Fincher
ff2e043f00 Added docstring for rsplit. 2003-10-03 00:08:30 +00:00
Jeremy Fincher
a13c8ab528 Removed the old sys.path-munging code now that we're disutil'ed. 2003-09-24 07:28:25 +00:00
Jeremy Fincher
f325de3a76 Thought of a bug, wrote a test, discovered it was a bug, fixed it. 2003-09-22 13:04:15 +00:00
Jeremy Fincher
1ac029a54c Added rsplit function. 2003-09-22 09:13:40 +00:00
Jeremy Fincher
dd6f5de32e Minor cosmetic changes. 2003-09-05 18:54:35 +00:00
Jeremy Fincher
f65829b768 Moved several things from fix.py to utils.py. 2003-09-04 20:42:37 +00:00
Jeremy Fincher
adbd4fd23b Guarded the sys.path.insert. 2003-08-27 07:46:19 +00:00
Jeremy Fincher
a7826bdc34 Added any/all sequence predicates. 2003-08-23 12:08:14 +00:00
Jeremy Fincher
bdd66dbd5e Removed comments; removed zipiter (no one used it, and itertools.izip is available now). Added docstrings to all remaining non-docstringed functions. 2003-08-23 05:53:20 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
62fbcccdf4 Removed enumerate. 2003-08-17 08:43:23 +00:00
Jeremy Fincher
b299a564ce Added a noneFill parameter to group. 2003-08-17 06:24:58 +00:00
Jeremy Fincher
2760c1bce0 Added group and test for group. 2003-08-11 07:12:41 +00:00
Jeremy Fincher
031c81e937 Added ilen, a function to return the length of an iterator. 2003-08-07 06:13:11 +00:00
Jeremy Fincher
36996dd3cf Updated stuff for 2.3 to break 2.2 compatibility :) 2003-08-07 02:48:44 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
b7cb48b19b Added flip function. 2003-07-30 21:47:21 +00:00
Jeremy Fincher
ce6b03d52f Added a few important helper methods. 2003-04-29 07:36:18 +00:00
Jeremy Fincher
45b4d95184 Moved data structures from fix to structures; changed implementation of MaxLengthQueue to a RingBuffer. 2003-04-22 11:00:28 +00:00
Jeremy Fincher
67e072c746 Changed implementation of queue. 2003-04-21 05:17:06 +00:00
Jeremy Fincher
e1dfcbd390 Added partition to facilitate bugfix in irclib.Irc.removeCallback. 2003-04-20 17:17:50 +00:00