[issue29290] argparse breaks long lines on NO-BREAK SPACE

2017-05-10 Thread Xiang Zhang
Xiang Zhang added the comment: I can't reproduce the failure in anyway. :-( Could you do some investigation and give more info? -- ___ Python tracker

[issue29290] argparse breaks long lines on NO-BREAK SPACE

2017-05-10 Thread wim glenn
wim glenn added the comment: The test "test_help_non_breaking_spaces" from Zhang's commit fails on my platform (other 1563 tests in the module all pass). Interestingly, if running the entire test suite, it doesn't fail. It's only when executing the test_argparse.py module directly that

[issue30230] Move quick test in PyObject_IsSubClass outside of PyType_CheckExact guard

2017-05-10 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: > he said, "I'm not sure if this was placed inside there due to some wild > edge-case," As a new contributor, I'll always lean on the side of me not seeing something rather than confidently stating that something is definitely wrong. I'm new, the

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/597/steps/test/logs/stdio 0:26:29 [156/405/1] test_multiprocessing_main_handling failed ... test_zipfile_compiled (test.test_multiprocessing_main_handling.ForkServerCmdLineTest) ... skipped

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: Oh, test_regrtest still fails on x86 Windows XP VS9.0 2.7. 0:16:29 [283/402/1] test_regrtest failed test test_regrtest failed -- multiple errors occurred; run in verbose mode for details -- ___ Python tracker

[issue15526] test_startfile crash on Windows 7 AMD64

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: I backported the fix to Python 2.7 to fix bpo-30334. -- ___ Python tracker ___

[issue30334] [Windows] support.rmtree() should retry on WindowsError: [Error 32] The process cannot access the file because it is being used by another process

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: My following backport fixed test_startfile on x86 Windows7 3.x, so I close the issue. New changeset 3837d9797c14c13d170256143c841d29645e772a by Victor Stinner in branch '2.7': bpo-15526: test_startfile changes the cwd (#1537)

[issue30159] gdb autoloading python-gdb.py

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue30287] cpython and Clang Static Analyzer

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue30294] ./configure, pydebug and pymalloc

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue30097] Command-line option to suppress "from None" for debugging

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: See also my old PEP 490 -- Chain exceptions at C level, more or less abandonned :-p -- nosy: +haypo, ncoghlan ___ Python tracker

[issue30300] asyncio.Controller

2017-05-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On May 11, 2017, at 12:09 AM, STINNER Victor wrote: >Why not starting by putting this class in a library to mature its API? It's already part of aiosmtpd although not with the small amount of generic-ness included here. It's been useful and stable. So this

[issue30300] asyncio.Controller

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that Controller is generic enough to be part of asyncio. I'm not sure about the cancellation of all pending tasks on stop(). Why not starting by putting this class in a library to mature its API? -- nosy: +haypo

[issue30301] multiprocessing: AttributeError: 'SimpleQueue' object has no attribute '_poll'

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- title: “AttributeError: 'SimpleQueue' object has no attribute '_poll'” -> multiprocessing: AttributeError: 'SimpleQueue' object has no attribute '_poll' ___ Python tracker

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1640 ___ Python tracker ___ ___

[issue15526] test_startfile crash on Windows 7 AMD64

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3837d9797c14c13d170256143c841d29645e772a by Victor Stinner in branch '2.7': bpo-15526: test_startfile changes the cwd (#1537) https://github.com/python/cpython/commit/3837d9797c14c13d170256143c841d29645e772a -- nosy: +haypo

[issue30327] Version may be out of date in travis.yml

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: @Brett: What do you think? -- nosy: +brett.cannon ___ Python tracker ___

[issue30219] webbrowser.open outputs xdg-open deprecation warning

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: p = subprocess.Popen(cmdline, close_fds=True, + stdin=subprocess.DEVNULL, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL,

[issue30338] LC_ALL=en_US + io.open() => LookupError: (osx)

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: > It may be an OSX specific bug? Yes, on Linux, it "just works": haypo@selma$ LC_ALL=en_US python2 -c 'import io; io.open("/dev/null")' haypo@selma$ LC_ALL=en_USxxx python2 -c 'import io; io.open("/dev/null")' In fact, you get ASCII encoding for these two

[issue30336] Pull Requests need more detail

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: > What is this pull request for? I didn't notice so many PR without useful commit message (PR description). Not sure that it's useful. > Include version updates if necessary. I don't understand this part. > Make sure you have signed the CLA agreement before

[issue20491] textwrap: Non-breaking space not honored

2017-05-10 Thread Matej Cepl
Changes by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9850] obsolete macpath module dangerously broken and should be removed

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: > Bump, any update on what to do with this issue? I updated and completed Chi Hsuan Yen's 3.6-deprecate-macpath.patch to create a pull request. I suggest to start by deprecating macpath in 3.7, and remove it from Python 3.8. This module is here for years.

[issue9850] obsolete macpath module dangerously broken and should be removed

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1639 ___ Python tracker ___ ___

[issue30338] LC_ALL=en_US + io.open() => LookupError: (osx)

2017-05-10 Thread Anthony Sottile
New submission from Anthony Sottile: Originally seen here: https://github.com/Microsoft/vscode/issues/26227 ``` $ LC_ALL=en_US python -c 'import io; io.open("/dev/null")' Traceback (most recent call last): File "", line 1, in LookupError: unknown encoding: ``` Admittedly, that `LC_ALL`

[issue30322] PyObject_GetIter does not behave as documented on dict objects

2017-05-10 Thread Sam De Meyer
Sam De Meyer added the comment: You seem to be right, my object was lacking the keys method. Please excuse me for the false alarm, and thanks for pointing it out. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue30219] webbrowser.open outputs xdg-open deprecation warning

2017-05-10 Thread desbma
desbma added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17188] Document 'from None' in raise statement doc.

2017-05-10 Thread Cheryl Sabella
Cheryl Sabella added the comment: Would any of the original authors be able to prepare a PR for this? Thanks. -- nosy: +csabella ___ Python tracker ___

[issue30337] Vague wording of pkgutil.walk_packages parameter 'prefix'

2017-05-10 Thread Sam Silberstein
New submission from Sam Silberstein: Hi there! This is my first submission to the bug tracker, so I apologize if I'm missing some formatting here. I've found what's either vague documentation for the 'prefix' parameter of `pgkutil.walk_packages` or a bug. The method implies that it will

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-05-10 Thread Nathaniel Smith
Nathaniel Smith added the comment: @Jonathan: Even 3.6.1 was careful to retain compatibility with code built by 3.6.0. And your proposed 3.6.1-patched will generate binaries equivalent to the ones 3.6.0 generates. So I don't think you need to worry; 3.6.2 is not going to add a new and worse

[issue25652] collections.UserString.__rmod__() raises NameError

2017-05-10 Thread Jonathan Goble
Jonathan Goble added the comment: I would prefer to keep __rmod__ and fix the bug, given that the use case I described above would otherwise create an inconsistency in subclasses, which would be able to easily extend __mod__ by calling super(), but would be forced to fully implement __rmod__

[issue30231] test_imaplib needs a TLS server accepting self-signed certificates

2017-05-10 Thread Berker Peksag
Berker Peksag added the comment: > Is it to validate that we have bugs? :) More or less, yes. Since the problem is not in the library code and the tests are not completely useless, using @unittest.expectedFailure might be a better short term solution than skipping or removing them (at least

[issue30336] Pull Requests need more detail

2017-05-10 Thread Brett Cannon
Brett Cannon added the comment: I'm not sure if this is going to be useful enough to force all contributors to deal with. Justification for a change should be on bugs.python.org and that's mentioned in the CONTRIBUTING.md guidelines. As for testing, the Travis/AppVeyor failures should

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.4 only gets security fixes. There is no problem for me in 3.5.3. -- resolution: -> out of date stage: -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python tracker

[issue30190] unittest's assertAlmostEqual improved error message

2017-05-10 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- status: open -> closed ___ Python tracker ___ ___

[issue30336] Pull Requests need more detail

2017-05-10 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1638 ___ Python tracker ___

[issue30336] Pull Requests need more detail

2017-05-10 Thread Jensen Taylor
New submission from Jensen Taylor: Made a PR for this -- messages: 293447 nosy: Jensen Taylor priority: normal severity: normal status: open title: Pull Requests need more detail type: enhancement ___ Python tracker

[issue30335] Document deprecated alias of assertNotRegex

2017-05-10 Thread Marco Buttu
Marco Buttu added the comment: Hi Jim, I think assertNotRegexpMatches has never been introduced: https://docs.python.org/3/whatsnew/3.1.html https://docs.python.org/3/whatsnew/3.2.html That is why there is no reference in the documentation about that. I also executed a test with Python 3.1

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-10 Thread Jensen Taylor
Jensen Taylor added the comment: I found this bug in python 3.4.1 and I believeit was a problem in 3.5.2 -- versions: +Python 3.4, Python 3.5 ___ Python tracker

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: You neglected to say which version of Python you used. 2.7? 3.2? When I type the following in 3.5+ on Win10, >>> IOError, KeyError, PermissionError, int, list, FileNotFoundError all the names have the same builtins highlight. In 2.7 (and early 3.x),

[issue9850] obsolete macpath module dangerously broken and should be removed

2017-05-10 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Bump, any update on what to do with this issue? -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___

[issue30231] test_imaplib needs a TLS server accepting self-signed certificates

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: > I'd suggest marking them with @unittest.expectedFailure as an alternative way > to move forward. I don't understand the purpose of tests known to fail. Is it to validate that we have bugs? :) -- ___ Python

[issue30319] test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer in shutdown() on AMD64 FreeBSD 9.x 3.6

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer on AMD64 FreeBSD 9.x 3.6 -> test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54]

[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: The bug occurs randomly, since it's hard to say at this point if my change fixes it for real or not. I close the bug, but will reopen it if the bug occurs again. But I'm confident that blocking the signal is "the right fix" for such unit test. --

[issue30331] TestPOP3_TLSClass: socket.timeout: timed out on AMD64 FreeBSD 10.x Shared 3.x

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: I don't understand the following error, since DummyPOP3Handler constructor (__init__) ends with "self.tls_starting = False". AttributeError: 'DummyPOP3Handler' object has no attribute 'tls_starting' Maybe self.handle_read() is called during

[issue30319] test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer on AMD64 FreeBSD 9.x 3.6

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: @Our SSL experts: any idea why sock.close() fails with "ConnectionResetError: [Errno 54] Connection reset by peer" in imaplib? Is that a new error? Should imaplib catch ConnectionResetError on sock.close()? By the way, see also bpo-30329: I proposed a patch

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-05-10 Thread Xiang Zhang
Xiang Zhang added the comment: > Any update on this reviewing, patching, and then backporting to 2.7? concurrent package was added in 3.2. How backport to 2.7? Nosy myself. -- nosy: +xiang.zhang versions: +Python 3.7 ___ Python tracker

[issue29243] --enable-optimizations makes common build commands always need to compile from scratch

2017-05-10 Thread Brett Cannon
Brett Cannon added the comment: To be honest, I'm not excited by ./configure --enable-optimizations. I was happy with an explicit "make profile-opt". The configure flag was added because not everything can be enabled just in the Makefile and so that people have a single flag to set to turn on

[issue30329] test_imaplib.test_login_cram_md5(): OSError: [WinError 10022] An invalid argument was supplied on AMD64 Windows8.1 Non-Debug 3.6

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1637 ___ Python tracker ___ ___

[issue30330] test_socket.test_idna(): socket.gaierror: [Errno 11001] getaddrinfo failed on AMD64 Windows10 3.6

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: I checked the last 50 builds of AMD64 Windows10 3.5, AMD64 Windows10 3.6 and AMD64 Windows10 3.x (total: 150 builds): the bug only occurred once. http://buildbot.python.org/all/builders/AMD64%20Windows10%203.6/builds/356/ --

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-05-10 Thread Mark DePristo
Mark DePristo added the comment: Any update on this reviewing, patching, and then backporting to 2.7? We've just run into the exact same issue here in Google using a ThreadPoolExecutor.map call growing memory usage without bounds due to the Future holding onto its result even after being

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-05-10 Thread Jonathan Helmus
Jonathan Helmus added the comment: In Anaconda we ship both Python 3.6.0 and 3.6.1 and have run into this issue when building packages with 3.6.1 and importing them on 3.6.0. We are discussing adding #undef PySlice_GetIndicesEx to the Python.h we ship with Python 3.6.1. From the discussion

[issue30334] [Windows] support.rmtree() should retry on WindowsError: [Error 32] The process cannot access the file because it is being used by another process

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: > See http://bugs.python.org/issue15526 Oh, thanks for the hint :-) I proposed a "backport" (modified for 2.7): https://github.com/python/cpython/pull/1537 -- ___ Python tracker

[issue15526] test_startfile crash on Windows 7 AMD64

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1636 ___ Python tracker ___ ___

[issue30334] [Windows] support.rmtree() should retry on WindowsError: [Error 32] The process cannot access the file because it is being used by another process

2017-05-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: See http://bugs.python.org/issue15526 -- ___ Python tracker ___ ___

[issue30325] Buildbot: send email notifications to buildbot-status@

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: Zachary updated the buildbot Git repository to get the mail.py fix. I changed the email address to buildbot-sta...@python.org: https://github.com/python/buildmaster-config/pull/5 Let's see how things are going. --

[issue30335] Document deprecated alias of assertNotRegex

2017-05-10 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- pull_requests: +1635 ___ Python tracker ___

[issue30335] Document deprecated alias of assertNotRegex

2017-05-10 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard: The assertNotRegexpMatches name was deprecated in 3.2 in favor of assertNotRegex [1]. This is currently not documented in unittest.rst. [1]: https://github.com/python/cpython/commit/ed3a7d2d601ce1e65b0bacf24676440631158ec8 -- components:

[issue30334] [Windows] support.rmtree() should retry on WindowsError: [Error 32] The process cannot access the file because it is being used by another process

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: For a very generic "retry" library, see https://pypi.python.org/pypi/tenacity But I don't think that we need such advanced library, a simple loop should do the trick ;-) -- ___ Python tracker

[issue30334] [Windows] support.rmtree() should retry on WindowsError: [Error 32] The process cannot access the file because it is being used by another process

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: test_startfile uses a weak time.sleep(0.1) to wait until the process started by os.startfile() completes. Instead of a sleep, can't support.rmtree() retry on "WindowsError: [Error 32] The process cannot access the file because it is being used by another

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-05-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Yes, PR 1535 is indeed linked to this issue, if you're reading it from the bug tracker. The pull request number you see from the notification email (+1634) refers to the pull_request item in the bug tracker (https://bugs.python.org/pull_request1634). This

[issue30333] test_multiprocessing_forkserver: poll() failed on AMD64 FreeBSD CURRENT Non-Debug 3.5

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Non-Debug%203.5/builds/97/steps/test/logs/stdio test_connection (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... FAIL ... Dangling threads: {

[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd by Victor Stinner (stratakis) in branch 'master': bpo-28787: Fix out of tree --with-dtrace builds (#135) https://github.com/python/cpython/commit/f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd -- nosy:

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-10 Thread Jensen Taylor
New submission from Jensen Taylor: Things like PermissionError and FileNotFoundError that come under IOError, or OSError in Python 3.7 -- assignee: -> terry.reedy components: +IDLE, Windows nosy: +paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware title: Errors that aren't

[issue30332] Errors that aren't actually definde

2017-05-10 Thread Jensen Taylor
Changes by Jensen Taylor : -- nosy: Jensen Taylor priority: normal severity: normal status: open title: Errors that aren't actually definde ___ Python tracker

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-05-10 Thread Florian Bruhin
Florian Bruhin added the comment: https://github.com/python/cpython/pull/1535 seems to be the correct PR, not 1634. -- ___ Python tracker ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-05-10 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1634 ___ Python tracker ___ ___

[issue30230] Move quick test in PyObject_IsSubClass outside of PyType_CheckExact guard

2017-05-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: My point was that it isn't wise to propose PRs for code you don't fully understand (he said, "I'm not sure if this was placed inside there due to some wild edge-case,"). -- ___ Python tracker

[issue30331] TestPOP3_TLSClass: socket.timeout: timed out on AMD64 FreeBSD 10.x Shared 3.x

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: See also bpo-30328 (test_ssl), bpo-30315 (test_ftplib) and bpo-30319 (test_imaplib). http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/246/steps/test/logs/stdio 0:07:58 load avg: 3.30 [242/405/1] test_poplib failed --

[issue30323] concurrent.futures.Executor.map() consumes all memory when big generators are used

2017-05-10 Thread Xiang Zhang
Xiang Zhang added the comment: IIUC, the meaning of executor.map() is to run the tasks concurrently. So you have to loop the iterable ahead to submit all the tasks. If you make it a generator comprehension, you are actually submitting a task and then getting the result. So you are executing

[issue16865] ctypes arrays >=2GB in length causes exception

2017-05-10 Thread David Heffernan
David Heffernan added the comment: Erik, As you can no doubt guess, this is related to the questions I have been asking on SO that you have so expertly been answering. Thank you! When I solved the latest problem, getting at the internal buffer of a bytearray, I used the code in my previous

[issue30190] unittest's assertAlmostEqual improved error message

2017-05-10 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- pull_requests: +1633 ___ Python tracker ___ ___

[issue30190] unittest's assertAlmostEqual improved error message

2017-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: OK thanks. Fix coming. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30190] unittest's assertAlmostEqual improved error message

2017-05-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Warnings are not shown when the source is already compiled to .pyc file. $ find -name '*.py[co]' -exec rm '{}' + $ ./python -Wa -m test test_unittest Run tests sequentially 0:00:00 load avg: 0.54 [1/1] test_unittest

[issue30190] unittest's assertAlmostEqual improved error message

2017-05-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ ./python -Wa Lib/unittest/test/test_assertions.py Lib/unittest/test/test_assertions.py:228: DeprecationWarning: invalid escape sequence \( ["^1 != 2 within 7 places \(1 difference\)$", "^oops$", Lib/unittest/test/test_assertions.py:229:

[issue30190] unittest's assertAlmostEqual improved error message

2017-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Mmm I can't see them. Am I supposed to enable this kind of warning somehow? -- ___ Python tracker ___

[issue29243] --enable-optimizations makes common build commands always need to compile from scratch

2017-05-10 Thread Tomas Orsava
Tomas Orsava added the comment: > Oh wait, I expected that "make test" would build Python with PGO, but it > doesn't anymore. Would it be possible to change the Makefile to make sure > that "make python" (on Linux, "make python.exe" on macOS) would build Python > using PGO? > > I tried to hack

[issue30330] test_socket.test_idna(): socket.gaierror: [Errno 11001] getaddrinfo failed on AMD64 Windows10 3.6

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: In the same build, a retry of the DNS request later succeeded: test_idna (test.test_socket.GeneralModuleTests) ... ok -- ___ Python tracker

[issue30330] test_socket.test_idna(): socket.gaierror: [Errno 11001] getaddrinfo failed on AMD64 Windows10 3.6

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20Windows10%203.6/builds/356/steps/test/logs/stdio == ERROR: test_idna (test.test_socket.GeneralModuleTests)

[issue30329] test_imaplib.test_login_cram_md5(): OSError: [WinError 10022] An invalid argument was supplied on AMD64 Windows8.1 Non-Debug 3.6

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: See also bpo-30319: test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer on AMD64 FreeBSD 9.x 3.6.

[issue30315] test_ftplib.TestTLS_FTPClass: "[Errno 54] Connection reset by peer" on "AMD64 FreeBSD CURRENT Debug 3.x" buildbot

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-30328 (test_ssl) and bpo-30319 (test_imaplib). -- ___ Python tracker ___

[issue30319] test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer on AMD64 FreeBSD 9.x 3.6

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-30328 (test_ssl) and bpo-30315 (test_ftplib). -- ___ Python tracker ___

[issue30328] test_ssl.test_connect_with_context(): ConnectionResetError on AMD64 FreeBSD 9.x 3.6

2017-05-10 Thread STINNER Victor
New submission from STINNER Victor: See also bpo-30315 (test_ftplib) and bpo-30319 (test_imaplib). http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.6/builds/131/steps/test/logs/stdio test_connect_with_context (test.test_ssl.SimpleBackgroundTests) ... server: new connection

[issue30316] test_default_timeout() of test_threading.BarrierTests: random failures on AMD64 FreeBSD CURRENT Debug 3.x

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: Full test output. 0:04:38 [ 86/405/1] test_thread failed -- running: test_multiprocessing_spawn (214 sec) test_barrier (test.test_thread.BarrierTest) ... waiting for tasks to end task 0 will run for 0us task 0 entering 0 task 2 will run for 4us task 2 entering

[issue30316] test_default_timeout() of test_threading.BarrierTests: random failures on AMD64 FreeBSD CURRENT Debug 3.x

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: Another similar bug different exception in test_thread on AMD64 FreeBSD CURRENT Debug 3.6: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.6/builds/145/steps/test/logs/stdio test_save_exception_state_on_error

[issue30319] test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer on AMD64 FreeBSD 9.x 3.6

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_invalid_authentication() of test_imaplib: random failure on AMD64 FreeBSD 9.x 3.6 -> test_invalid_authentication() of test_imaplib: ConnectionResetError: [Errno 54] Connection reset by peer on AMD64 FreeBSD 9.x

[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset dab10f4f5b52c6de1aac3a8b5dc87d2eb0223a6c by Victor Stinner in branch '3.5': [3.5] bpo-30320, bpo-25277: backport test_eintr enhancements from master to 3.5 (#1532) https://github.com/python/cpython/commit/dab10f4f5b52c6de1aac3a8b5dc87d2eb0223a6c

[issue25277] test_sigwaitinfo() of test_eintr hangs on randomly on FreeBSD buildbots

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset dab10f4f5b52c6de1aac3a8b5dc87d2eb0223a6c by Victor Stinner in branch '3.5': [3.5] bpo-30320, bpo-25277: backport test_eintr enhancements from master to 3.5 (#1532) https://github.com/python/cpython/commit/dab10f4f5b52c6de1aac3a8b5dc87d2eb0223a6c

[issue16865] ctypes arrays >=2GB in length causes exception

2017-05-10 Thread Eryk Sun
Eryk Sun added the comment: In older versions of ctypes, before it was added to the standard library, the underlying length field was a C int, and CArrayType_new used the PyInt_AS_LONG macro. ctypes was added to the standard library in 2.5, by which time the length field is Py_ssize_t, but

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 05469fa1c05acf55bdca05db21822ecdd7f6487a by Xiang Zhang in branch '2.7': bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1531) (#1480) https://github.com/python/cpython/commit/05469fa1c05acf55bdca05db21822ecdd7f6487a --

[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-05-10 Thread Vinay Sajip
Vinay Sajip added the comment: > How can this be true? Perhaps it didn't make the cut for that specific release? Seems to be in the 3.5 branch OK. -- ___ Python tracker

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 639e295650a51894412c9d976958792010d3bcf8 by Xiang Zhang in branch '3.5': bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1530) (#1480) https://github.com/python/cpython/commit/639e295650a51894412c9d976958792010d3bcf8 --

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 98b49a00d413972965044fd355be3b8482caa07c by Xiang Zhang in branch '3.6': bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480) (#1529) https://github.com/python/cpython/commit/98b49a00d413972965044fd355be3b8482caa07c --

[issue25277] test_sigwaitinfo() of test_eintr hangs on randomly on FreeBSD buildbots

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1632 ___ Python tracker ___ ___

[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

2017-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1631 ___ Python tracker ___ ___

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1630 ___ Python tracker ___ ___

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1628 ___ Python tracker ___ ___

[issue30281] set stop default to -PY_SSIZE_T_MAX-1 in PySlice_Unpack

2017-05-10 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1629 ___ Python tracker ___ ___

[issue25652] collections.UserString.__rmod__() raises NameError

2017-05-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think any solution is better than keeping a bug in the current code. -- ___ Python tracker ___

[issue29243] --enable-optimizations makes common build commands always need to compile from scratch

2017-05-10 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, I expected that "make test" would build Python with PGO, but it doesn't anymore. Would it be possible to change the Makefile to make sure that "make python" (on Linux, "make python.exe" on macOS) would build Python using PGO? I tried to hack

  1   2   >