Stefan Krah | 1 Jul 2010 01:16
Favicon

[issue9136] RuntimeError when profiling Decimal


Changes by Stefan Krah <stefan-usenet <at> bytereef.org>:

----------
nosy: +skrah

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue9136>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

STINNER Victor | 1 Jul 2010 01:20
Favicon

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)


STINNER Victor <victor.stinner <at> haypocalc.com> added the comment:

See also #3080.

----------

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue8611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

Favicon

[issue3080] Full unicode import system


Changes by Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA <at> GMail.Com>:

----------
nosy: +Arfrever

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue3080>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

Alexander Belopolsky | 1 Jul 2010 03:02
Favicon

[issue9104] test_exceptions does not test pickling with pickle.py


Alexander Belopolsky <belopolsky <at> users.sourceforge.net> added the comment:

I would like to commit this as written.  If a better mechanism for associating native implementation with a
pure python module is found, it can easily be added in the future.  Any objections?  The patch only adds more
test cases, no code is changed.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue9104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

Alexander Belopolsky | 1 Jul 2010 03:02
Favicon

[issue9104] test_exceptions does not test pickling with pickle.py


Changes by Alexander Belopolsky <belopolsky <at> users.sourceforge.net>:

----------
assignee:  -> belopolsky
resolution:  -> accepted
stage: patch review -> commit review

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue9104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

STINNER Victor | 1 Jul 2010 03:55
Favicon

[issue7673] audioop: check that length is a multiple of the size


STINNER Victor <victor.stinner <at> haypocalc.com> added the comment:

 <at> Mark: Here is the updated version of the patch including all of your remarks. I fixed 3 bugs in my patch: the
checks of adpcm2lin(), alaw2lin() and audioop.ulaw2lin() were incomplete (len was not checked).

I added 3.1 to the version field.

----------
versions: +Python 3.1
Added file: http://bugs.python.org/file17823/audioop_check_length-2.patch

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue7673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

STINNER Victor | 1 Jul 2010 04:30
Favicon

[issue8990] array constructor and array.fromstring should accept bytearray.


STINNER Victor <victor.stinner <at> haypocalc.com> added the comment:

array2.diff:
 - can you reindent the line "Py_ssize_t old_size = Py_SIZE(self);"?(even if it's not part of your patch)
 - you can avoid the "char *str;" variable (use directly buffer.buf)

--

> I changed "s#" to "y*". This means that str arguments are no longer
> accepted by fromstring (...) it is an incompatible change

It's maybe time to create .frombytes() and .tobytes() methods:

 - .tostring() will be a (deprecated?) alias to .tobytes()
 - .frombytes() only accepts bytes, bytearray and buffer compatible objects: use "y*" format
 - .fromstring() accepts str, bytes, bytearray and buffer compatible objects (encode str to utf-8): use
"s*" format

But I still don't understand why array.fromstring() accepts character strings. So an easier solution is
to apply array2.diff to Python 3.2, and replace "y*" by "s*" when the patch is applied to 3.1.

----------

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue8990>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
(Continue reading)

Alexander Belopolsky | 1 Jul 2010 04:34
Favicon

[issue9132] Documentation for comparing dictionaries is out of date


Alexander Belopolsky <belopolsky <at> users.sourceforge.net> added the comment:

Reference to "sorted (key, value) lists" is a bit misleading as well.  Dicts' equality is defined even if key
or values are not orderable.

----------
nosy: +belopolsky

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue9132>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

Alexander Belopolsky | 1 Jul 2010 06:02
Favicon

[issue9118] help() on a property descriptor launches interactive help


Alexander Belopolsky <belopolsky <at> users.sourceforge.net> added the comment:

This is simply because X.foo.fset is None and help(None) is the same as help().  Now, I think help(None)
should print help on None object rather than start interactive help.  Please consider attached patch.

----------
keywords: +patch
nosy: +belopolsky
stage: needs patch -> patch review
Added file: http://bugs.python.org/file17824/issue9118.diff

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue9118>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

Alexandre Vassalotti | 1 Jul 2010 07:31
Favicon

[issue9120] Reduce pickle size for an empty set


Alexandre Vassalotti <alexandre <at> peadrop.com> added the comment:

> This begs a question, however: why not use regular python bytecode in pickles?

Unlike pickle protocols, the bytecode is not required to be compatible across Python versions.
Furthermore, Python bytecode is designed has a general purpose object serialization mechanism.

For the record, I am with Raymond about adding new opcodes for sets; pickle is complicated enough as it is. I
am fine with the posted patch however.

----------

_______________________________________
Python tracker <report <at> bugs.python.org>
<http://bugs.python.org/issue9120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org


Gmane