[issue8269] Missing return values for PyUnicode C/API functions
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 Doc/c-api/unicode.rst, PyUnicode_DecodeMBCSStateful stated int instead of Py_ssize_t for it's arguments and PyUnicode_FromString had it's return value wrongly formated. -- keywords: +patch nosy: +torsten.becker Added file: http://bugs.python.org/file21514/issue-8269-v1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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 http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11745] idlelib/PyShell.py: incorrect module name reported in error message: Tkinter should be tkinter
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 http://bugs.python.org/issue11745 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10712] 2to3 fixer for deprecated unittest method names
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2650] re.escape should not escape underscore
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 rep...@bugs.python.org http://bugs.python.org/issue2650 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11282] 3.3 unittest document not kept consist with code
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: merge with 3.2. http://hg.python.org/cpython/rev/110bb604bc2f New changeset aa658836e090 by Ezio Melotti in branch 'default': #11282: add back the fail* methods and assertDictContainsSubset. http://hg.python.org/cpython/rev/aa658836e090 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11282 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)
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 http://bugs.python.org/issue5863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1625] bz2.BZ2File doesn't support multiple streams
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 http://bugs.python.org/issue1625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9424] Deprecate assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals
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 rep...@bugs.python.org http://bugs.python.org/issue9424 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7311] Bug on regexp of HTMLParser
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7311 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)
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 that talks about regex and locale is here: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html I don't know enough about locale or regex to comment further, but from the perspective of what I know about current developer resources and focus I would say that if anything is going to be changed, it would be by mrabarnett in the new engine. Unless mrab (or you?) does it, the old engine is unlikely to be touched at this point. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11744 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11746] ssl library load_cert_chain cannot use elliptic curve type private key
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11746 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
Antoine Pitrou pit...@free.fr added the comment: Woops, sorry for the duplicates... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11748] test_ftplib failure in test for source_address
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 622, in test_source_address_passive_connection with self.client.transfercmd('list') as sock: File D:\Buildslave\3.x.moore-windows\build\lib\ftplib.py, line 379, in transfercmd return self.ntransfercmd(cmd, rest)[0] File D:\Buildslave\3.x.moore-windows\build\lib\ftplib.py, line 344, in ntransfercmd source_address=self.source_address) File D:\Buildslave\3.x.moore-windows\build\lib\socket.py, line 407, in create_connection raise err File D:\Buildslave\3.x.moore-windows\build\lib\socket.py, line 397, in create_connection sock.bind(source_address) socket.error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted -- assignee: giampaolo.rodola components: Library (Lib), Tests messages: 132849 nosy: giampaolo.rodola, pitrou priority: normal severity: normal stage: needs patch status: open title: test_ftplib failure in test for source_address type: behavior versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)
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 the compatibility with re and given my zero knowledge of C, I suppose, we will live with the status quo. I guess, if there were a well defined source of letters for the given locales, the implementation wouldn't necessarily have to be be that complex (in the context of the regex code), but as there is probably no agreement in this respect (if string.letters is questionable), it becomes pointless. After all, one can define a needed regex pattern manually, and mrab's regex library makes it much easier due to the support for unicode properties and others. vbr -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11744 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11749] test_socket failure
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 (test.test_socket.UnbufferedFileObjectClassTestCase) -- Traceback (most recent call last): File D:\Buildslave\3.x.moore-windows\build\lib\test\test_socket.py, line 1416, in testSmallReadNonBlocking self.assertEqual(n, 3) AssertionError: None != 3 -- components: Library (Lib), Tests messages: 132851 nosy: pitrou priority: normal severity: normal stage: needs patch status: open title: test_socket failure type: behavior versions: Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11749 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11748] test_ftplib failure in test for source_address
Antoine Pitrou pit...@free.fr added the comment: 10048 is errno.EADDRINUSE. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11746] ssl library load_cert_chain cannot use elliptic curve type private key
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 branch 'default': Merge fix for issue #11746 http://hg.python.org/cpython/rev/c11e05a60d36 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11746 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11746] ssl library load_cert_chain cannot use elliptic curve type private key
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8252] add a metadata section in setup.cfg
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8252] add a metadata section in setup.cfg
É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 http://bugs.python.org/issue8252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8591] update mkpkg to latest coding standards
É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 http://bugs.python.org/issue8591 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8253] add a resource+files section in setup.cfg
É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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2771] Test issue
Ezio Melotti ezio.melo...@gmail.com added the comment: Testing -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11748] test_ftplib failure in test for source_address
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11282] 3.3 unittest document not kept consist with code
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
Changes by s7v7nislands s7v7nisla...@gmail.com: -- nosy: +s7v7nislands ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7311] Bug on regexp of HTMLParser
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 and backward-compatibility, and also because it's a rather obscure corner case. -- versions: -Python 3.1 Added file: http://bugs.python.org/file21517/issue7311-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7311 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8252] add a metadata section in setup.cfg
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: -l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8253] add a resource+files section in setup.cfg
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: -l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4487] Add utf8 alias for email charsets
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: -l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4487 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)
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 http://bugs.python.org/issue5863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)
É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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9424] Deprecate assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals
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 introduced, and because its arguments were in the wrong order. That situation is much different that assertEquals and friends that have been around for a long time. I don't care much how this gets resolved; just wanted to point-out that there is much less of a reason to keep assertDictContainsSubset.. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9424 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11750] Mutualize win32 functions
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 used throughout the stdlib. -- components: Extension Modules, Windows messages: 132868 nosy: asksol, brian.curtin, gregory.p.smith, jnoller, pitrou, tim.golden priority: normal severity: normal status: open title: Mutualize win32 functions type: feature request versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11750 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11751] Increase distutils/filelist test coverage
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: increase_distutils_filelist_test_coverage.patch keywords: patch messages: 132869 nosy: jlove priority: normal severity: normal status: open title: Increase distutils/filelist test coverage type: behavior Added file: http://bugs.python.org/file21518/increase_distutils_filelist_test_coverage.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11751 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11751] Increase distutils/filelist test coverage
Changes by Joel Luellwitz evilj...@linux.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11751 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10496] import site failed when Python can't find home directory
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10496 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11752] Gungor Basa wants to stay in touch on LinkedIn
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 https://www.linkedin.com/e/-3qcne3-gm2dpgol-1s/isd/2626190363/ywqIa-UZ/ -- files: unnamed messages: 132870 nosy: gungorbasa priority: normal severity: normal status: open title: Gungor Basa wants to stay in touch on LinkedIn Added file: http://bugs.python.org/file21519/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752 ___ html body table border=0 width=550 cellpadding=0 cellspacing=0 style=max-width:550px; border-top:4px solid #39C; font: 12px arial, sans-serif; margin: 0 auto;trtd h1 style=color: #000; font: bold 23px arial; margin:5px 0; LinkedIn/h1 div style=font:13px arial, sans-serif; width:540px p Python,br/ br/ I'd like to add you to my professional network on LinkedIn.br/ br/ - Gungor Basa /p table cellpadding=0 cellspacing=0 style=margin-bottom: 10px; tr td style=width: 50px; IMG style=padding: 5px; src=http://media.linkedin.com/media/p/3/000/052/363/21bbe9e.jpg; class=photo width=40 height=40 /td td style=font: 13px arial, sans-serif; width: 490px; div style=padding: 5px 5px 5px 0 Gungor Basabr Computer Engineer at CYMSOFT br Turkey /div /div /td /tr /table p a style=background-color:#ffcc00; display:inline-block; border-right: 1px solid #7a5a20; border-bottom: 1px solid #7a5a20; padding:10px; text-decoration: none; color: #000; text-align: center; white-space:none; font-weight: bold; href=https://www.linkedin.com/e/-3qcne3-gm2dpgol-1s/isd/2626190363/ywqIa-UZ/EML-invg_59/;Confirm that you know Gungor/a /p /div p style=width: 550px; margin: 3px auto; font: 10px arial, sans-serif; color: #999;#169; 2011, LinkedIn Corporation/p img src=http://www.linkedin.com/emimp/-3qcne3-gm2dpgol-1s.gif; style=width:1px; height:1px;//body /html___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11751] Increase distutils/filelist test coverage
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11752] Gungor Basa wants to stay in touch on LinkedIn
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD
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: File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_socket.py, line 729 in check_sendall_interrupted File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_socket.py, line 740 in test_sendall_interrupted File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/case.py, line 387 in _executeTestPart File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/case.py, line 442 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/case.py, line 494 in __call__ File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 105 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 67 in __call__ File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 105 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 67 in __call__ File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/support.py, line 1078 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/support.py, line 1166 in _run_suite File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/support.py, line 1192 in run_unittest File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_socket.py, line 2052 in test_main File ./Lib/test/regrtest.py, line 1032 in runtest_inner File ./Lib/test/regrtest.py, line 826 in runtest File ./Lib/test/regrtest.py, line 650 in main File ./Lib/test/regrtest.py, line 1607 in module -- http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%207.2%203.x/builds/1644/steps/test/logs/stdio another example: http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%203.x/builds/1344/steps/test/logs/stdio It looks like the test should be done in less than 5 seconds. Extract of the code (with_timeout=False for test_sendall_interrupted): - def check_sendall_interrupted(self, with_timeout): # socketpair() is not stricly required, but it makes things easier. if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'): self.skipTest(signal.alarm and socket.socketpair required for this test) # Our signal handlers clobber the C errno by calling a math function # with an invalid domain value. def ok_handler(*args): self.assertRaises(ValueError, math.acosh, 0) def raising_handler(*args): self.assertRaises(ValueError, math.acosh, 0) 1 // 0 c, s = socket.socketpair() old_alarm = signal.signal(signal.SIGALRM, raising_handler) try: if with_timeout: # Just above the one second minimum for signal.alarm c.settimeout(1.5) with self.assertRaises(ZeroDivisionError): signal.alarm(1) c.sendall(bx * (1024**2)) HERE if with_timeout: signal.signal(signal.SIGALRM, ok_handler) signal.alarm(1) self.assertRaises(socket.timeout, c.sendall, bx * (1024**2)) finally: signal.signal(signal.SIGALRM, old_alarm) c.close() s.close() - I suppose that sendall() should be interrupted by SIGALRM. sendall() calls PyErr_CheckSignals() after each system call to send(), and exits with an error if PyErr_CheckSignals() returns NULL. If send() fails with EINTR error, sendall() retries calls send() again (in a loop). I don't know if this hang is new or not, and if it is (or not) a border effect of the timeout feature of regrtest... But test_signal don't always fail, it looks like a race condition. -- components: Library (Lib) messages: 132871 nosy: haypo priority: normal severity: normal status: open title: test_sendall_interrupted() of test_socket hangs on FreeBSD versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8905] difflib should accept arbitrary line iterators
É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 needed versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8905 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11742] Possible bug in Python/import.c
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 http://bugs.python.org/issue11742 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4709] Mingw-w64 and python on windows x64
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11754] Changed test to check calculated constants in test_string.py
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 check calculated constants in test_string.py type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21520/test_calculated_constants.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11752] Gungor Basa wants to stay in touch on LinkedIn
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg132870 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11752] Gungor Basa wants to stay in touch on LinkedIn
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11755] test_itimer_real() of test_signal hang on FreeBSD
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 /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_signal.py, line 436 in test_itimer_real File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/case.py, line 387 in _executeTestPart File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/case.py, line 442 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/case.py, line 494 in __call__ File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 105 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 67 in __call__ File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 105 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/unittest/suite.py, line 67 in __call__ File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/support.py, line 1078 in run File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/support.py, line 1166 in _run_suite File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/support.py, line 1192 in run_unittest File /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_signal.py, line 490 in test_main File ./Lib/test/regrtest.py, line 1032 in runtest_inner File ./Lib/test/regrtest.py, line 826 in runtest File ./Lib/test/regrtest.py, line 650 in main File ./Lib/test/regrtest.py, line 1607 in module *** Error code 1 Stop in /usr/home/db3l/buildarea/3.x.bolen-freebsd7/build. program finished with exit code 1 elapsedTime=4160.495190 http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%207.2%203.x/builds/1645/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%203.x/builds/1345/steps/test/logs/stdio I don't know if this issue is new or not, and if it is (or not) related to the new regrtest timeout. See also issue #11753, another signal issue on FreeBSD. -- components: Library (Lib) messages: 132875 nosy: haypo priority: normal severity: normal status: open title: test_itimer_real() of test_signal hang on FreeBSD versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11755 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1294232] Error in metaclass search order
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 type_new or a new function with the winner calculation factored out of type_new. I suggest you repost your simplified example from the list here and use it as the basis of a test. Guido agreed that it shows a bug that might be backported to 3.2 (after discussion). If not also backported to 2.7, a separate 2.7 doc patch might be needed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294232 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11751] Increase distutils.filelist test coverage
É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: tarek - eric.araujo components: +Distutils2 nosy: +alexis stage: - patch review title: Increase distutils/filelist test coverage - Increase distutils.filelist test coverage versions: +3rd party, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11751 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1294232] Error in metaclass search order
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294232 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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 list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6895] locale._parse_localename fails when localename does not contain encoding information
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 f.readlines() \ if not loc.startswith('#')] for loc in locale_list: x = locale.setlocale(locale.LC_ALL, loc) try: y = locale.getlocale() except ValueError: print(loc) aa_DJ aa_ER aa_ER@saaho aa_ET an_ES ar_IN ast_ES ber_DZ ber_MA bn_BD bo_CN bo_IN byn_ER ca_ES@valencia crh_UA csb_PL dv_MV dz_BT el_CY en_AG en_DK en_NG eu_FR fil_PH fur_IT fy_NL fy_DE gez_ER gez_ER@abegede gez_ET gez_ET@abegede ha_NG hne_IN hsb_DE ht_HT hy_AM ia ig_NG ik_CA kk_KZ kk_KZ ks_IN ks_IN@devanagari ku_TR lg_UG li_BE li_NL mai_IN mg_MG ml_IN mn_MN my_MM nan_TW@latin nds_DE nds_NL ne_NP nl_AW om_ET om_KE or_IN pa_PK pap_AN ps_AF sa_IN sc_IT sd_IN sd_IN@devanagari shs_CA sid_ET so_DJ so_ET so_KE so_SO te_IN ti_ER ti_ET tig_ER tk_TM tr_CY tt...@iqtelif.utf-8 ug_CN wal_ET wo_SN yo_NG zh_SG -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11754] Changed test to check calculated constants in test_string.py
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 http://bugs.python.org/issue11754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1294232] Error in metaclass search order
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 exactly what I'm planning to do (the factoring out). -- components: +Interpreter Core keywords: +patch nosy: +benjamin.peterson, gvanrossum type: feature request - behavior Added file: http://bugs.python.org/file21522/test_issue1294232.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294232 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11743] Rewrite PipeConnection and Connection in pure Python
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! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11750] Mutualize win32 functions
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 Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD
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 exactly what FreeBSD does, see http://www.freebsd.org/cgi/man.cgi?query=siginterruptapropos=0sektion=0manpath=FreeBSD+8.2-RELEASEformat=html : The siginterrupt() function is used to change the system call restart behavior when a system call is interrupted by the specified signal. If the flag is false (0), then system calls will be restarted if they are interrupted by the specified signal and no data has been transferred yet. System call restart has been the default behavior since 4.2BSD, and is the default behaviour for signal(3) on FreeBSD. And http://www.gsp.com/cgi-bin/man.cgi?section=2topic=sigaction : If a signal is caught during the system calls listed below, the call may be forced to terminate with the error EINTR, the call may return with a data transfer shorter than requested, or the call may be restarted. Restart of pending calls is requested by setting the SA_RESTART bit in sa_flags. The affected system calls include open(2), read(2), write(2), sendto(2), recvfrom(2), sendmsg(2) and recvmsg(2) on a communications channel or a slow device (such as a terminal, but not a regular file) and during a wait(2) or ioctl(2). However, calls that have already committed are not restarted, but instead return a partial success (for example, a short read count). So if the signal arrives while some data has been transferred, send will return with a partial write, but if the signal arrives before any data has been written, then you'll never see EINTR and remain stuck forever (unless SA_RESTART is unset). Note that POSIX seems to require write to return with EINTR if interrupted before any data is written, see http://pubs.opengroup.org/onlinepubs/009695399/functions/write.html : If write() is interrupted by a signal before it writes any data, it shall return -1 with errno set to [EINTR]. But send and sendto man pages don't require this behaviour. -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11750] Mutualize win32 functions
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11750] Mutualize win32 functions
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11707] Create C version of functools.cmp_to_key()
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 seems to work fine. I have added traverse method and decrease reference counts in dealloc. I haven't had yet time to run some performance tests, but I'll try to do that. I'll try to submit contributor agreement. It's a pity, that I can't send a signed copy through email. It'll take some time, before it comes from Poland. -- Added file: http://bugs.python.org/file21523/11707_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11707 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11755] test_itimer_real() of test_signal hang on FreeBSD
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 http://bugs.python.org/issue11755 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11707] Create C version of functools.cmp_to_key()
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 rep...@bugs.python.org http://bugs.python.org/issue11707 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD
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 http://bugs.python.org/issue11753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5228] multiprocessing not compatible with functools.partial
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 Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11727] Add a --timeout option to regrtest.py using the faulthandler module
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 rep...@bugs.python.org http://bugs.python.org/issue11727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)
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 with motivation to fix it it can always be reopened. -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11744 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11756] bytes.hex()
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 title: bytes.hex() type: feature request versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11756 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11688] SQLite trace callback
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11688] SQLite trace callback
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 http://bugs.python.org/issue11688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11756] bytes.hex()
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11755] test_itimer_real() of test_signal hang on FreeBSD
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11755] test_itimer_real() of test_signal hang on FreeBSD
Changes by STINNER Victor victor.stin...@haypocalc.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11755 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD
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 http://bugs.python.org/issue11753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11757] test_subprocess failure
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 /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_subprocess.py, line 452, in test_communicate_timeout_large_ouput self.assertRaises(subprocess.TimeoutExpired, p.communicate, timeout=0.4) File /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/case.py, line 574, in assertRaises callableObj(*args, **kwargs) File /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/subprocess.py, line 846, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/subprocess.py, line 1539, in _communicate orig_timeout) File /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/subprocess.py, line 1670, in _communicate_with_select self._remaining_time(endtime)) select.error: (22, 'Invalid argument') Traceback (most recent call last): File string, line 1, in module IOError: [Errno 32] Broken pipe -- components: Library (Lib), Tests messages: 132898 nosy: gregory.p.smith, pitrou, rnk priority: normal severity: normal stage: needs patch status: open title: test_subprocess failure type: behavior versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11757 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10791] Wrapping TextIOWrapper around gzip files
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 issue5863 adds read1(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10791 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11757] test_subprocess failure
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, Python's select.select() should raise ValueError if a file descriptor is outside of [0; FD_SETSIZE[, so the invalid timeout interval seems possible. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11757 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11756] bytes.hex()
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 rep...@bugs.python.org http://bugs.python.org/issue11756 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10791] Wrapping TextIOWrapper around gzip files
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 me. Well, ideally, read1() should satisfy the condition stated in the BufferedIOBase documentation - namely, that it issues at most one read() call on the underlying stream. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10791 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11688] SQLite trace callback
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' [...] == FAIL: CheckUnicodeContent (sqlite3.test.hooks.TraceCallbackTests) -- Traceback (most recent call last): File /Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/sqlite3/test/hooks.py, line 220, in CheckUnicodeContent % (ascii(unicode_value), ', '.join(map(ascii, traced_statements AssertionError: False is not true : Unicode data '\xf6\xe4\xfc\xd6\xc4\xdc\xdf\u20ac' garbled in trace callback: 'create table foo(x)', 'BEGIN ', 'insert into foo(x) values (?)', 'COMMIT' See e.g. http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%202%203.x/builds/168/steps/test/logs/stdio -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD
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 executing sendall() is not interrupted. The solution is to configure which signals are handled by faulthandler_thread() using pthread_sigmask(): http://hg.python.org/sandbox/haypo/rev/4257fdfa5661 I forced a build on x86 FreeBSD (custom) buildbot: http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%20custom I already tested sigprocmask() on FreeBSD (in my VM) and it works as expected: test_socket doesn't block anymore. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11749] test_socket failure
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 to fix transient test_socket failure http://hg.python.org/cpython/rev/44fc5f94bc90 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11749 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11738] ThreadSignals.test_signals() of test_threadsignals hangs on PPC Tiger 3.x buildbot
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11688] SQLite trace callback
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 modified to include the values of bound parameters.” -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11688] SQLite trace callback
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9347] Calling argparse add_argument with a sequence as 'type' causes spurious error message
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': Issue #9347: Fix formatting for tuples in argparse type= error messages. http://hg.python.org/cpython/rev/69ab5251f3f0 New changeset 1f3f6443810a by Steven Bethard in branch 'default': Issue #9347: Fix formatting for tuples in argparse type= error messages. http://hg.python.org/cpython/rev/1f3f6443810a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9347 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9347] Calling argparse add_argument with a sequence as 'type' causes spurious error message
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 http://bugs.python.org/issue9347 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11688] SQLite trace callback
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9951] introduce bytes.hex method
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character
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 one of the ones under %systemroot%\installer. -- keywords: +patch nosy: +markm Added file: http://bugs.python.org/file21524/issue1104_msi_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1104 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character
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 http://bugs.python.org/issue1104 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11758] increase xml.dom.minidom test coverage
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 messages: 132915 nosy: mdorn priority: normal severity: normal status: open title: increase xml.dom.minidom test coverage versions: Python 3.3 Added file: http://bugs.python.org/file21526/increase_minidom_test_coverage.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11758 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9670] Exceed Recursion Limit in Thread
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. -- nosy: +ned.deily stage: patch review - commit review Added file: http://bugs.python.org/file21527/issue9670-v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9670 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com