[issue8269] Missing return values for PyUnicode C/API functions

2011-04-03 Thread Torsten Becker
Torsten Becker torsten.bec...@gmail.com added the comment: Hi, I read through unicodeobject.c and added the (IMO) proper reference counts to the missing functions. I attached a first patch which adds this to Doc/data/refcounts.dat. The patch also fixes 2 minor glitches in

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Nothing jumps out at me at initial review; I've asked other contributors/interested parties to take a look too. Thanks a ton Antoine for doing this work -- ___ Python tracker rep...@bugs.python.org

[issue11745] idlelib/PyShell.py: incorrect module name reported in error message: Tkinter should be tkinter

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I'm going to reject this, thanks anyway for the patch! -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10712] 2to3 fixer for deprecated unittest method names

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Should this still go to the sandbox? and if so, what is the right sandbox? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10712 ___

[issue2650] re.escape should not escape underscore

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Georg, do you think a versionchanged note should be added for this? The change is minor and the patch updates the documentation to reflect the change. -- ___ Python tracker

[issue11282] 3.3 unittest document not kept consist with code

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 1fd736395df3 by Ezio Melotti in branch '3.2': #11282: the fail* methods will stay around a few more versions. http://hg.python.org/cpython/rev/1fd736395df3 New changeset 110bb604bc2f by Ezio Melotti in branch 'default': #11282:

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2cb07a46f4b5 by Antoine Pitrou in branch 'default': Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept http://hg.python.org/cpython/rev/2cb07a46f4b5 -- nosy: +python-dev

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thank you very much, Nadeem. The patch is now in. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch here is totally out of date, following issue5863. -- nosy: +nvawda stage: patch review - needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue9424] Deprecate assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The fail* methods and assertDictContainsSubset will be in 3.3 too, see #11282. There is no version planned for their removal yet. assertSameElements is gone from 3.3. -- ___ Python tracker

[issue7311] Bug on regexp of HTMLParser

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7311 ___ ___

[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)

2011-04-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I don't know what re is doing with respect to locale, but I do know that the implementation of string.letters is at least somewhat broken in 2.x. It has no useful meaning in unicode, which is why it doesn't exist in 3.x. A standard

[issue11746] ssl library load_cert_chain cannot use elliptic curve type private key

2011-04-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11746 ___ ___ Python-bugs-list

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch slows down Pipe() a bit, by the way. On my machine, each message sent and received has an additional 10µs overhead. See attached benchmark script. -- Added file: http://bugs.python.org/file21515/mpconn.patch

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch slows down Pipe() a bit, by the way. On my machine, each message sent and received has an additional 10µs overhead. See attached benchmark script. -- Added file: http://bugs.python.org/file21516/pipebench.py

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Woops, sorry for the duplicates... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file21515/mpconn.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- Removed message: http://bugs.python.org/msg132847 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___

[issue11748] test_ftplib failure in test for source_address

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: See http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/2475/steps/test/logs/stdio test test_ftplib failed -- Traceback (most recent call last): File D:\Buildslave\3.x.moore-windows\build\lib\test\test_ftplib.py, line

[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)

2011-04-03 Thread Vlastimil Brom
Vlastimil Brom vlastimil.b...@gmail.com added the comment: Thanks for the comment for string.letters and further reference. Given, that Mr. Barnett mentioned in his tracker to regex ( http://code.google.com/p/mrab-regex-hg/issues/detail?id=6 ), that he only supports the LOCALE flag because of

[issue11749] test_socket failure

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/2473/steps/test/logs/stdio == FAIL: testSmallReadNonBlocking

[issue11748] test_ftplib failure in test for source_address

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: 10048 is errno.EADDRINUSE. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11748 ___ ___

[issue11746] ssl library load_cert_chain cannot use elliptic curve type private key

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 88ed3de28520 by Antoine Pitrou in branch '3.2': Issue #11746: Fix SSLContext.load_cert_chain() to accept elliptic curve private keys. http://hg.python.org/cpython/rev/88ed3de28520 New changeset c11e05a60d36 by Antoine Pitrou in

[issue11746] ssl library load_cert_chain cannot use elliptic curve type private key

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed, thank you. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11746

[issue8252] add a metadata section in setup.cfg

2011-04-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: -update mkpkg to latest coding standards ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___

[issue8252] add a metadata section in setup.cfg

2011-04-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This was finished by Tarek and other people some months ago. -- resolution: accepted - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8591] update mkpkg to latest coding standards

2011-04-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: FYI, the mkcfg module has seen a lot of change since last summer, some of which have bad style. I still have this bug on my todo list to fix that. -- ___ Python tracker rep...@bugs.python.org

[issue8253] add a resource+files section in setup.cfg

2011-04-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is now done thanks to Tarek and sprinters. -- dependencies: -update mkpkg to latest coding standards resolution: accepted - fixed stage: needs patch - committed/rejected status: open - closed ___

[issue2771] Test issue

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Testing -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue11748] test_ftplib failure in test for source_address

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: http://hg.python.org/cpython/rev/8a2d848244a2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11748 ___

[issue11282] 3.3 unittest document not kept consist with code

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11282 ___

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread s7v7nislands
Changes by s7v7nislands s7v7nisla...@gmail.com: -- nosy: +s7v7nislands ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___

[issue7311] Bug on regexp of HTMLParser

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here's a patch that matches unquoted attribute values according to the HTML5 specifications. The regex uses \s even if this includes the \v char that, according to the HTML5 specs, shouldn't be included. I left it there for simplicity

[issue8252] add a metadata section in setup.cfg

2011-04-03 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: -l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list

[issue8253] add a resource+files section in setup.cfg

2011-04-03 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: -l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___ ___ Python-bugs-list

[issue4487] Add utf8 alias for email charsets

2011-04-03 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: -l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4487 ___ ___ Python-bugs-list

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-04-03 Thread Oliver Deppert
Oliver Deppert oliver.depp...@stud.tu-darmstadt.de added the comment: Hi, thanks for the patch. Could you also publish a version for older python 2.x ? regards, Olli -- nosy: +Kontr-Olli ___ Python tracker rep...@bugs.python.org

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-04-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: As a new feature, this can’t go into older versions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___

[issue9424] Deprecate assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals

2011-04-03 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: It probably would have been okay to remove assertDictContainsSubset which had nearly zero uptake (according to Google's code search). That's probably because it addresses an uncommon use case, because it was only recently

[issue11750] Mutualize win32 functions

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: subprocess and multiprocessing both have their own private modules for wrappers of win32 functions: Modules/_multiprocessing/win32_functions.c and PC/_subprocess.c. It would be nice to group them in a common module (_win32?) that could be

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Justin Love
New submission from Justin Love pyt...@justinlove.name: Increase test coverage of distutils/filelist.py from 49% to 100%. One line was marked as excluded because it was a this cannot happen error, and I agreed. -- components: Tests files:

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Joel Luellwitz
Changes by Joel Luellwitz evilj...@linux.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11751 ___ ___

[issue10496] import site failed when Python can't find home directory

2011-04-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10496 ___ ___

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread gungor
New submission from gungor gungorb...@gmail.com: LinkedIn Python, I'd like to add you to my professional network on LinkedIn. - Gungor Basa Gungor Basa Computer Engineer at CYMSOFT Turkey Confirm that you know Gungor Basa

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - tarek components: +Distutils -Tests nosy: +eric.araujo, tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11751 ___

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -gungorbasa resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: I added a timeout of 30 minutes to regrtest. On x86 FreeBSD 7.2 3.x and x86 FreeBSD 3.x buildbot, test_sendall_interrupted() of test_socket does timeout after 30 minutes: -- ... [201/354] test_socket Thread 0x28401040:

[issue8905] difflib should accept arbitrary line iterators

2011-04-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: A quick look at the code doesn’t immediately tells me that difflib accepts sequences, not only lists. I’m not sure iterators are accepted too. What specific functions or methods have you found too strict? -- stage: needs patch - test

[issue11742] Possible bug in Python/import.c

2011-04-03 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Thanks for the report, but this has been fixed in the code repo. -- nosy: +brett.cannon resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue4709] Mingw-w64 and python on windows x64

2011-04-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4709 ___ ___

[issue11754] Changed test to check calculated constants in test_string.py

2011-04-03 Thread Lynne Qu
New submission from Lynne Qu lynne...@gmail.com: Changed test to check calculated constants in test_string.py -- components: Tests files: test_calculated_constants.diff keywords: patch messages: 132874 nosy: Lynne.Qu priority: normal severity: normal status: open title: Changed test to

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg132870 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752 ___

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file21519/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752 ___

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: test_itimer_real() of test_signal hang 30 minutes on FreeBSD x86 FreeBSD 3.x and x86 FreeBSD 7.2 3.x buildbots. Example: ... [ 95/354] test_signal Thread 0x28401040: File

[issue1294232] Error in metaclass search order

2011-04-03 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I would make the same guess about 'winner calculation'. I am surprised that the class statement does not result in the same calculation (why else would type_new do it). Perhaps __build_class__ (which I have not read) should either call

[issue11751] Increase distutils.filelist test coverage

2011-04-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch! Please use the Distutils and/or Distutils2 component in the future so that some people are automatically notified of the report. I made a review (follow “review” link on the right of the diff file). -- assignee:

[issue1294232] Error in metaclass search order

2011-04-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294232 ___ ___

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Is there another (authoritative) source for locale aliases apart from X.org? On Ubuntu Lucid, many aliases for installed locales are missing: f = open(/var/lib/locales/supported.d/local) locale_list = [loc.split()[0] for loc in

[issue11754] Changed test to check calculated constants in test_string.py

2011-04-03 Thread Joel Luellwitz
Joel Luellwitz evilj...@linux.com added the comment: Make a slight change to diff file. -- nosy: +JoelLuellwitz Added file: http://bugs.python.org/file21521/test_calculated_constants.diff ___ Python tracker rep...@bugs.python.org

[issue1294232] Error in metaclass search order

2011-04-03 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: The attached test case currently fails. I'll try to make a patch soon. Perhaps __build_class__ (which I have not read) should either call type_new or a new function with the winner calculation factored out of type_new. Yeah, that's

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Ask Solem
Ask Solem a...@celeryproject.org added the comment: This is great! I always wondered if it was really necessary to use C for this. 10µs overhead should be worth it ;) I've read the patch, but not carefully. So far nothing jumps at me either. Cheers! --

[issue11750] Mutualize win32 functions

2011-04-03 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11750 ___ ___ Python-bugs-list mailing list

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: This test assumes that send will necessarily return if interrupted by a signal, but the kernel can automatically restart the syscall when no data has been committed (instead of returning -1 with errno set to EINTR). And, AFAIK, that's

[issue11750] Mutualize win32 functions

2011-04-03 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Agreed; I'm not personally the windows expert that should handle that consolidation though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11750

[issue11750] Mutualize win32 functions

2011-04-03 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Big +1. I'll work up a patch. -- assignee: - brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11750 ___

[issue11707] Create C version of functools.cmp_to_key()

2011-04-03 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: I worked a little on the tests. Only then I have noticed, that cmp_to_key tests weren't run, so I have encountered some problems, when I finally turned them on. I have added some of my tests, fixed some things in the patch and now it

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ok, this issue is completly related to regrtest.py timeout (issue #11727): test_signal with regrtest.py timeout disabled. -- ___ Python tracker rep...@bugs.python.org

[issue11707] Create C version of functools.cmp_to_key()

2011-04-03 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: FWIW, the PSF is working towards getting electronic signatures for contributor agreements. In the mean time, a scan or photo would work just fine. -- ___ Python tracker

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As issue #11755, this issue is a regression introduced by regrtest timeout (issue #11727): test_socket doesn't fail without regrtest timeout. -- ___ Python tracker rep...@bugs.python.org

[issue5228] multiprocessing not compatible with functools.partial

2011-04-03 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5228 ___ ___ Python-bugs-list mailing list

[issue11727] Add a --timeout option to regrtest.py using the faulthandler module

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 394f0ea0d29e by Victor Stinner in branch 'default': Issue #11727, issue #11753, issue #11755: disable regrtest timeout http://hg.python.org/cpython/rev/394f0ea0d29e -- ___ Python tracker

[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)

2011-04-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yeah, as far as I could tell from a brief scan of google hits, locale support in regex in general is a legacy thing, and the correct thing to do is to use unicode properties. So I'll close this as won't fix. If someone comes along

[issue11756] bytes.hex()

2011-04-03 Thread David Albert Torpey
New submission from David Albert Torpey dt...@users.sourceforge.net: Floats have fromhex() and hex() to round-trip from and to hexadecimal, but bytes only have fromhex(), so it's hard to reliably round-trip. -- messages: 132892 nosy: dtorp priority: normal severity: normal status: open

[issue11688] SQLite trace callback

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 575ee55081dc by Antoine Pitrou in branch 'default': Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten Landschoff. http://hg.python.org/cpython/rev/575ee55081dc -- nosy: +python-dev

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch committed, thank you! -- assignee: ghaering - resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11756] bytes.hex()

2011-04-03 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: binascci.(un)hexlify -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11756

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #11753. -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11755 ___

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11755 ___ ___

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue #11755 (test_itimer_real() of test_signal hang on FreeBSD) has been marked as a duplicate of this issue. -- ___ Python tracker rep...@bugs.python.org

[issue11757] test_subprocess failure

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: In http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.x/builds/904/steps/test/logs/stdio : test test_subprocess failed -- Traceback (most recent call last): File

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-03 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Is following change in GzipFile class enough: def read1(self, n): return self.read(n) ? This satisfies TextIOWrapper to run readline correctly. Looks good to me. By the way, BZ2File now works correctly - the fix for

[issue11757] test_subprocess failure

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: According to POSIX, EINVAL in select() means either an invalid timeout interval was specified or the nfds argument is less than 0 or greater than FD_SETSIZE. (http://www.opengroup.org/onlinepubs/007904875/functions/pselect.html) Additionally,

[issue11756] bytes.hex()

2011-04-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Actually, this is a duplicate of issue 9951. -- nosy: +r.david.murray resolution: invalid - duplicate stage: - committed/rejected superseder: - introduce bytes.hex method ___ Python tracker

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Nadeem Vawda nadeem.va...@gmail.com added the comment: Is following change in GzipFile class enough: def read1(self, n): return self.read(n) ? This satisfies TextIOWrapper to run readline correctly. Looks good to

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reopening, a failure appeared on some of the buildbots. I've made the failure message a bit more explicit: test_sqlite: testing with version '2.6.0', sqlite_version '3.6.12' [...]

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The problem is that faulthandler's thread (faulthandler_thread) receives the SIGALRM signal: the signal interrupts sem_timedwait() which returns EINTR. PyThread_acquire_lock_timed() retries sem_timedwait() and so the other thread

[issue11749] test_socket failure

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 68a319ef70fc by Antoine Pitrou in branch '3.2': Issue #11749: try to fix transient test_socket failure http://hg.python.org/cpython/rev/68a319ef70fc New changeset 44fc5f94bc90 by Antoine Pitrou in branch 'default': Issue #11749: try

[issue11738] ThreadSignals.test_signals() of test_threadsignals hangs on PPC Tiger 3.x buildbot

2011-04-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: May be related to #11753. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11738 ___

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, it seems that expanding the value of bound parameters in the statement passed to the trace callback is a recent SQLite feature: http://www.sqlite.org/draft/releaselog/3_6_21.html “The SQL output resulting from sqlite3_trace() is now

[issue11688] SQLite trace callback

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ce37570768f5 by Antoine Pitrou in branch 'default': Fix TraceCallbackTests to not use bound parameters (followup to issue #11688) http://hg.python.org/cpython/rev/ce37570768f5 -- ___

[issue9347] Calling argparse add_argument with a sequence as 'type' causes spurious error message

2011-04-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f961e9179998 by Steven Bethard in branch '2.7': Issue #9347: Fix formatting for tuples in argparse type= error messages. http://hg.python.org/cpython/rev/f961e9179998 New changeset 69ab5251f3f0 by Steven Bethard in branch '3.2':

[issue9347] Calling argparse add_argument with a sequence as 'type' causes spurious error message

2011-04-03 Thread Steven Bethard
Changes by Steven Bethard steven.beth...@gmail.com: -- assignee: - bethard resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should be fixed now. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11688 ___

[issue9951] introduce bytes.hex method

2011-04-03 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: See also: issue11756 -- nosy: +rhettinger versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9951

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2011-04-03 Thread Mark Mc Mahon
Mark Mc Mahon mtnbikingm...@gmail.com added the comment: I have updated the patch for current trunk (though no real changes required). I also include a testcase. One thing to review is that I added functionality to the tests to create the MSI to be tested. (felt this was safer than touching

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2011-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: +path, msilib.schema, Ptyhon Tests, product_code, 1.0, PSF) s/Ptyhon/Python/ -- nosy: +ezio.melotti stage: test needed - patch review ___ Python tracker rep...@bugs.python.org

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2011-04-03 Thread Mark Mc Mahon
Mark Mc Mahon mtnbikingm...@gmail.com added the comment: And fix the typo... (thanks Ezio) -- Added file: http://bugs.python.org/file21525/issue1104_msi_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1104

[issue11758] increase xml.dom.minidom test coverage

2011-04-03 Thread mdorn
New submission from mdorn matt.d...@gmail.com: Added some tests to ensure xml.dom.NotFoundErr where appropriate, and for a handful of previously untested methods. Increased coverage from 52% to 53%. -- components: Tests, XML files: increase_minidom_test_coverage.patch keywords: patch

[issue9670] Exceed Recursion Limit in Thread

2011-04-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Here's an updated combined patch. I've revised Ronald's test to run via subprocess so it should be safe to add to the standard tests. It works as expected on OS X. If there are no objections, I will commit it and monitor the buildbots. --

  1   2   >