[issue14621] Hash function is not randomized properly

2012-11-29 Thread Łukasz Rekucki
Łukasz Rekucki added the comment: Note that a few weeks ago, Ruby has switched from Murmur to SipHash for this exact reason: http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/ -- nosy: +Łukasz.Rekucki ___ Python tracker

[issue5965] Format Specs: doc 's' and implicit conversions

2010-01-05 Thread Łukasz Rekucki
Łukasz Rekucki added the comment: I see a problem with silently converting types without __format__() using str(). The user may write `"{:10s}".format(some_obj)`, which will work as long as some_obj doesn't have a formatter of it's own. If I later on, decide I want

[issue7641] Built-in Formatter accepts undocumented presentation type

2010-01-05 Thread Łukasz Rekucki
New submission from Łukasz Rekucki : The documentation states: "Most built-in types implement the following options for format specifications, although some of the formatting options are only supported by the numeric types." The list doesn't include "s" presentatio