homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dima.Tisnek
Recipients Dima.Tisnek, alex, bls, gvanrossum, jafo, mark.dickinson, milko.krachounov, rhettinger, tebeka, terry.reedy
Date 2014年01月13日.11:15:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389611734.44.0.673450607362.issue4356@psf.upfronthosting.co.za>
In-reply-to
Content
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, ...)
History
Date User Action Args
2014年01月13日 11:15:34Dima.Tisneksetrecipients: + Dima.Tisnek, gvanrossum, rhettinger, terry.reedy, jafo, tebeka, mark.dickinson, alex, milko.krachounov, bls
2014年01月13日 11:15:34Dima.Tisneksetmessageid: <1389611734.44.0.673450607362.issue4356@psf.upfronthosting.co.za>
2014年01月13日 11:15:34Dima.Tisneklinkissue4356 messages
2014年01月13日 11:15:34Dima.Tisnekcreate

AltStyle によって変換されたページ (->オリジナル) /