Changes by Adam Olsen:
--
nosy: +rhamphoryncus
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1225584
_
___
Python-bugs-list mailing list
Unsubscribe:
http
= to compare sets would be assumed to want subset
operations. Generic containers should use cmp() exclusively.
[1] http://mail.python.org/pipermail/python-3000/2007-October/011072.html
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
Adam Olsen added the comment:
The problem with being tolerate as you suggest is you lose the ability
to round-trip. Read in a file using the UTF-8 signature, write it back
out, and suddenly nothing else can open it.
Conceptually, these signatures shouldn't even be part of the encoding;
they're
Adam Olsen added the comment:
On 11/1/07, James G. sack (jim) [EMAIL PROTECTED] wrote:
James G. sack (jim) added the comment:
Adam Olsen wrote:
Adam Olsen added the comment:
The problem with being tolerate as you suggest is you lose the ability
to round-trip. Read in a file using
Adam Olsen added the comment:
typeobject.c:1842:type_new
type = (PyTypeObject *)metatype-tp_alloc(metatype, nslots);
nslots may be 0.
typeobject.c:1966:type_new assigns this just-past-the-end address to
tp_members
type-tp_members = PyHeapType_GET_MEMBERS(et);
type_new later
New submission from Adam Olsen:
type_new() allocates the exact number of slots it's going to use, but
various other functions assume there's one more slot with a NULL name
field serving as a sentinel. I'm unsure why it doesn't normally crash.
--
components: Interpreter Core
messages
New submission from Adam Olsen:
In the large else branch in decode_unicode (if encoding is not NULL or
iso-8859-1), the new string it produces is not nul-terminated. This
then hits PyUnicode_DecodeUnicodeEscape's octal escape case, which reads
past the end of the string (but would stop
that shows a
really significant slowdown vs local variables?
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
paranoid you could add reference
counting to ma_table. I doubt anybody cares quite that much though.
;)
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
using a dict with custom classes (or
anything other than str) across multiple threads, and without locking
it, it's possible (though presumably extremely rare) for a lookup to
fail even through the key was there the entire time.
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman
post the idea on python-3000.
[1]
http://groups.google.com/group/comp.lang.python/browse_thread/thread/7e9327a896c242e7/4876e191831da6de
[2] Pages 23-24 of http://unicode.org/versions/Unicode4.0.0/ch03.pdf
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
for everybody and it'll be
worth maintaining.
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
attention to get the effort it requires. I agree absolutely that the
material it contains is important. That's why I feel it should be
merged with the other documents, to ensure that it really does get
maintained.
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
201 - 213 of 213 matches
Mail list logo