Message208020
I've worked around this in 2.6/2.7 like this:
class Arr:
def __getitem__(self, i):
return foo(i) # your key function
def __len__(self):
return 10000000 # your max index value
bisect.bisect(Arr(), value, ...) |
|
Date |
User |
Action |
Args |
2014-01-13 11:15:34 | Dima.Tisnek | set | recipients:
+ Dima.Tisnek, gvanrossum, rhettinger, terry.reedy, jafo, tebeka, mark.dickinson, alex, milko.krachounov, bls |
2014-01-13 11:15:34 | Dima.Tisnek | set | messageid: <1389611734.44.0.673450607362.issue4356@psf.upfronthosting.co.za> |
2014-01-13 11:15:34 | Dima.Tisnek | link | issue4356 messages |
2014-01-13 11:15:34 | Dima.Tisnek | create | |
|