[issue30242] resolve undefined behaviour in struct

2017-05-02 Thread Xiang Zhang
Xiang Zhang added the comment: > I think it is better to change the type of p to unsigned char. Good advice. -- ___ Python tracker ___

[issue29094] Regression in zipfile writing in 2.7.13

2017-05-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -911 ___ Python tracker ___ ___

[issue29094] Regression in zipfile writing in 2.7.13

2017-05-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: release managers need to decide. -- priority: normal -> release blocker ___ Python tracker ___

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2017-05-02 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: Aha, I found an existing issue! For adding to oss-fuzz, is there a contact email we can use that is connected to a google account? I am tempted to just put gregory.p.smith on there if not. :) I can volunteer to fuzz some interesting subset of the

[issue23404] 'make touch' does not work with git clones of the source repository

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1513 ___ Python tracker ___ ___

[issue23404] 'make touch' does not work with git clones of the source repository

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: I rewrote Python (UNIX/BSD) build system to not rebuild generated files based on file modification time: the action is now explicit. This change should not only fix buildbots, but also ease cross-compilation, and more generally make Python build less painful!

[issue29967] "AMD64 FreeBSD 9.x 3.x" tries to rebuild Include/opcode.h, timestamp issue

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 'make touch' does not work with git clones of the source repository ___ Python tracker

[issue23404] 'make touch' does not work with git clones of the source repository

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: The issue #23404 has been marked as a duplicate of this bug: "AMD64 FreeBSD 9.x 3.x" tries to rebuild Include/opcode.h, timestamp issue. -- ___ Python tracker

[issue30239] test_asyncore: test_handle_expt() fails on macOS Sierra

2017-05-02 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86-64%20Sierra%203.5/builds/39/steps/test/logs/stdio == FAIL: test_handle_expt (test.test_asyncore.TestAPI_UseIPv4Poll)

[issue30239] test_asyncore: test_handle_expt() fails on macOS Sierra

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: See also issue #30201: [3.5] RecvmsgIntoSCMRightsStreamTest fails with "OSError: [Errno 12] Cannot allocate memory" on macOS El Capitan. -- ___ Python tracker

[issue29094] Regression in zipfile writing in 2.7.13

2017-05-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: re-opening since, though released, this behavior change broke existing code. -- nosy: +gregory.p.smith resolution: fixed -> stage: resolved -> commit review status: closed -> open ___ Python tracker

[issue30106] test_asyncore: test_handle_write() fails in tearDown()

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30107] python.core file created when running tests on AMD64 FreeBSD CURRENT Non-Debug 3.x buildbot

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot that issue. I'm now happy to be able to close it ;-) The bug was fixed! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30232] configure: support Git worktree

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5facdbb29169c2799c42f887cef4cd9d087b0167 by Victor Stinner in branch 'master': bpo-30232: Support Git worktree in configure.ac (#1391) https://github.com/python/cpython/commit/5facdbb29169c2799c42f887cef4cd9d087b0167 --

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The warning, which became a failure in 3.6, was averted for 3.6 by #27372. I intentionally did not patch 3.5 and merge forward because the warning was neither unique nor a failure, while adding the merge would have been a considerable bother. Also, I

[issue30238] 2to3 doesn't detect or fix Exception indexing

2017-05-02 Thread Daniel Lenski
New submission from Daniel Lenski: Python 2.7 allows indexing an Exception object to access its args list. >>> e=Exception('foo','bar','baz') >>> assert e[0] is e.args[0] This doesn't work in 3.5: >>> e=Exception('foo','bar','baz') >>> e.args[0] 'foo' >>> e[0] TypeError: 'Exception' object is

[issue30237] Access violation due to CancelSynchronousIo of console read

2017-05-02 Thread Eryk Sun
Eryk Sun added the comment: Oops, I pasted the MSDN link for ReadConsole instead of CancelSynchronousIo [1]. [1]: https://msdn.microsoft.com/en-us/library/aa363794 -- ___ Python tracker

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1503 ___ Python tracker ___ ___

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Zachary Ware
Zachary Ware added the comment: 2.4 is rather far out of date, but PR1395 is simple enough. I would support re-adding test_xpickle in 3.x, and can ensure that every major version is available on that buildbot to exercise it. -- ___ Python tracker

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8e158b2316385497c7b6b818d8b45855d7f87f0b by Serhiy Storchaka in branch '2.7': [2.7] bpo-30223: Fix test_xpickle for Python 2.4. (#1395) https://github.com/python/cpython/commit/8e158b2316385497c7b6b818d8b45855d7f87f0b --

[issue30236] Add options --match and --failfast for test.regrtest in 2.7

2017-05-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch adds options -m/--match and -G/--failfast for test.regrtest in 2.7. They are two the most wanted by me features absent in 2.7. I use them when add new test in long running test file. Often this needs running the test multiple times,

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, it is so easy to break test_xpickle. But I think this test is very important. It is pity that test_xpickle is removed in 3.x. I hope PR 1395 will fix test_xpickle. -- ___ Python tracker

[issue30235] Validate shutil supports path-like objects, update docs accordingly

2017-05-02 Thread Jelle Zijlstra
Changes by Jelle Zijlstra : -- pull_requests: +1501 ___ Python tracker ___ ___

[issue30235] Validate shutil supports path-like objects, update docs accordingly

2017-05-02 Thread Brett Cannon
Changes by Brett Cannon : -- versions: +Python 3.6 ___ Python tracker ___ ___

[issue28556] typing.py upgrades

2017-05-02 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset f06e0218ef6007667f5d61184b85a81a0466d3ae by Mariatta (Ivan Levkivskyi) in branch 'master': bpo-28556: Routine updates to typing (#1366) https://github.com/python/cpython/commit/f06e0218ef6007667f5d61184b85a81a0466d3ae --

[issue30236] Add options --match and --failfast for test.regrtest in 2.7

2017-05-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1502 ___ Python tracker ___ ___

[issue30237] Access violation due to CancelSynchronousIo of console read

2017-05-02 Thread Eryk Sun
New submission from Eryk Sun: When ReadConsole is canceled by CancelSynchronousIo [1], for some reason the call still succeeds. It's probably related to the hack that maps STATUS_ALERTED to ERROR_OPERATION_ABORTED when a console read is interrupted by Ctrl+C. The problem is that, when

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Zachary! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19903] Idle: Use inspect.signature for calltips

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will try to do that when I can. -- ___ Python tracker ___ ___

[issue30235] Validate shutil supports path-like objects, update docs accordingly

2017-05-02 Thread Brett Cannon
New submission from Brett Cannon: If you look at the docs for shutil (https://docs.python.org/3/library/shutil.html), you will notice all over it says things like "path names given as strings". The question is whether that statement is true in the face of path-like objects? If it is true then

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Zachary Ware
Zachary Ware added the comment: Once again, I agree with the change, but I have an unhappy buildbot :) http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%202.7/builds/124 This time it is due to python 2.4 not supporting the absolute_import __future__ feature. By this

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Following patch adds Lib/test/__main__.py in 2.7. This allows running tests with 'python -m test' as in 3.x. -- components: Tests messages: 292720 nosy: ezio.melotti, ncoghlan, serhiy.storchaka priority: normal severity: normal status: open title:

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Oh yes, I always wanted this tiny feature! It's painful to have to adapt my command for Python 2 after testing Python 3. -- nosy: +haypo ___ Python tracker

[issue30224] remove outdated checks in struct

2017-05-02 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1482 ___ Python tracker ___ ___

[issue19903] Idle: Use inspect.signature for calltips

2017-05-02 Thread Louie Lu
Louie Lu added the comment: Terry, only this case was failed, others in unittest work very well. -- ___ Python tracker ___

[issue19903] Idle: Use inspect.signature for calltips

2017-05-02 Thread Louie Lu
Louie Lu added the comment: ah, there are still some corner case about _first_param.sub(), some of them in signature will be like `(ci)`, not `(self, ci)`, and the regex will replace the first params to `()`, which is not correct. -- ___ Python

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2017-05-02 Thread Jaysinh shukla
Changes by Jaysinh shukla : -- pull_requests: +1480 ___ Python tracker ___ ___

[issue30224] remove outdated checks in struct

2017-05-02 Thread Xiang Zhang
New submission from Xiang Zhang: Reading struct's code I find some checks seem outdated. They seemly exists because there are two kinds of integer in 2.x. I wrote a patch to remove them but maybe they exist for other reasons I don't see. Sorry if I misunderstand them. :-( --

[issue15987] Provide a way to compare AST nodes for equality recursively

2017-05-02 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1483 ___ Python tracker ___ ___ Python-bugs-list

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

2017-05-02 Thread Nathaniel Smith
Nathaniel Smith added the comment: I don't find it helpful to think of it as declaring 3.6.0 broken vs declaring 3.6.1 broken. 3.6.0 is definitely good in the sense that if you build a module on it then it will import on both 3.6.0 and 3.6.1, and 3.6.1 is definitely good in the sense that if

[issue30225] EBADF error on x86 Tiger 3.x buildbot

2017-05-02 Thread STINNER Victor
New submission from STINNER Victor: test_http_body_pipe() of test_urllib2 uses a subprocess, no idea if it's related: cmd = [sys.executable, "-c", r"pass"] for headers in {}, {"Content-Length": 30}: with subprocess.Popen(cmd, stdout=subprocess.PIPE) as proc:

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1481 ___ Python tracker ___ ___

[issue27593] Deprecate sys._mercurial and create sys._git

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset fd6c8bb89e834898c26620c9ab9afc6aaecb6b28 by Victor Stinner in branch '2.7': bpo-27593: Revise git SCM build info. (#744) (#746) (#1392) https://github.com/python/cpython/commit/fd6c8bb89e834898c26620c9ab9afc6aaecb6b28 --

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1506 ___ Python tracker ___ ___

[issue30232] configure: support Git worktree

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1510 ___ Python tracker ___ ___

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1511 ___ Python tracker ___ ___

[issue29094] Regression in zipfile writing in 2.7.13

2017-05-02 Thread Thomas Wouters
Thomas Wouters added the comment: For the record, this new behaviour is wrong. It's not immediately obvious from the ZIP spec, but offsets have to be from the start of the file, not the archive, or ZIP64 can't work. And yes, that means you can't blindly concatenate ZIP files to other files,

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Test fails on x86 Tiger 3.x: http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/600/steps/test/logs/stdio == FAIL: testUnbound (test.test_socket.TestUnixDomain)

[issue30232] configure: support Git worktree

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4dae0d111dd7bb34ec730eea2327a3219acff211 by Victor Stinner in branch '3.6': [3.6] bpo-30232: Support Git worktree in configure.ac (#1398) https://github.com/python/cpython/commit/4dae0d111dd7bb34ec730eea2327a3219acff211 --

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 0d9d61828bbd6cbc289489bf1d439fa91eca3743 by Antoine Pitrou in branch '3.5': Backport bpo-30205 to 3.5 (#1404) https://github.com/python/cpython/commit/0d9d61828bbd6cbc289489bf1d439fa91eca3743 -- ___

[issue27372] Test_idle should stop changing locale

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1505 ___ Python tracker ___ ___

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: > Hum, it seems like test_regrtest is more and more important. To be fair, I don't think that this particular bug would be catched by the CI since the bug is only triggered on a buildbot which installs Python and runs tests on the installed test suite. It

[issue30232] configure: support Git worktree

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1509 ___ Python tracker ___ ___

[issue27593] Deprecate sys._mercurial and create sys._git

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: > I think that covers it! Cool, good job ;-) -- ___ Python tracker ___ ___

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Maybe restrict the unit test to Linux since the change was specific to Linux? -- ___ Python tracker ___

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, yuck. > Maybe restrict the unit test to Linux since the change was specific to Linux? That sounds reasonable. I didn't know getsockname() could return None... -- nosy: +ned.deily, ronaldoussoren ___ Python

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: > I didn't know getsockname() could return None... Me neither. Maybe it's a bug? makesockaddr() returns None if addrlen equals 0: if (addrlen == 0) {

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> haypo resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8105dd7f75b6aa5f812522d452cd378372752a10 by Victor Stinner in branch '2.7': bpo-30223: Add global in regrtest main_in_temp_cwd (#1399) https://github.com/python/cpython/commit/8105dd7f75b6aa5f812522d452cd378372752a10 --

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 0c2ff0898db2db9cd9c643dfadbff11761bacf5f by Antoine Pitrou in branch '3.6': Backport bpo-30205 to 3.6 (#1403) https://github.com/python/cpython/commit/0c2ff0898db2db9cd9c643dfadbff11761bacf5f -- ___

[issue30205] socket.getsockname() type mismatch with AF_UNIX on Linux

2017-05-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue30208] Small typos in IDLE doc

2017-05-02 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you for that information, Mariatta. I had to read your description twice to find the 9dc2b38 commit hash. Once someone learns this, then they will remember it, but you may want to highlight it on the cherry-pick readme. That was very well written and

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I see. That changes the situation a bit. -- ___ Python tracker ___ ___

[issue30232] configure: support Git worktree

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 360fb81367bb409bb7a1d261d88fcf82cee528f0 by Victor Stinner in branch '3.5': [3.5] bpo-30232: Support Git worktree in configure.ac (#1398) (#1401) https://github.com/python/cpython/commit/360fb81367bb409bb7a1d261d88fcf82cee528f0 --

[issue30234] Remove duplicate checks in test_isinstance

2017-05-02 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30104] clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1484 ___ Python tracker ___ ___

[issue30212] test_ssl.py is broken in Centos7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: @david-cpi: Can you please elaborate? * What is your Centos full version? * How do you get Python 3.5? Tarball from python.org? * What is the error message? "except: pass" is bad practice, you must catch a specific exception type. It seems very strange to

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1487 ___ Python tracker ___ ___

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Nick Coghlan
Nick Coghlan added the comment: +1 from me. We hadn't done this (or the test.support backport) previously due to the "no new features" guideline, but I think simplifying cross-branch maintenance overrides that concerns. -- ___ Python tracker

[issue30212] test_ssl.py is broken in Centos7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, I missed the attached test.log file. So, it's CentOS 7.3.1611 and the full error message is: == CPython 3.5.2 (default, Apr 29 2017, 16:07:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] == Linux-3.10.0-514.16.1.el7.x86_64-x86_64-with-centos-7.3.1611-Core

[issue30227] test_site must not write outside the build directory: must not write into $HOME/.local/

2017-05-02 Thread STINNER Victor
New submission from STINNER Victor: test_site creates the $HOME/.local/lib/python3.7/site-packages/ directory, or parent directories if needed. That's wrong. An unit test must not modify its environment, especially the home directory! The unit test must mock $HOME environment variable and

[issue30132] [Windows] test_distutils leaks a vc140.pdb file

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to run test_distutils on Windows using python_d.exe: I get link error 1101. LINK : fatal error LNK1101: incorrect MSPDB140.DLL version; recheck installation of this product I ran manually the following command, but it didn't help:

[issue19903] Idle: Use inspect.signature for calltips

2017-05-02 Thread Louie Lu
Louie Lu added the comment: @Terry, the PR is created, it is now serving with signature. The two exception (object not callable, invalid method signature) will return the corresponding message. The only thing I didn't figure out it how to change the color, so I didn't test for this feature.

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

2017-05-02 Thread desbma
desbma added the comment: I'm on Arch Linux with Cinnamon, all packages up to date and xdg-utils 1.1.1 (https://www.archlinux.org/packages/extra/any/xdg-utils/). The fix you mention has not been included in a release yet, last release of xdg-utils is from 2015

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

2017-05-02 Thread desbma
desbma added the comment: Also most other Popen calls in the webbrowser module already silence the called program's output, so it makes sense to do the same for the BackgroundBrowser class. Here is a small patch for discussion. -- keywords: +patch Added file:

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

2017-05-02 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: For what it's worth, in Fedora 26 we already rebased Python to 3.6.1, so this issue now is non existent for our ecosystem, and we are not shipping 3.6.0 in any way now. -- ___ Python tracker

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

2017-05-02 Thread Miro Hrončok
Miro Hrončok added the comment: > For what it's worth, in Fedora 26 we already rebased Python to 3.6.1, so this > issue now is non existent for our ecosystem, and we are not shipping 3.6.0 in > any way now. Except of course if 3.6.2 would be fixed in a way that 3.6.1 would be considered

[issue30226] Modernize make_ssl_certs

2017-05-02 Thread Christian Heimes
New submission from Christian Heimes: Lib/test/make_ssl_certs.py is used to generate and re-generate certificates and keys for SSL tests. The script and certificates have various smaller issues, e.g. RSA 1024bit certs with SHA-1 signature. Some certificates lack v3 extensions, too. The

[issue30212] test_ssl.py is broken in Centos7

2017-05-02 Thread Xiang Zhang
Xiang Zhang added the comment: The failure can't be reproduced by me, 3.5 on CentOS 7.1. -- ___ Python tracker ___

[issue30212] test_ssl.py is broken in Centos7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: David: can you please check if you get the same error with Python 3.6, or even the development version (Git master branch)? -- ___ Python tracker

[issue19903] Idle: Use inspect.signature for calltips

2017-05-02 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1490 ___ Python tracker ___ ___ Python-bugs-list

[issue30199] Warning -- asyncore.socket_map was modified by test_ssl

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1dae7450c68bad498e57800387b24cb103c461fa by Victor Stinner in branch 'master': bpo-30199: test_ssl closes all asyncore channels (#1381) https://github.com/python/cpython/commit/1dae7450c68bad498e57800387b24cb103c461fa --

[issue30104] clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 809101f14f27ddb394cd77c477470761ecf99f41 by Victor Stinner in branch '3.6': bpo-30104: Use -fno-strict-aliasing on clang (#1376) https://github.com/python/cpython/commit/809101f14f27ddb394cd77c477470761ecf99f41 --

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 092f4602c329e23b863692249cc630a3eba5b6b5 by Victor Stinner in branch '3.5': bpo-30108: Restore sys.path in test_site (#1197) (#1379) https://github.com/python/cpython/commit/092f4602c329e23b863692249cc630a3eba5b6b5 --

[issue7283] test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: It seems like the original bug report was fixed, so I close it. @Berker Peksag: Please open a new bug report if you see again the PermissionError error on Windows. I didn't see it recently. > Well, I'm not sure the symlink is actually the problem. Apparently

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 33a5d40de997fff5b60157c546a3bf711e083bcc by Victor Stinner in branch '3.6': bpo-30108: Restore sys.path in test_site (#1197) (#1378) https://github.com/python/cpython/commit/33a5d40de997fff5b60157c546a3bf711e083bcc --

[issue30199] Warning -- asyncore.socket_map was modified by test_ssl

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1489 ___ Python tracker ___ ___

[issue30132] [Windows] test_distutils leaks a vc140.pdb file

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1488 ___ Python tracker ___ ___

[issue30228] Open a file in text mode requires too many syscalls

2017-05-02 Thread STINNER Victor
New submission from STINNER Victor: Example: with open("x", "w", encoding="utf-8") as fp: fp.write("HERE") fp.close() syscalls: 14249 open("x", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3 14249 fstat(3, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0 14249 ioctl(3, TCGETS,

[issue30132] [Windows] test_distutils leaks a vc140.pdb file

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 92fd6c9ef54a857815e3dca8ee74b2b4f5cdf154 by Victor Stinner in branch 'master': bpo-30132: distutils BuildExtTestCase use temp_cwd (#1380) https://github.com/python/cpython/commit/92fd6c9ef54a857815e3dca8ee74b2b4f5cdf154 --

[issue30104] clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1485 ___ Python tracker ___ ___

[issue30104] clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 03a7ab77d2f75323e1f3e8b6a1c164e701d58bfb by Victor Stinner in branch '3.5': bpo-30104: Use -fno-strict-aliasing on clang (#1376) (#1377) https://github.com/python/cpython/commit/03a7ab77d2f75323e1f3e8b6a1c164e701d58bfb --

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1486 ___ Python tracker ___ ___

[issue30224] remove outdated checks in struct

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please run microbenchmarks for affected code to be sure that changes don't hit performance (if for example PyLong_FromLongLong is significantly slower than PyLong_FromLong)? -- nosy: +serhiy.storchaka

[issue30228] Open a file in text mode requires too many syscalls

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1492 ___ Python tracker ___ ___

[issue30229] Closing a BufferedRandom calls lseek() mutliple times

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1493 ___ Python tracker ___ ___

[issue30229] Closing a BufferedRandom calls lseek() mutliple times

2017-05-02 Thread STINNER Victor
New submission from STINNER Victor: Given the following snippet: with open("x", "w+", encoding="utf-8") as fp: pass Creating the TextIOWrapper object requires many syscall: see the issue #30228. But I also noticed that *closing* such object also requires multiple lseek()

[issue30212] test_ssl.py is broken in Centos7

2017-05-02 Thread david-cpi
david-cpi added the comment: Hello Victor, in 3.6.1 the test passes but it's because on sub-test was removed. The one generating the issue is NetworkedBIOTests which is not found in 3.6.1. in 3.5.2: if support.is_resource_enabled('network'): tests.append(NetworkedTests)

[issue30228] Open a file in text mode requires too many syscalls

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 999707373630ce090300c3c542066f493b12faa0 by Victor Stinner in branch 'master': bpo-30228: FileIO seek() and tell() set seekable (#1384) https://github.com/python/cpython/commit/999707373630ce090300c3c542066f493b12faa0 --

[issue30212] test_ssl.py is broken in Centos7

2017-05-02 Thread david-cpi
david-cpi added the comment: Hi Victor, I will try during the day and get back with the logs. -- ___ Python tracker ___

  1   2   >