[issue7625] bytearray needs more tests for b.some_method()[0] is not b

2010-01-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7625 ___ ___ Python-bugs-list

[issue7626] Entity references without semicolon in HTMLParser

2010-01-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7626 ___ ___ Python-bugs-list

[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

2010-01-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7622 ___

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-01-03 Thread Salman Haq
Salman Haq salman@gmail.com added the comment: Hope everyone had a good new year's. I've attached an updated patch which adds a new unittest, test_loadTestsFromNames__badimport. Both the new unittests can use better documentation, hopefully one of you can help me with that. --

[issue4635] no reference for optparse methods

2010-01-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Duplicate of #3340. -- nosy: +ezio.melotti resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4635

[issue7471] GZipFile.readline too slow

2010-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patches have been committed. Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7615] unicode_escape codec does not escape quotes

2010-01-03 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: If we change this, the encoder should quote both single and double quotes - simply because it is not known whether the literal will use single or double quotes. Or document that single quotes are always escaped so that the user knows he/she

[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

2010-01-03 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Mutable methods split() splitlines() and partition() fixed. And added optimization for all immutables methods. -- Added file: http://bugs.python.org/file15730/stringlib_split_replace_v3.diff ___

[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

2010-01-03 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15727/stringlib_split_replace_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7622 ___

[issue7627] mailbox.MH.remove() lock handling is broken

2010-01-03 Thread Rob Austein
New submission from Rob Austein s...@hactrn.net: .remove() method of MH class in the mailbox module of the standard library references a file object after closing it. This throws a ValueError exception (I/O operation on closed file). The f.close() call just before the os.remove() call in the

[issue7628] round() doesn't work correctly in 3.1.1

2010-01-03 Thread bkovt
New submission from bkovt bkovt-pyt...@yahoo.com: round(125, -1) produces 120 in Python 3.1.1. It produces 130.0 in 2.6.4. -- messages: 97186 nosy: bkovt severity: normal status: open title: round() doesn't work correctly in 3.1.1 type: behavior versions: Python 3.1

[issue7629] Compiling with mingw32 gcc, content of variable extra_postargs invalid

2010-01-03 Thread Markus
New submission from Markus hardcoreve...@gmx.de: I tried to build pylzma with python setup.py build -cmingw32 and got the following message. C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DWIN32=1 -DCOMPRESS_MF_MT=1 -DWITH_COMPAT=1 -IC:\work\dev\Python26\include -I.

[issue7629] Compiling with mingw32 gcc, content of variable extra_postargs invalid

2010-01-03 Thread Markus
Markus hardcoreve...@gmx.de added the comment: Sorry, my fault. /MT was given in setup.py of pylzma. I didn't search properly. Please close. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7629

[issue7319] Silence DeprecationWarning by default

2010-01-03 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: New patch that includes proposed doc changes. -- Added file: http://bugs.python.org/file15731/silence_deprecations.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7319

[issue7319] Silence DeprecationWarning by default

2010-01-03 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: Removed file: http://bugs.python.org/file15326/silence_deprecations.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7319 ___

[issue7628] round() doesn't work correctly in 3.1.1

2010-01-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7628 ___ ___

[issue7629] Compiling with mingw32 gcc, content of variable extra_postargs invalid

2010-01-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7629 ___

[issue7628] round() doesn't work correctly in 3.1.1

2010-01-03 Thread Tim Peters
Tim Peters tim.pet...@gmail.com added the comment: Note that round() is implemented much more carefully in Python 3.x than in Python 2.x, and 120 is actually the correct result under nearest/even rounding (125 is exactly halfway between representable values when rounded to the closest 10, and

[issue7628] round() doesn't work correctly in 3.1.1

2010-01-03 Thread bkovt
bkovt bkovt-pyt...@yahoo.com added the comment: All right, round() in 3.1 uses 'Round half to even' instead of 'Round half up'. In fact, now I can see this clearly explained in 3.1 documentation. Thanks for the quick reply and sorry for the erroneous bug entry! --

[issue7628] round() doesn't work correctly in 3.1.1

2010-01-03 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7628 ___

[issue7630] Strange behaviour of decimal.Decimal

2010-01-03 Thread parmax
New submission from parmax md5x...@gmail.com: from decimal import Decimal dec = Decimal(2 ** 1024) dec

[issue6071] no longer possible to hash arrays

2010-01-03 Thread ivank
ivank i...@ludios.org added the comment: I believe this was fixed in r77252, which was fixing http://bugs.python.org/issue3745 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6071 ___

[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

2010-01-03 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: added Makefile.pre.in. -- Added file: http://bugs.python.org/file15732/stringlib_split_replace_v3b.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7622

[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

2010-01-03 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15730/stringlib_split_replace_v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7622 ___

<    1   2