[issue30104] Float rounding errors on AMD64 FreeBSD CURRENT Debug 3.x buildbot

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: Dimitry: thank you! Indeed, that looks like the very same issue. It's a shame to have to use -fno-strict-aliasing here, since that might prevent legitimate optimisations elsewhere in the code. But if that's what we have to do to maintain correctness with clang

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

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: I seem the same issues on OS X (10.9.5) when compiling with clang 4.0 from MacPorts. So this doesn't seem to be FreeBSD-specific. Changing title and raising priority: failure for repr (and marshal, JSON, etc.) to roundtrip seems like a critical breakage to me.

[issue29802] A possible null-pointer dereference in struct.s_unpack_internal()

2017-04-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 17db4b99b4d300a9b024ba0efdaa46d05d4f4cd3 by Serhiy Storchaka in branch '3.5': [3.5] bpo-29802: Fix the cleaning up issue in PyUnicode_FSDecoder(). (GH-1217) (#1219) https://github.com/python/cpython/commit/17db4b99b4d300a9b024ba0efdaa46d05d4f4c

[issue29191] liblzma is missing from pcbuild.sln

2017-04-21 Thread Segev Finer
Segev Finer added the comment: The PR was merged for Python 3.7. But this also affects older Python 3 versions that include liblzma/_lzma as far as I can tell. So I'm not closing this issue just yet, so that it will serve as a remainder, in case you do want to back port this. Thanks for mergi

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

2017-04-21 Thread Mark Dickinson
Changes by Mark Dickinson : -- components: +Build ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30118] Adding unittest for cProfile / profile command line interface

2017-04-21 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1350 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 28205b203a4742c40080b4a2b4b2dcd800716edc by Victor Stinner in branch 'master': bpo-30104: Use -fno-strict-aliasing on clang (#1221) https://github.com/python/cpython/commit/28205b203a4742c40080b4a2b4b2dcd800716edc -- ___

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread STINNER Victor
New submission from STINNER Victor: My change 28205b203a4742c40080b4a2b4b2dcd800716edc added -fno-strict-aliasing on clang to fix the compilation of Python/dtoa.c on clang 4.0. But it's only a temporary workaround until dtoa.c is fixed to respect C99 strict aliasing. Strict aliasing allows the

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: Mark: "I seem the same issues on OS X (10.9.5) when compiling with clang 4.0 from MacPorts. So this doesn't seem to be FreeBSD-specific." I confirm, I reproduced the bug on Linux using Clang 4.0. Mark: "But if that's what we have to do to maintain correctness

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: I hope that you understand aliasing issues, because I don't undertand them well :-D So I started to create my collection of links on the topic: https://haypo-notes.readthedocs.io/misc.html#c-aliasing The most interesting link is: http://cellperformance.beyond3d

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

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: FWIW, I can confirm that adding `-fno-strict-aliasing` fixes all failing float-related tests on OS X. -- ___ Python tracker ___ ___

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

2017-04-21 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

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

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1351 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: Oh... I only tested my configure patch on Linux using ./configure CC=clang, but the change has no effect on FreeBSD where $CC is /usr/bin/cc and so my code doesn't detect clang correctly. I proposed https://github.com/python/cpython/pull/1233 which runs "cc -

[issue30115] test_logging report reference leak

2017-04-21 Thread Vinay Sajip
Vinay Sajip added the comment: Also getting values I'm not sure how to interpret: $ ./python -m test.regrtest -R : test_logging Run tests sequentially 0:00:00 [1/1] test_logging beginning 9 repetitions 123456789 . test_logging leaked [-164, 164, -164, 0] references, sum=-164 test_logging

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35f3d240ee5f0958034bd500949b08764e36f4dc by Victor Stinner in branch 'master': bpo-30104: configure now detects when cc is clang (#1233) https://github.com/python/cpython/commit/35f3d240ee5f0958034bd500949b08764e36f4dc -- __

[issue28414] SSL match_hostname fails for internationalized domain names

2017-04-21 Thread Mathieu Poussin
Mathieu Poussin added the comment: Hello Christian. Is there any update about this issue ? Do we have any alternative to avoid this problem ? Thank you. -- nosy: +kedare ___ Python tracker ___

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

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1352 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: > AssertionError: join() timed out The following PR fixes this race condition which occurs on FreeBSD: https://github.com/python/cpython/pull/1234 fixes -- ___ Python tracker

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2c877c3985aba4adb19755e21f477e1c639cfd9 by Victor Stinner in branch 'master': bpo-30106: Fix test_asyncore.test_quick_connect() (#1234) https://github.com/python/cpython/commit/a2c877c3985aba4adb19755e21f477e1c639cfd9 -- __

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

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: Ok, the FreeBSD CURRENT buildbot is repaired: "AMD64 FreeBSD CURRENT Debug 3.x is complete: Success". -- ___ Python tracker ___

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1354 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: @jtaylor: Ok, I created https://github.com/python/cpython/pull/1236 -- ___ Python tracker ___ ___ Py

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
New submission from STINNER Victor: Attached PR removes the following scary log. http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Non-Debug%203.x/builds/655/steps/test/logs/stdio Windows fatal exception: access violation Current thread 0x0b88 (most recent call first): File "D

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1355 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: dtoa.c *does* (arguably) respect C99+TC3 strict aliasing. The union trick has long been used as a safe and supported way to do this kind of thing, though it appears there's still disagreement about exactly what the standard intends. I'd strongly prefer not to

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread STINNER Victor
New submission from STINNER Victor: I suggest to skip the following test on OS X Tiger, since it fails but I'm not interested to fix it and it seems to be an old SQLite bug which was fixed after Tiger was released (I don't see this failure on any other buildbot). http://buildbot.python.org/all

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: SQLite version: Re-running test 'test_sqlite' in verbose mode test_sqlite: testing with version '2.6.0', sqlite_version '3.6.11' -- ___ Python tracker

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: In case anyone wants to have a go at interpreting the standard, the most immediately relevant part is the footnote to C99+TC3 6.5.2.3p3: """ If the member used to access the contents of a union object is not the same as the member last used to store a value in

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1356 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: The test is already skipped on SQLite version older than 3.3.9, no idea why the test fails on SQLite version 3.6.11 on OS X Tiger: @unittest.skipIf(sqlite.sqlite_version_info < (3, 3, 9), "sqlite3_prepare_v2 is not available") I proposed the

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: It's even more strange. The test started to fail since this build, Sun Apr 9 10:10:15 2017: http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/528 test_sqlite: testing with version '2.6.0', sqlite_version '3.6.11' ... test test_sqlite failed Sa

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: > I'd strongly prefer not to modify dtoa.c here unless we really have to. See the clang bug report: https://bugs.llvm.org//show_bug.cgi?id=31928 -- ___ Python tracker

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: And the basic rule that bans aliasing in the first place is C99 6.5p7: """ An object shall have its stored value accessed only by an lvalue expression that has one of the following types ... """ But I'd argue that the "an aggregate or union type" subclause of 6.

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: > See the clang bug report: Yes, I've read it. And I think the Clang folks are wrong in their interpretation of the standard. And even if they're not, they're going to break a lot of code with this change: the union trick has been widely accepted as a valid w

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: > Yes, I've read it. And I think the Clang folks are wrong in their > interpretation of the standard. And even if they're not, they're going to > break a lot of code with this change: the union trick has been widely > accepted as a valid way to do things. If

[issue30122] Added missing archive programs and close option to Windows docs.

2017-04-21 Thread R. David Murray
R. David Murray added the comment: Please close the redundant PRs. I've commented on pr1228. -- nosy: +r.david.murray ___ Python tracker ___

[issue30122] Added missing archive programs and close option to Windows docs.

2017-04-21 Thread R. David Murray
R. David Murray added the comment: To be clear: backport PRs should be created only after a PR has been approved. -- ___ Python tracker ___ __

[issue30122] Added missing archive programs and close option to Windows docs.

2017-04-21 Thread R. David Murray
R. David Murray added the comment: Also, please review the (newly rewritten) section in the devguide about PRs. I see now that there were changes made from the original here already, but I don't see the commits that made those changes. The history of changes should be kept during PR developm

[issue30127] argparse action not correctly describing the right behavior

2017-04-21 Thread Diego Costantini
New submission from Diego Costantini: Here https://docs.python.org/2/library/argparse.html#action we have the following: >>> parser = argparse.ArgumentParser() >>> parser.add_argument('--foo', action='store_true') >>> parser.add_argument('--bar', action='store_false') >>> parser.add_argument('-

[issue30127] argparse action not correctly describing the right behavior

2017-04-21 Thread Eric V. Smith
Eric V. Smith added the comment: I think the example is correct. Because baz's action is store_false, the default is True. So if baz is omitted, it should have a True value. That's what the example shows, and what I see when I run this code. Can you show what you tested, what you saw, and what

[issue30127] argparse action not correctly describing the right behavior

2017-04-21 Thread Diego Costantini
Diego Costantini added the comment: You are right, I misunderstood the part where it sets defaults opposite to the stored value, although apparently over one year ago I did understand it correctly when I first went through that documentation. Today my second pair of eyes had my same understand

[issue26264] keyword module missing async and await keywords

2017-04-21 Thread Михайло Гавеля
Changes by Михайло Гавеля : -- pull_requests: +1357 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: > (I would prefer to keep -fstrict-aliasing). Updating dtoa.c would be a large and error-prone task. It may be simpler to adjust the buildsystem so that we can specify -fno-strict-aliasing just for dtoa.c. -- ___ P

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Mark Dickinson
Mark Dickinson added the comment: > Updating dtoa.c would be a large and error-prone task. It would also take us even further away from the upstream sources, making it harder to integrate bugfixes from upstream. -- ___ Python tracker

[issue30128] xid_start definition for Unicode identifiers refers to xid_continue

2017-04-21 Thread Ralph Corderoy
New submission from Ralph Corderoy: https://docs.python.org/3/reference/lexical_analysis.html#identifiers has a grammar. identifier ::= xid_start xid_continue* id_start ::= id_continue ::= xid_start::= xid_continue ::= I struggle to make sense of it unle

[issue30129] functools.partialmethod should look more like what it's impersonating.

2017-04-21 Thread Skip Montanaro
New submission from Skip Montanaro: I needed to create a partial method in Python 2.7, so I grabbed functools.partialmethod from a Python 3.5.2 install. For various reasons, one of the reasons I wanted this was to suck in some methods from a delegated class so they appeared in dir() and help()

[issue30129] functools.partialmethod should look more like what it's impersonating.

2017-04-21 Thread R. David Murray
R. David Murray added the comment: Yes, please do provide an example. Your final words do not make a convincing case that this is a problem in python3 :) -- nosy: +r.david.murray ___ Python tracker ___

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread Aviv Palivoda
Aviv Palivoda added the comment: > It's even more strange. The test started to fail since this build, Sun Apr 9 > 10:10:15 2017: This was merged on Apr 9 (commit 0e6cb2ea624570ed08c354f1ed1f595dab4192d6). >From a quick look in the internet some other people had a similar problem: http://stacko

[issue30130] array.array is not an instance of collections.MutableSequence

2017-04-21 Thread Alexander Gosselin
New submission from Alexander Gosselin: array.array has all of the methods required by collections.MutableSequence, but: >>> import array >>> import collections >>> isinstance(array.array, collections.MutableSequence) False -- messages: 292053 nosy: Alexander Gosselin priority: normal s

[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

2017-04-21 Thread Eric V. Smith
Eric V. Smith added the comment: I agree we shouldn't do anything heroic to "fix" dtoa.c. I'd wait and see if Gay (or other maintainers) will chose an approach if Clang keeps this behavior. At most, I think Mark's idea to use -fno-strict-aliasing only on dtoa.c and nowhere else would be the be

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: > It seems there might be mismatch between sqlite3_libversion() and > SQLITE_VERSION. I am not familiar with the buildbots but can you run a test > that check that sqlite3_libversion() == SQLITE_VERSION? The Python sqlite3 exports sqlite3_libversion() as sqlit

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1358 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2a1aed04b0943636f605543522e16cca1dc23e70 by Victor Stinner in branch 'master': bpo-30107: don't dump core on expected test_io crash (#1235) https://github.com/python/cpython/commit/2a1aed04b0943636f605543522e16cca1dc23e70 -- ___

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

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1359 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 46c2b81026bbf966c0898a1fa30d98c33673aea0 by Victor Stinner in branch 'master': bpo-30125: Fix faulthandler.disable() on Windows (#1240) https://github.com/python/cpython/commit/46c2b81026bbf966c0898a1fa30d98c33673aea0 -- ___

[issue30131] test_logging leaks a "dangling" thread

2017-04-21 Thread STINNER Victor
New submission from STINNER Victor: Example on Windows from AppVeyor: https://ci.appveyor.com/project/python/cpython/build/3.7.0a0.1402 Warning -- threading._dangling was modified by test_logging Before: <_weakrefset.WeakSet object at 0x027CBE30> After: <_weakrefset.WeakSet object at 0x027

[issue30117] test_lib2to3.test_parser.test_all_project_files() fails

2017-04-21 Thread Eric Appelt
Changes by Eric Appelt : -- pull_requests: +1360 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30117] test_lib2to3.test_parser.test_all_project_files() fails

2017-04-21 Thread Eric Appelt
Eric Appelt added the comment: I added a PR to fix these two (in my opinion) spurious failure conditions in the lib2to3.tests.test_parser.TestParserIdempotency test_parser test with the following changes to the test: 1. Use the same encoding found in the initial file to write a temp file for a

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1361 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30132] test_distutils leaks a vc140.pdb file

2017-04-21 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x/builds/566/steps/test/logs/stdio Warning -- files was modified by test_distutils Before: [] After: ['vc140.pdb'] -- components: Tests, Windows messages: 292060 nosy: haypo, paul.moore

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

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_distutils leaks a vc140.pdb file -> [Windows] test_distutils leaks a vc140.pdb file ___ Python tracker ___ ___

[issue17703] Trashcan mechanism segfault during interpreter finalization in Python 2.7.4

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset b984a05d557e78b928f38098d0b6c0e95f737b9a by Victor Stinner in branch '3.6': bpo-30107: don't dump core on expected test_io crash (#1235) (#1241) https://github.com/python/cpython/commit/b984a05d557e78b928f38098d0b6c0e95f737b9a -- __

[issue30085] Discourage operator.__dunder__ functions

2017-04-21 Thread Sanket Dasgupta
Sanket Dasgupta added the comment: @terry, I have updated the same, thanks! -- nosy: +sanketdg ___ Python tracker ___ ___ Python-bugs-

[issue30121] Windows: subprocess debug assertion on failure to execute the process

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30130] array.array is not an instance of collections.MutableSequence

2017-04-21 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Thanks for the bug report, Alexander. This is related, if not a superseder, of: https://bugs.python.org/issue29727 -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker

[issue29840] Avoid raising OverflowError in bool()

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: Hum, I dislike this change since it's non-obvious what/who is raising the OverflowError. If an object calls a function in __len__() and the function raises OverflowError, should we consider that object is "true"? In temptation to guess, I prefer to not guess b

[issue29950] Rename SlotWrapperType to WrapperDescriptorType

2017-04-21 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: This was added in python/typing just a couple of days ago, so I'm bumping to maybe get the PR to python/cpython merged too. -- ___ Python tracker _

[issue29191] liblzma is missing from pcbuild.sln

2017-04-21 Thread Steve Dower
Steve Dower added the comment: Yeah, merging into master is easy right now, but backports are still manual effort. It should only require 3.6, so I'll try to get to it today. -- ___ Python tracker

[issue29191] liblzma is missing from pcbuild.sln

2017-04-21 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +1362 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: FYI 3 FreeBSD buildbots are currently broken because of this issue. -- nosy: +haypo ___ Python tracker ___ _

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

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: > Anyway my preference was to stop automatically regenerating files, and to > keep the build system as simple as practical without hacks like the BOOT="#" > flag. In the past, this issue bite me so many times on Solaris, FreeBSD, etc. One because there was no

[issue30060] Crash on Py_Finalize if Py_NoSiteFlag is used

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30130] array.array is not an instance of collections.MutableSequence

2017-04-21 Thread Alexander Gosselin
Alexander Gosselin added the comment: Thanks for taking a look at this. I think array is little used, so registering it as a member of some of the abstract base classes in collections could easily have been overlooked. One of the prerequisites for membership in MutableSequence is a .clear() m

[issue30129] functools.partialmethod should look more like what it's impersonating.

2017-04-21 Thread Skip Montanaro
Skip Montanaro added the comment: Yeah, sorry about that. I work in an environment where I can't "eject" any code from my work computer. I've come up with a simple Python3 example, but it will have to wait until I can recreate it from scratch on my home computer. --

[issue29077] build failure when enabling dtrace on FreeBSD

2017-04-21 Thread cburroughs
Changes by cburroughs : -- nosy: +cburroughs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30122] Added missing archive programs.

2017-04-21 Thread Decorater
Decorater added the comment: Oh -- title: Added missing archive programs and close option to Windows docs. -> Added missing archive programs. ___ Python tracker ___

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

2017-04-21 Thread cburroughs
Changes by cburroughs : -- nosy: +cburroughs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue28909] Adding LTTng-UST tracing support

2017-04-21 Thread cburroughs
Changes by cburroughs : -- nosy: +cburroughs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue29191] liblzma is missing from pcbuild.sln

2017-04-21 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 1ccbe6007e5569ab25170f8ecddd5fbbc2ef36b0 by Mariatta (Steve Dower) in branch '3.6': bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entries (GH-1222) (GH-1244) https://github.com/python/cpython/commit/1ccbe6007e5569ab25170f8ecddd

[issue29191] liblzma is missing from pcbuild.sln

2017-04-21 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks everyone :) I merged the backport PR, so I'm closing this issue. While backporting is still a manual effort, this utility script automates some part of it. https://github.com/python/core-workflow/tree/master/cherry_picker -- resolution: -> fix

[issue28909] Adding LTTng-UST tracing support

2017-04-21 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Just a small note here for the documentation patch. yum is deprecated in Fedora, and dnf is now the default package manager, so the respective instructions for Fedora should reflect that. -- nosy: +cstratak _

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread David Bolen
David Bolen added the comment: No recent changes to the buildbot (I think the last was in September to bump the local python used to run the slave/build installer to 2.7). The default system sqlite (/usr/lib) is 3.0.8.6, so extremely old, but 3.6.11 is in /usr/local/{lib,include} from early da

[issue30126] CheckTraceCallbackContent of test_sqlite3 fails on OS X Tiger

2017-04-21 Thread David Bolen
David Bolen added the comment: The test appears to pass against a local test build of sqlite3 3.18.0, so I'll probably just plan on updating the slave to that later tonight. Unless anyone is interested in figuring out why it fails with 3.6.11 and not 3.18.0 (e.g., does the test have a higher

[issue30098] Verbose TypeError for asyncio.ensure_future

2017-04-21 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> backport needed versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-li

[issue30098] Verbose TypeError for asyncio.ensure_future

2017-04-21 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset ae5b3260dd459845aad8a30491b76d471577785d by Mariatta (Charles Renwick) in branch 'master': bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Future (GH-1170) https://github.com/python/cpython/commit/ae5b3260dd459845aad8a30491b76

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3a8f8ea2aca46f9ef1e715f2c924357b6719525f by Victor Stinner in branch '3.6': bpo-30125: Fix faulthandler.disable() on Windows (#1243) https://github.com/python/cpython/commit/3a8f8ea2aca46f9ef1e715f2c924357b6719525f -- __

[issue30133] Strings that end with properly escaped backslashes cause error to be thrown in re.search/sub/etc. functions.

2017-04-21 Thread Patrick Foley
New submission from Patrick Foley: The following code demonstrates: import re text = 'ab\\' exp = re.compile('a') print(re.sub(exp, text, '')) If you remove the backslash(es), the code runs fine. This appears to be specific to the re module and only to strings that end in (even properly escap

[issue30133] Strings that end with properly escaped backslashes cause error to be thrown in re.search/sub/etc. functions.

2017-04-21 Thread R. David Murray
R. David Murray added the comment: I think you are missing a re.escape around text. Text is otherwise not a valid replacement pattern. -- nosy: +r.david.murray ___ Python tracker _

[issue30125] test_SEH() of test_ctypes logs "Windows fatal exception: access violation"

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset a36e939aeb3b5a2c56561eb24f0e339eee9f3f9d by Victor Stinner in branch 'master': bpo-30125: disable faulthandler in ctypes test_SEH (#1237) https://github.com/python/cpython/commit/a36e939aeb3b5a2c56561eb24f0e339eee9f3f9d -- _

[issue29903] struct.Struct Addition

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: I dislike this feature. I reject it: Serhiy, Raymond and me dislike it. I never needed this feature and a correct implementation can be very complex if you have to take care of endian, alignement, etc. It's trivial to implement you own add using the format att

[issue30075] Printing ANSI Escape Sequences on Windows 10

2017-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a (duplicate) enhancement request, not a bug report. The superseder field is for when an issue is closed as a duplicate; I decided that this should be. Further discussion should be on python-ideas. -- nosy: +terry.reedy resolution: -> duplic

[issue30129] functools.partialmethod should look more like what it's impersonating.

2017-04-21 Thread Skip Montanaro
Changes by Skip Montanaro : Added file: http://bugs.python.org/file46823/partial3.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue30129] functools.partialmethod should look more like what it's impersonating.

2017-04-21 Thread Skip Montanaro
Changes by Skip Montanaro : -- keywords: +patch Added file: http://bugs.python.org/file46824/ft.diff ___ Python tracker ___ ___ Python

[issue29059] Windows: Python not using ANSI compatible console

2017-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #30075, Tithen Firion reports that "subprocess.call('', shell=True)" leaves the console in ANSI mode. In Eryk Sun says that this is likely a bug in cmd.exe and gives improved code for putting the console in VT mode, when this is possible. I closed that is

[issue28041] Inconsistent behavior: Get st_nlink from os.stat() and os.scandir()

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: scandir () is designed for effiency, not for portability or correctness. The API has deliberate limitations which are well documented, as the one you spotted: https://docs.python.org/dev/library/os.html#os.DirEntry.stat Your PR would defeat the whole purpose o

[issue29867] Add asserts in PyXXX_GET_SIZE macros

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1a5856bf9295fa73995898d576e0bedf016aee1f by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751) https://github.com/python/cpython/commit/1a5856bf9295fa739958

  1   2   >