Jeremy Fincher
50d390ece4
Added a reset method, a couple more tests, and fixed a slight bug (IndexError being raised from the wrong place)
2005-02-25 09:44:51 +00:00
James Vega
0fde2393e6
Update usage of utils.iter functions.
2005-01-31 15:22:48 +00:00
Jeremy Fincher
5fd6bbb52d
Completely restructured our utils modules.
...
Tons of changes. Here's the summary of things that matter most:
* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
* It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary. It's
premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon. That'll be the
next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
5019d10a1b
Updated license years.
2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339
Initial import.
2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9
Add supybot module
2007-04-22 20:10:26 +00:00
Jeremy Fincher
383559e479
Added MultiSet.
2004-10-24 07:34:12 +00:00
James Vega
50973a10fb
Remove #! lines.
2004-09-20 03:01:50 +00:00
Jeremy Fincher
e44f7ab50c
Fixed bug #1019387 . Again.
2004-09-14 17:12:21 +00:00
Jeremy Fincher
cf52bf14a3
Fixes for TimeoutQueue.
2004-09-08 22:52:30 +00:00
Jeremy Fincher
13e77bac41
Added TimeoutQueue.
2004-09-01 21:58:21 +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
cafd724d30
PyChecker fixes.
2004-08-11 13:51:15 +00:00
Jeremy Fincher
6dd8693daa
No one's using this WorkQueue crap; I didn't really mean for it to be committed.
2004-08-04 04:50:59 +00:00
Jeremy Fincher
a7dcf7604b
Removed PersistentDictionary.
2004-07-29 06:58:42 +00:00
Jeremy Fincher
f9c61271ea
w00, less path mungingEXCLAIMEXCLAIM
2004-07-24 05:18:26 +00:00
James Vega
315810d08e
yay! no more stray whitespace
2004-07-21 19:36:35 +00:00
Jeremy Fincher
a95f1bc28c
Added resize operation to RingBuffer and make IrcState use it.
2004-07-21 05:05:16 +00:00
Jeremy Fincher
9a907277c1
Changed reviter to reversed.
2004-04-20 09:51:20 +00:00
Jeremy Fincher
a4284e7924
Added __revision__ strings.
2003-11-25 08:38:19 +00:00
Jeremy Fincher
eb6e112f70
Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically).
2003-11-15 04:37:04 +00:00
Jeremy Fincher
288dc6cf4c
Changed repr to pprint.pformat.
2003-10-30 02:20:36 +00:00
Jeremy Fincher
7d960ca4c6
Added PersistentDictionary.flush.
2003-10-24 09:57:54 +00:00
Jeremy Fincher
b9434a23a6
Added PersistentDictionary.
2003-10-24 09:53:03 +00:00
Jeremy Fincher
121be3d9cf
Made the constructor take dictionaries.
2003-10-16 19:40:14 +00:00
Jeremy Fincher
f392696d98
Added TwoWayDictionary.
2003-10-16 19:36:33 +00:00
Jeremy Fincher
ae61e178ec
Added reset() to smallqueue.
2003-10-09 03:59:36 +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
d4ba047b2f
Added smallqueue class.
2003-10-04 13:20:41 +00:00
Jeremy Fincher
b1e6cc53ac
Added a reset method to RingBuffer and queue.
2003-08-26 16:38:28 +00:00
Jeremy Fincher
a11873a260
Must've missed some sliceIndices conversion.
2003-08-22 23:10:08 +00:00
Jeremy Fincher
ca646716b1
Removed spaces at the end of lines.
2003-08-20 16:26:23 +00:00
Jeremy Fincher
230020ad5f
Removed sliceIndices and replaced all uses with slice.indices. Yay 2.3
2003-08-19 10:41:19 +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
b1a1c85a17
Fixed bug in queue.__{get,set}item__.
2003-06-03 03:24:06 +00:00
Jeremy Fincher
76539b36ef
Made it so if IndexError is raised, the data structure isn't modified in __delitem__
2003-06-02 06:47:53 +00:00
Jeremy Fincher
66497f1f4e
Added __delitem__ (untested, though)
2003-05-29 17:06:04 +00:00
Jeremy Fincher
26a457920e
Added slice support to queue.
2003-04-29 13:00:43 +00:00
Jeremy Fincher
ff54eecefc
Swapped implementation of MaxLengthQueue.
2003-04-22 11:16:03 +00:00
Jeremy Fincher
fe2f2c1ac0
Swapped implementation of MaxLengthQueue.
2003-04-22 11:15:15 +00:00
Jeremy Fincher
25daf96a9c
Enabled __slots__ on RingBuffer.
2003-04-22 11:02:39 +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
ca4ad3882f
Initial import.
2003-04-22 08:27:11 +00:00