On May 5, 2012, at 4:46 PM, Markus Spoettl wrote:

> On 05.05.12 23:07, Martin Wierschin wrote:
>> So, when using a binary search, I get different answers depending on the 
>> other strings in the list!
> 
> Seems to work for me:
> 
> On 10.7.3, Xcode 4.3.1, for both locale en_US and locale de_AT I get:
> 
> [...]
> 
> Are you sure your debugger isn't lying to you? Maybe you have category on 
> NSString that does that?

I was able to reproduce the issue that Martin reported.  I had to set my system 
Region to Germany.  It didn't happen with it set to United States.  Also, I had 
to start a new instance of Python, which is where I did my testing.

Tested on Mac OS X 10.6.8.

Markus, how did you set the locale?

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to