Martin v. Löwis mar...@v.loewis.de added the comment:
U+FFFE is documented as representing an undefined mapping, see
http://docs.python.org/dev/c-api/unicode.html?highlight=charmap#PyUnicode_DecodeCharmap
So the base string case is correct; the derived string implementation also
needs to
New submission from Robin Schreiber robin.schrei...@me.com:
PEP 3121 suggests a new way of Module-initialization, where the module state is
being wrapped inside a dedicate struct, which can be accessed at runtime via
the PyState_FindModule method. For code outside the Init-method, there is no
Serhiy Storchaka storch...@gmail.com added the comment:
What is the use case for passing a string subclass to charmap_decode? Or in
other words, how did you stumble upon the bug?
I stumbled upon it, rewriting the charmap decoder (issue14874). Now
charmap decoder processes the two cases -- a
Serhiy Storchaka storch...@gmail.com added the comment:
U+FFFE is documented as representing an undefined mapping,
Yes, using U+FFFE for representing an undefined mapping in strings is
normal, the question was about string subclasses. And if we will correct
it for string subclasses, how far we
Martin v. Löwis mar...@v.loewis.de added the comment:
U+FFFE is documented as representing an undefined mapping,
Yes, using U+FFFE for representing an undefined mapping in strings is
normal, the question was about string subclasses.
What is the question? U+FFFE also represents an undefined
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25875/ship4.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25872/ship1.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25880/ship9.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25873/ship2.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25885/ship14.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25886/ship15.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25887/ship16.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25891/ship20.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25892/ship21.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25894/ship23.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25895/ship24.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25874/ship3.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25876/ship5.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25877/ship6.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25898/ship27.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25878/ship7.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25879/ship8.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25899/ship28.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25881/ship10.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25882/ship11.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25901/ship30.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25883/ship12.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25884/ship13.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25903/ship32.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25888/ship17.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25889/ship18.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25890/ship19.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25893/ship22.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25906/ship35.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25896/ship25.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25897/ship26.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25908/ship37.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25900/ship29.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25902/ship31.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25904/ship33.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25911/ship40.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25905/ship34.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25912/ship41.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25907/ship36.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25909/ship38.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25910/ship39.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25913/ship42.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25915/ship44.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25914/ship43.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25916/ship45.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25917/ship46.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25918/ship47.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25919/ship48.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25920/ship49.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25921/ship50.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25922/ship51.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25923/ship52.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25924/ship53.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25925/ship54.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25926/ship55.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25927/ship56.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25928/ship57.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25929/ship58.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25930/ship59.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25931/ship60.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Changes by Fyrn Jilot fyrn7...@yahoo.com:
Added file: http://bugs.python.org/file25932/ship61.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
Petr Kubat killm...@gmail.com added the comment:
Is anyone still working on this? If not I would like to make this work.
Although I'm not exactly sure how to tackle this problem since the built-in
help function is defined as a wrapper around pydoc.help and so the docstring
used for printing
R. David Murray rdmur...@bitdance.com added the comment:
This was applied by Georg in SVN revision r77561 on 2010-01-17.
--
nosy: +r.david.murray
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Nick Coghlan ncogh...@gmail.com added the comment:
A comment above the length check referring back to this issue and the
deliberate decision to allow a timing attack to determine the length of the
expected digest would be handy.
I was just looking at hmac.secure_compare and my thought when
Serhiy Storchaka storch...@gmail.com added the comment:
What is the question? U+FFFE also represents an undefined mapping in
string subclasses.
What about classes that not subclassed string but ducktyped string by
implementing all string method? What about list/tuple/array.array of
integers
Martin v. Löwis mar...@v.loewis.de added the comment:
integers or 1-character strings? What about general mapping? Should
any of them have 0xFFFE or '\uFFFE' represent an undefined mapping?
The documentation says that the parameter can be a dictionary mapping
byte or a unicode string, which
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25872/ship1.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25873/ship2.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25874/ship3.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25876/ship5.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25875/ship4.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25877/ship6.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25878/ship7.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25879/ship8.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25880/ship9.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25881/ship10.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25882/ship11.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25883/ship12.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25884/ship13.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25885/ship14.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25886/ship15.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25887/ship16.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25888/ship17.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25889/ship18.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25890/ship19.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25891/ship20.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25892/ship21.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
R. David Murray rdmur...@bitdance.com added the comment:
It doesn't look like anyone is working on it currently.
Yes, getting this right is a bit tricky for exactly the reason you say. You
have to make sure you don't break the other uses, and glancing at the patch (I
haven't looked at the
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25893/ship22.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
R. David Murray rdmur...@bitdance.com added the comment:
If you find any resources that we can link to, please post them here.
--
assignee: docs@python -
nosy: +r.david.murray, terry.reedy
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25894/ship23.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25895/ship24.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25896/ship25.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25897/ship26.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
Changes by Ned Deily n...@acm.org:
Removed file: http://bugs.python.org/file25898/ship27.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1009
___
___
1 - 100 of 151 matches
Mail list logo