[issue9134] sre bug: lastmark_save/restore

2010-06-30 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Regular Expressions nosy: +ezio.melotti stage: - unit test needed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9134

[issue9133] Invalid UTF8 Byte sequence not raising exception/being substituted

2010-06-30 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9133 ___ ___

[issue9136] RuntimeError when profiling Decimal

2010-06-30 Thread Yuv Gre
New submission from Yuv Gre ubershme...@gmail.com: I'm using Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32. Running the following code: import profile import math import decimal def show_bug(): x =

[issue9136] RuntimeError when profiling Decimal

2010-06-30 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, mark.dickinson stage: - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9136 ___

[issue9126] errors='replace' does not work at Windows command line

2010-06-30 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The problem is not in the reading part, but in the print(). Since the default encoding of your terminal is cp437 and cp437 is not able to encode the bad character (U+2019 RIGHT SINGLE QUOTATION MARK), an error is raised. -- nosy:

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

2010-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #3080. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___ ___

[issue3080] Full unicode import system

2010-06-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3080 ___

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

2010-06-30 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@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

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

2010-06-30 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- assignee: - belopolsky resolution: - accepted stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9104

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

2010-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @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

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

2010-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@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

[issue9132] Documentation for comparing dictionaries is out of date

2010-06-30 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@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

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

2010-06-30 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@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. --

[issue9120] Reduce pickle size for an empty set

2010-06-30 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@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

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

2010-06-30 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: It works for pickle/_pickle and heapq/_heapq, but won't work for io/_io/_pyio. You can make the dictionary values as lists for the 'blocked' argument for import_fresh_module(). That would work. And, can you add documentation for

<    1   2   3