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

2011-04-03 Thread Torsten Becker
Torsten Becker 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 Doc/c-api/unicode.rst, PyUnicode_DecodeMBCS

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Jesse Noller
Jesse Noller 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

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

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: I'm going to reject this, thanks anyway for the patch! -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10712] 2to3 fixer for deprecated unittest method names

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: Should this still go to the sandbox? and if so, what is the right sandbox? -- ___ Python tracker ___

[issue2650] re.escape should not escape underscore

2011-04-03 Thread Ezio Melotti
Ezio Melotti 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 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: merge with 3.2. http

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

2011-04-03 Thread Roundup Robot
Roundup Robot 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 ___ Python track

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

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou 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 _

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

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou 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 ___

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

2011-04-03 Thread Ezio Melotti
Ezio Melotti 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 : -- assignee: -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

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

2011-04-03 Thread R. David Murray
R. David Murray 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 that talks about regex an

[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 : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou 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 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 added the comment: Woops, sorry for the duplicates... -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file21515/mpconn.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- Removed message: http://bugs.python.org/msg132847 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11748] test_ftplib failure in test for source_address

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 622, in test_s

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

2011-04-03 Thread Vlastimil Brom
Vlastimil Brom 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 the compatibility with re

[issue11749] test_socket failure

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

[issue11748] test_ftplib failure in test for source_address

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: 10048 is errno.EADDRINUSE. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-04-03 Thread Roundup Robot
Roundup Robot 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 branch 'default': M

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

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed, thank you. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker __

[issue8252] add a metadata section in setup.cfg

2011-04-03 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: -update mkpkg to latest coding standards ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8252] add a metadata section in setup.cfg

2011-04-03 Thread Éric Araujo
Éric Araujo 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 __

[issue8591] update mkpkg to latest coding standards

2011-04-03 Thread Éric Araujo
Éric Araujo 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

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

2011-04-03 Thread Éric Araujo
Éric Araujo 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 ___ Python tracker

[issue2771] Test issue

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: Testing -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11748] test_ftplib failure in test for source_address

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: http://hg.python.org/cpython/rev/8a2d848244a2 -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11282] 3.3 unittest document not kept consist with code

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread s7v7nislands
Changes by s7v7nislands : -- nosy: +s7v7nislands ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue7311] Bug on regexp of HTMLParser

2011-04-03 Thread Ezio Melotti
Ezio Melotti 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 and backward-compatibili

[issue8252] add a metadata section in setup.cfg

2011-04-03 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: -l0nwlf ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2011-04-03 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: -l0nwlf ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue4487] Add utf8 alias for email charsets

2011-04-03 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: -l0nwlf ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2011-04-03 Thread Oliver Deppert
Oliver Deppert 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 ___ __

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

2011-04-03 Thread Éric Araujo
Éric Araujo added the comment: As a new feature, this can’t go into older versions. -- ___ Python tracker ___ ___ Python-bugs-list mai

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

2011-04-03 Thread Raymond Hettinger
Raymond Hettinger 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 introduced, and because its argum

[issue11750] Mutualize win32 functions

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 used throughout t

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Justin Love
New submission from Justin Love : 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: increase_distutils_filelist_test_coverage.patch keywords: patch mes

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Joel Luellwitz
Changes by Joel Luellwitz : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2011-04-03 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2011-04-03 Thread gungor
New submission from gungor : 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 https://www.linkedin.com/e/-3qcne3-gm2dpgol-1s/isd/2626190363/ywqIa-UZ/ ---

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> tarek components: +Distutils -Tests nosy: +eric.araujo, tarek ___ Python tracker ___ ___ Py

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

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -gungorbasa resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
New submission from STINNER Victor : 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: File "/usr/home/db3l/bui

[issue8905] difflib should accept arbitrary line iterators

2011-04-03 Thread Éric Araujo
Éric Araujo 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 needed versions:

[issue11742] Possible bug in Python/import.c

2011-04-03 Thread Brett Cannon
Brett Cannon 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 ___

[issue4709] Mingw-w64 and python on windows x64

2011-04-03 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

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

2011-04-03 Thread Lynne Qu
New submission from Lynne Qu : 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 check calculated co

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

2011-04-03 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg132870 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2011-04-03 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file21519/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
New submission from STINNER Victor : 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 "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/L

[issue1294232] Error in metaclass search order

2011-04-03 Thread Terry J. Reedy
Terry J. Reedy 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 type_new or a new funct

[issue11751] Increase distutils.filelist test coverage

2011-04-03 Thread Éric Araujo
Éric Araujo 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: tarek -> eric.arauj

[issue1294232] Error in metaclass search order

2011-04-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

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

2011-04-03 Thread Stefan Krah
Stefan Krah 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 f.readlines() \ if

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

2011-04-03 Thread Joel Luellwitz
Joel Luellwitz 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 _

[issue1294232] Error in metaclass search order

2011-04-03 Thread Daniel Urban
Daniel Urban 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 exactly what I'm planni

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Ask Solem
Ask Solem 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! -- ___ Python trac

[issue11750] Mutualize win32 functions

2011-04-03 Thread Tim Golden
Tim Golden added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread Charles-Francois Natali
Charles-Francois Natali 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 exactly what Fre

[issue11750] Mutualize win32 functions

2011-04-03 Thread Jesse Noller
Jesse Noller added the comment: Agreed; I'm not personally the windows expert that should handle that consolidation though. -- ___ Python tracker ___ __

[issue11750] Mutualize win32 functions

2011-04-03 Thread Brian Curtin
Brian Curtin added the comment: Big +1. I'll work up a patch. -- assignee: -> brian.curtin ___ Python tracker ___ ___ Python-bugs-li

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

2011-04-03 Thread Filip Gruszczyński
Filip Gruszczyński 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 seems to work fine. I

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor added the comment: Ok, this issue is completly related to regrtest.py timeout (issue #11727): test_signal with regrtest.py timeout disabled. -- ___ Python tracker __

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

2011-04-03 Thread Raymond Hettinger
Raymond Hettinger 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 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 __

[issue5228] multiprocessing not compatible with functools.partial

2011-04-03 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

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

2011-04-03 Thread Roundup Robot
Roundup Robot 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 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 with motivation to fix

[issue11756] bytes.hex()

2011-04-03 Thread David Albert Torpey
New submission from David Albert Torpey : 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 title: bytes.hex() type: fe

[issue11688] SQLite trace callback

2011-04-03 Thread Roundup Robot
Roundup Robot 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 added the comment: Patch committed, thank you! -- assignee: ghaering -> resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker __

[issue11756] bytes.hex()

2011-04-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: binascci.(un)hexlify -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker ___ _

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of #11753. -- resolution: -> duplicate ___ Python tracker ___ ___ Python-bugs-list maili

[issue11755] test_itimer_real() of test_signal hang on FreeBSD

2011-04-03 Thread STINNER Victor
Changes by STINNER Victor : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor 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 ___ _

[issue11757] test_subprocess failure

2011-04-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-03 Thread Nadeem Vawda
Nadeem Vawda 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 issue5863 adds read1

[issue11757] test_subprocess failure

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou 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, Python's se

[issue11756] bytes.hex()

2011-04-03 Thread R. David Murray
R. David Murray 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 added the comment: > Nadeem Vawda 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. Well, ideally, rea

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou 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' [...] == FAIL: Ch

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-03 Thread STINNER Victor
STINNER Victor 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 executing sendall() is not in

[issue11749] test_socket failure

2011-04-03 Thread Roundup Robot
Roundup Robot 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 to fix transien

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

2011-04-03 Thread STINNER Victor
STINNER Victor added the comment: May be related to #11753. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou 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 modified to include

[issue11688] SQLite trace callback

2011-04-03 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2011-04-03 Thread Roundup Robot
Roundup Robot 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': Issue #9347: Fix fo

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

2011-04-03 Thread Steven Bethard
Changes by Steven Bethard : -- assignee: -> bethard resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker ___

[issue11688] SQLite trace callback

2011-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed now. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9951] introduce bytes.hex method

2011-04-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: See also: issue11756 -- nosy: +rhettinger versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ __

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

2011-04-03 Thread Mark Mc Mahon
Mark Mc Mahon 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 one of the ones under %s

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

2011-04-03 Thread Ezio Melotti
Ezio Melotti 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

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

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

[issue11758] increase xml.dom.minidom test coverage

2011-04-03 Thread mdorn
New submission from mdorn : 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 messages: 132915 nos

[issue9670] Exceed Recursion Limit in Thread

2011-04-03 Thread Ned Deily
Ned Deily 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. -- nosy: +ned.de

  1   2   >