[issue30157] csv.Sniffer.sniff() regex error

2017-04-24 Thread Louie Lu
Changes by Louie Lu : -- title: csn.Sniffer.sniff() regex error -> csv.Sniffer.sniff() regex error ___ Python tracker ___

[issue30153] lru_cache should support invalidations

2017-04-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: If you're interested, here is a starting point for experimenting with any variations you want (invalidate a specific entry, changeable maxsize, pickle/unpickle, expiration of entries after a specific time, inspection of the internal contents, ability to

[issue29617] Drop Python 3.4 support from asyncio

2017-04-24 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29617] Drop Python 3.4 support from asyncio

2017-04-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 3e2ad8ec61a322370a6fbdfb2209cf74546f5e08 by INADA Naoki in branch 'master': bpo-29617: Remove Python 3.3 support from asyncio (GH-232) https://github.com/python/cpython/commit/3e2ad8ec61a322370a6fbdfb2209cf74546f5e08 --

[issue30052] URL Quoting page links to function Bytes instead of defintion

2017-04-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review versions: +Python 3.7 ___ Python tracker ___

[issue30157] csn.Sniffer.sniff() regex error

2017-04-24 Thread Jake Davis
New submission from Jake Davis: Line 220 of Lib/csv.py has an extra `>` in the first group: r'(?P>[^\w\n"\']) -- components: Library (Lib) messages: 292249 nosy: jcdavis1983 priority: normal pull_requests: 1389 severity: normal status: open title: csn.Sniffer.sniff() regex error

[issue30153] lru_cache should support invalidations

2017-04-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry Jesús, I don't want to add feature creep to the LRU cache. FWIW, it is very easy to make your own variants from collections.OrderedDict. -- resolution: -> rejected stage: needs patch -> resolved status: open -> closed

[issue25949] Lazy creation of __dict__ in OrderedDict

2017-04-24 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing

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

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset f6448e5d65c349576df6e83b8324b9c208e77615 by Victor Stinner in branch 'master': bpo-30132: distutils test_build_ext() uses temp_cwd() (#1278) https://github.com/python/cpython/commit/f6448e5d65c349576df6e83b8324b9c208e77615 --

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

2017-04-24 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-04-24 Thread STINNER Victor
STINNER Victor added the comment: The commit 2a1aed04b0943636f605543522e16cca1dc23e70 introduced a regression on macOS. The PR https://github.com/python/cpython/pull/1279 should fix it. http://buildbot.python.org/all/builders/x86-64%20El%20Capitan%203.x/builds/87/steps/test/logs/stdio

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

2017-04-24 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1388 ___ Python tracker ___ ___

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2017-04-24 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- versions: +Python 3.7 -Python 3.4 ___ Python tracker ___

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2017-04-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: Note that https://pypi.python.org/pypi/re2 exists today as well and offers a re module compatible interface. I haven't tried it. -- ___ Python tracker

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

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: Ok, I found the guilty: test_build_ext, see linked PR which should fix the warning. -- ___ Python tracker ___

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

2017-04-24 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1387 ___ Python tracker ___ ___

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

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: > As an experiment, and to show what would be needed (at minimum), I have > attempted to make Python/dtoa.c completely aliasing-safe here: > https://github.com/DimitryAndric/cpython/commit/29c3f6f5cd771fce5630f127b9e7054593e3160c Would it be technically

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

2017-04-24 Thread Dimitry Andric
Dimitry Andric added the comment: There is a "#pragma clang optimize", but it only has the options "on" or "off", for specific source locations. I guess that would defeat the purpose a little bit. :( As an experiment, and to show what would be needed (at minimum), I have attempted to make

[issue30131] test_logging leaks a "dangling" thread

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4bcfa3a2363c30d406c6826e291b30c33a649d18 by Victor Stinner in branch 'master': bpo-30131: Cleanup threads in test_logging (#1275) https://github.com/python/cpython/commit/4bcfa3a2363c30d406c6826e291b30c33a649d18 --

[issue30131] test_logging leaks a "dangling" thread

2017-04-24 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1386 ___ Python tracker ___ ___

[issue28851] namedtuples field_names sequence preferred

2017-04-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hope it's OK that I've made a PR for these changes. -- nosy: +csabella ___ Python tracker ___

[issue28851] namedtuples field_names sequence preferred

2017-04-24 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1385 ___ Python tracker ___ ___

[issue29581] __init_subclass__ causes TypeError when used with standard library metaclasses (such as ABCMeta)

2017-04-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> backport needed ___ Python tracker ___

[issue30156] PYTHONDUMPREFS segfaults on exit

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: Come on, yet another crash from property_descr_get()??? It's the 3rd time... Do we really need this micro-optimization? Previous bugs and workarounds: - issue #26811 - issue #24276 Using the FASTCALL calling convention, no temporary tuple is created to pass

[issue30148] Pathological regex behaviour

2017-04-24 Thread Tim Peters
Tim Peters added the comment: Yes, that example takes time exponential in the number of blanks to (fail to) match - each time you add a blank to `input`, it essentially doubles the time required. It's _possible_ for an implementation to deduce that `(\s+)+` is an insanely inefficient way to

[issue30148] Pathological regex behaviour

2017-04-24 Thread Jussi Pakkanen
Jussi Pakkanen added the comment: This is slow even when ignores is set to a non-empty value. It's not as slow but the real slowdown is in the whitespace regex. Here is a minimal sample: input = ' abc' re.search(r'(\s+)+d', input) --

[issue30095] HTMLCalendar allow custom classes

2017-04-24 Thread Oz Tiram
Oz Tiram added the comment: Apparently, I forgot to push the second branch. It is now pushed. I renamed the class attribute names on the v1 branch. I still need to do the following: - Add docs - Fix existing tests and add new tests demonstrating the usage of the new attributes. --

[issue30156] PYTHONDUMPREFS segfaults on exit

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The regression was added by the fix for issue26811. PR 1272 applies the alternate patch from issue26811. This doesn't harm the performance. $ ./python.patched -m perf timeit -q --compare-to ./python.default -s "from collections import namedtuple; P =

[issue30156] PYTHONDUMPREFS segfaults on exit

2017-04-24 Thread Oren Tirosh
Oren Tirosh added the comment: In addition to fixing this - perhaps PYTHONDUMPREFS or something similar should be added to test automation? It is apparently capable of uncovering some bugs that none of the other reference and recnt debugging tools could find. --

[issue26811] segfault due to null pointer in tuple

2017-04-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1384 ___ Python tracker ___ ___

[issue30156] PYTHONDUMPREFS segfaults on exit

2017-04-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1383 ___ Python tracker ___ ___

[issue5115] Extend subprocess.kill to be able to kill process groups

2017-04-24 Thread Eryk Sun
Eryk Sun added the comment: Using a Windows job object should be paired with the creation flag CREATE_SUSPENDED. Callers may also need CREATE_BREAKAWAY_FROM_JOB, but setting that creation flag shouldn't be integrated into Popen. The child has to be created suspended to ensure it doesn't spawn

[issue30052] URL Quoting page links to function Bytes instead of defintion

2017-04-24 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1382 ___ Python tracker ___ ___

[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-04-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- assignee: -> yselivanov ___ Python tracker ___

[issue30156] PYTHONDUMPREFS segfaults on exit

2017-04-24 Thread Oren Tirosh
New submission from Oren Tirosh: Reproduce: Py_DEBUG build PYTHONDUMPREFS=1 ./python -c pass (big dump of reference information) Segmentation fault git-bisected to commit 7822f151b68e40376af657d267ff774439d9adb9 -- components: Interpreter Core messages: 292232 nosy: orent,

[issue30152] Reduce the number of imports for argparse

2017-04-24 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___

[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-04-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> backport needed versions: -Python 3.5 ___ Python tracker ___

[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fcfe80ec2592fed8b3941c79056a8737abef7d3b by Serhiy Storchaka (Nate) in branch 'master': bpo-29822: Make inspect.isabstract() work during __init_subclass__. (#678) https://github.com/python/cpython/commit/fcfe80ec2592fed8b3941c79056a8737abef7d3b

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2017-04-24 Thread Daniel Lenski
Changes by Daniel Lenski : -- nosy: +dlenski ___ Python tracker ___ ___ Python-bugs-list

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2017-04-24 Thread Anthony Tuininga
New submission from Anthony Tuininga: Right now there is no documented way to create a datetime instance with a tzinfo instance. The documented macros all hard code the value Py_None for the tzinfo parameter. Using the PyObject_Call() method instead of the macro for creating a datetime

[issue30153] lru_cache should support invalidations

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of rejected issue28178. See also related issue17528, issue18577, issue19859, issue23030, issue26082, and issue28112. -- assignee: -> rhettinger ___ Python tracker

[issue29804] test_ctypes test_pass_by_value fails on arm64 (aarch64) architecture

2017-04-24 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___

[issue30052] URL Quoting page links to function Bytes instead of defintion

2017-04-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue30153] lru_cache should support invalidations

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could cache_clear() clear the entire cache or discard just the cached call without arguments? -- nosy: +serhiy.storchaka ___ Python tracker

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

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: > I also note that -fno-strict-aliasing is being included in 2.7's compile > arguments Ah right, PyObject structures of Python 2 doesn't respect strict aliasing... -- ___ Python tracker

[issue30153] lru_cache should support invalidations

2017-04-24 Thread Steven D'Aprano
Steven D'Aprano added the comment: Perhaps the existing ``cache_clear`` method could take optional arguments? def cache_clear(self, *args, **kw): if not (args or kw): # clear the entire cache else: # clear just the cache entry for *args, **kw -- components:

[issue28969] lru_cache is not threadsafe

2017-04-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -855 ___ Python tracker ___ ___

[issue26534] subprocess.check_output with shell=True ignores the timeout

2017-04-24 Thread Martin Panter
Martin Panter added the comment: Issue 5115 is already open with patch that has an alternative API to the low-level “killpg” method. It also has a Windows implementation and tests. I suggest to focus this bug on the higher-level “kill_group” option. -- dependencies: +Extend

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

2017-04-24 Thread Eric V. Smith
Eric V. Smith added the comment: > Unfortunately, as far as I know, clang still does not support > function-level optimization pragmas. Maybe it was implemented > recently, but then you would still have to have a workaround> > for older versions. I realize the answer is probably "no", but I'll

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

2017-04-24 Thread Dimitry Andric
Dimitry Andric added the comment: Note that gcc has documented accessing union members in this way as an "implementation defined" feature:

[issue30154] subprocess.run with stderr connected to a pipe won't timeout when killing a never-ending shell commanad

2017-04-24 Thread Martin Panter
Martin Panter added the comment: This is similar to the problem described in Issue 26534, which proposes “kill_group” and “killpg” APIs as a solution. (FYI you should put a shebang at the start of the shell script, or call it as “sh -c test.sh”, to fix the “Exec format error”.) --

[issue26534] subprocess.check_output with shell=True ignores the timeout

2017-04-24 Thread Martin Panter
Martin Panter added the comment: I don’t know enough about process groups and sessions to properly review, but some things that stand out: * Patch is missing documentation and tests * If the “killpg” just wraps os.killpg, perhaps adding the method is not justified * Are there any race

[issue30154] subprocess.run with stderr connected to a pipe won't timeout when killing a never-ending shell commanad

2017-04-24 Thread Martijn Pieters
Martijn Pieters added the comment: Apologies, I copied the wrong sleep 10 demo. The correct demo is: cat >test.sh< #!/bin/sh > sleep 10 > EOF time bin/python -c "import subprocess; subprocess.run(['./test.sh'], stderr=subprocess.PIPE, timeout=3)" Traceback (most recent call last): File

[issue30152] Reduce the number of imports for argparse

2017-04-24 Thread Berker Peksag
Berker Peksag added the comment: > The patch also makes argparse itself be imported only when the module > is used as a script, not just imported. +1. I'd move this into its own PR. -- nosy: +berker.peksag ___ Python tracker

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

2017-04-24 Thread Kubilay Kocak
Kubilay Kocak added the comment: 2.7 branch on koobs-freebsd-current worker doesn't appear to be failing currently, but there may be differences in (or a lack of equivalent) coverage compared to 3.*. I also note that -fno-strict-aliasing is being included in 2.7's compile arguments: cc

[issue30154] subprocess.run with stderr connected to a pipe won't timeout when killing a never-ending shell commanad

2017-04-24 Thread Martijn Pieters
New submission from Martijn Pieters: You can't time out a process tree that includes a never-ending process, *and* which redirects stderr: cat >test.sh< /dev/null # never-ending EOF chmod +x test.sh python -c "import subprocess; subprocess.run(['./test.sh'], stderr=subprocess.PIPE,

[issue30153] lru_cache should support invalidations

2017-04-24 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: I think that "functools.lru_cache()" should have the ability to "invalidate" a (possibly cached) value. Something like: @functools.lru_cache() def func(param): ... func.invalidate(PARAM) # discard this cached call, or ignore if not cached --

[issue28969] lru_cache is not threadsafe

2017-04-24 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30150] raw debug allocators to not return malloc alignment

2017-04-24 Thread Mattia Rizzolo
Changes by Mattia Rizzolo : -- nosy: +mapreri ___ Python tracker ___ ___ Python-bugs-list

[issue30052] URL Quoting page links to function Bytes instead of defintion

2017-04-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since no one has said that this change shouldn't be made, I'll start working on this. -- ___ Python tracker ___

[issue29751] PyLong_FromString documentation wrong on numbers with leading zero and base=0

2017-04-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Oh, I didn't expect that. That is so cool! Thanks Mariatta. :-) -- ___ Python tracker ___

[issue30095] HTMLCalendar allow custom classes

2017-04-24 Thread Oz Tiram
Oz Tiram added the comment: @Walter, I agree with you about consistent naming. Personally, I would prefer to name all the variables "styles". But I preferred not to break past compatibility too. So I guess we are stuck for a while with "classes". I will rename the variables. As for

[issue30095] HTMLCalendar allow custom classes

2017-04-24 Thread Walter Dörwald
Walter Dörwald added the comment: The second link is a 404. For the v1 patch: The variable names are a bit inconsistent: The first uses "classes" all others use "styles". This should be consistent within itself and with the existing code, i.e. "classes" should be used. Also each class

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

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: > Could we use Clang specific pragma in dtoa.c rather than a compiler option? If we decide to go for the -fno-strict-aliasing only for dtoa.c, I suggest to use it also for GCC. GCC might decide to also optimize dtoa.c further in the future. I don't think that

[issue30152] Reduce the number of imports for argparse

2017-04-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___

[issue29442] Replace optparse with argparse in setup.py

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: I consider that the issue #30152 is now a dependency of this change. -- dependencies: +Reduce the number of imports for argparse ___ Python tracker

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

2017-04-24 Thread STINNER Victor
STINNER Victor added the comment: > This appears to require backporting to 3.6 and 3.5 which are also failing: I'm aware of that and I plan to fix these versions as well (2.7 also, no?), but I would like to first decide if we "fix" dtoa.c aliasing, or if we restrict -fno-strict-aliasing flag

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

2017-04-24 Thread Kubilay Kocak
Changes by Kubilay Kocak : -- stage: -> backport needed type: -> behavior ___ Python tracker ___

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

2017-04-24 Thread Kubilay Kocak
Kubilay Kocak added the comment: Thank you for investigating Victor. This appears to require backporting to 3.6 and 3.5 which are also failing: FAIL: test_repr (test.test_float.ReprTestCase) -- Traceback (most recent call

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

2017-04-24 Thread Martin Panter
Martin Panter added the comment: A while ago I wrote a patch targetting Issue 22359 that may be a starting point for “make regen”: . It pulled out three recipes into separate “phony” targets: “make graminit importlib importlib_external”.

[issue11913] sdist refuses README.rst

2017-04-24 Thread Berker Peksag
Berker Peksag added the comment: PR 563 has been merged. -- assignee: merwok -> components: -Distutils2 nosy: +berker.peksag, dstufft resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: behavior -> enhancement versions: +Python 3.7

[issue29999] repr() of ImportError misses keyword arguments name and path

2017-04-24 Thread Berker Peksag
Berker Peksag added the comment: Including 'path' may make the repr less readable in some cases. +1 for 'name', though. -- nosy: +berker.peksag ___ Python tracker

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

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could we use Clang specific pragma in dtoa.c rather than a compiler option? -- nosy: +serhiy.storchaka ___ Python tracker

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

2017-04-24 Thread Mark Dickinson
Mark Dickinson added the comment: @haypo: for your strict-aliasing notes collection, I highly recommend the recent paper "Detecting Strict Aliasing Violations" by P. Cuoq et. al. http://trust-in-soft.com/wp-content/uploads/2017/01/vmcai.pdf -- ___

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue30152 replaces some collections.abc with _collections_abc for performance reasons. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29442] Replace optparse with argparse in setup.py

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue30152. It includes Chi's change for argparse (actually it was inspired by Chi's change) and much more. -- stage: resolved -> patch review ___ Python tracker

[issue30152] Reduce the number of imports for argparse

2017-04-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1381 ___ Python tracker ___ ___

[issue30152] Reduce the number of imports for argparse

2017-04-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Since argparse becomes more used as standard way of parsing command-line arguments, the number of imports involved when import argparse becomes more important. Proposed patch reduces that number by 10 modules. Unpatched: $ ./python -c 'import sys; s =

[issue30141] If you forget to call do_handshake, then everything seems to work but hostname checking is disabled

2017-04-24 Thread Christian Heimes
Christian Heimes added the comment: The PR doesn't fix all bugs with the current approach. In the auto-handshake case, the struct members peer_cert and handshake_done are not set correctly. I'll look into the matter. Perhaps I can set them in the handshake or verify callback. if

[issue30140] Binary arithmetic does not always call subclasses first

2017-04-24 Thread Mark Dickinson
Mark Dickinson added the comment: > could you point me to where this logic is implemented in CPython's source? Most of the relevant code is in Objects/abstract.c and Objects/typeobject.c. A BINARY_ADD opcode (for example) ends up calling PyNumber_Add:

[issue30151] Race condition in use of _PyOS_SigintEvent on windows

2017-04-24 Thread Eryk Sun
Changes by Eryk Sun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> behavior ___ Python tracker

[issue30151] Race condition in use of _PyOS_SigintEvent on windows

2017-04-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: Oh, I should also say that this isn't actually affecting me, I just figured that once I was aware of the bug it was worth making a record here. Might be a good starter bug for someone trying to get into CPython's internals :-) --

[issue30151] Race condition in use of _PyOS_SigintEvent on windows

2017-04-24 Thread Nathaniel Smith
New submission from Nathaniel Smith: As pointed out in this stackoverflow answer: http://stackoverflow.com/a/43578450/ and since I seem to be collecting signal-handling bugs these days :-), there's a race condition in how the interpreter uses _PyOS_SigintEvent to allow control-C to break out

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2e576f5aec1f8f23f07001e2eb3db9276851a4fc by Serhiy Storchaka in branch 'master': bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263)

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

2017-04-24 Thread Nick Coghlan
Nick Coghlan added the comment: As Martin notes, my concern is that I can go for years without having to touch the low level files (since syntax changes are rare), so it's important to me to make it easy to remember and/or relearn how to regenerate them. However, suitable make commands (e.g.