[issue40889] Symmetric difference on dict_views is inefficient

2020-06-09 Thread Inada Naoki
Change by Inada Naoki : -- nosy: -inada.naoki resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-09 Thread Inada Naoki
Inada Naoki added the comment: New changeset 07d81128124f2b574808e33267c38b104b42ae2a by Dennis Sweeney in branch 'master': bpo-40889: Optimize dict.items() ^ dict.items() (GH-20718) https://github.com/python/cpython/commit/07d81128124f2b574808e33267c38b104b42ae2a -- nosy:

[issue37224] [subinterpreters] test__xxsubinterpreters fails randomly

2020-06-09 Thread Kubilay Kocak
Kubilay Kocak added the comment: Failure on AMD64 FreeBSD Shared 3.x (full log attached): == FAIL: test_subinterpreter (test.test__xxsubinterpreters.IsRunningTests)

[issue40888] Add close method to queue

2020-06-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: This can be re-opened if the discussion on the list warrants it. -- nosy: +rhettinger resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker

[issue40900] uuid module build fix on FreeBSD proposal

2020-06-09 Thread Kubilay Kocak
Kubilay Kocak added the comment: Another example, this time for lzma: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209355 -- ___ Python tracker ___

[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-06-09 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset bae872f1fe9b3a0d3e3b8800a2ac8d6b440d6e4d by Joannah Nanjekye in branch 'master': bpo-32604: Recommit "bpo-32604: PEP 554 for use in test suite (GH-19985)" (GH-20611)

[issue40915] multiple problems with mmap.resize() in Windows

2020-06-09 Thread Eryk Sun
Eryk Sun added the comment: For a concrete example, here's a rewrite of the Windows implementation that incorporates the suggested changes. #include #ifdef MS_WINDOWS /* a named file mapping that's open more than once can't be resized */ /* this check could be moved into

[issue40890] Dict views should be introspectable

2020-06-09 Thread Inada Naoki
Inada Naoki added the comment: +1. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40915] multiple problems with mmap.resize() in Windows

2020-06-09 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg371153 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40935] Links to Python3 docs for some libs return 404

2020-06-09 Thread Edison Abahurire
New submission from Edison Abahurire : These links in the deprecation warning on some Python 2 stdlib libraries documentation pages pointing to Python 3 alternatives return 404s. The link behind the words "Python documentation for the current stable release." Examples:

[issue40915] multiple problems with mmap.resize() in Windows

2020-06-09 Thread Eryk Sun
Eryk Sun added the comment: For a concrete example, here's a rewrite of the Windows implementation that incorporates the suggested changes. #include #ifdef MS_WINDOWS /* a named file mapping that's open more than once can't be resized */ /* this check could be moved into

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2020-06-09 Thread miss-islington
miss-islington added the comment: New changeset 663836e1179ea79eac12e55670af7e89a531a060 by Miss Islington (bot) in branch '3.8': [3.8] bpo-34003: Re-add versionchanged entry in csv docs (GH-20657) (GH-20771) https://github.com/python/cpython/commit/663836e1179ea79eac12e55670af7e89a531a060

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2020-06-09 Thread miss-islington
miss-islington added the comment: New changeset 73b728a779aa7d6d8f088c4b21447bba4bf3a351 by Miss Islington (bot) in branch '3.9': [3.9] bpo-34003: Re-add versionchanged entry in csv docs (GH-20657) (GH-20770) https://github.com/python/cpython/commit/73b728a779aa7d6d8f088c4b21447bba4bf3a351

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also note that threading.Condition.notify() would raise a RuntimeError if the underlying lock had not been acquired. Have you observed any behavior to the contrary? -- ___ Python tracker

[issue29242] Crash on GC when compiling PyPy

2020-06-09 Thread Ma Lin
Ma Lin added the comment: I suggest not to close this issue, this is an opportunity to investigate whether Python3 has this problem as well. -- nosy: +Ma Lin ___ Python tracker

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2020-06-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +19969 pull_request: https://github.com/python/cpython/pull/20771 ___ Python tracker ___

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2020-06-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +19968 pull_request: https://github.com/python/cpython/pull/20770 ___ Python tracker ___

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2020-06-09 Thread miss-islington
miss-islington added the comment: New changeset 7aed0524d4129766a6032326949ef7f91f6f6dfc by Éric Araujo in branch 'master': bpo-34003: Re-add versionchanged entry in csv docs (GH-20657) https://github.com/python/cpython/commit/7aed0524d4129766a6032326949ef7f91f6f6dfc -- nosy:

[issue40882] memory leak in multiprocessing.shared_memory.SharedMemory in Windows

2020-06-09 Thread Eryk Sun
Change by Eryk Sun : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-09 Thread Raymond Hettinger
New submission from Raymond Hettinger : This code looks correct to me. For condition variables, the requirement is that the underlying lock be held when notify() is called. The not_full and not_empty condition variables share the same underlying lock, so it is sufficient that

[issue40934] Default RLock does not work well for Manager Condition

2020-06-09 Thread Misko Dzamba
New submission from Misko Dzamba : I get unexpected behavior from Condition when using a Manager. I expected that if I call Condition.acquire() in one thread (or process) and then call .acquire() if another thread (or process) without first releasing the condition that it should block.

[issue40847] New parser considers empty line following a backslash to be a syntax error, old parser didn't

2020-06-09 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +19967 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20769 ___ Python tracker

[issue29242] Crash on GC when compiling PyPy

2020-06-09 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: I feel terrible and really regret that this was able to break things so badly. What options are available at this point? I'd at the very least like to remove the `loader.files()` behavior to avoid encouraging other loaders to implement it. Should we also

[issue30533] missing feature in inspect module: getmembers_static

2020-06-09 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- nosy: -lys.nikolaou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30533] missing feature in inspect module: getmembers_static

2020-06-09 Thread kernc
Change by kernc : -- nosy: +kernc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40869] errno missing descriptions

2020-06-09 Thread YoSTEALTH
Change by YoSTEALTH : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18319] gettext() cannot find translations with plural forms

2020-06-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +barry versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Łukasz Langa
Łukasz Langa added the comment: > I do respect the beta feature freeze. The relevant feature was added prior to > b1. The reverted change is an incremental fix addressing underlying > implementation details such as how resources are resolved and removing > duplicate code paths. Using the

[issue39465] [subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2020-06-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19966 pull_request: https://github.com/python/cpython/pull/20767 ___ Python tracker ___

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Stefan Krah
Stefan Krah added the comment: Thanks for checking, it's a pity that os.putenv() does not work. There's a global variable malloc_logger that is set from the environment on startup: https://opensource.apple.com/source/libmalloc/libmalloc-53.1.1/src/malloc.c It seems to be always checked for

[issue40933] zoneinfo may give incorrect dst() in Europe/Minsk in 1942

2020-06-09 Thread Paul Ganssle
New submission from Paul Ganssle : Related to bpo-40930 and bpo-40931, it *seems* that in 1942 only, `zoneinfo.ZoneInfo` returns -01:00 for DST in Europe/Minsk: >>> from datetime import datetime, timedelta >>> from backports.zoneinfo import ZoneInfo >>> datetime(1942, 1, 1,

[issue40932] subprocess docs don't qualify the instruction to use shlex.quote by OS

2020-06-09 Thread Stephen Farris
New submission from Stephen Farris : The subprocess docs state: "When using shell=True, the shlex.quote() function can be used to properly escape whitespace and shell metacharacters in strings that are going to be used to construct shell commands." While this is true on Unix, it is not true

[issue40932] subprocess docs don't qualify the instruction to use shlex.quote by OS

2020-06-09 Thread Stephen Farris
Change by Stephen Farris : -- type: -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: To my eyes, the patch looks somewhat tame. It is readable enough and doesn't do anything tricky. The set object implementation aimed to never recompute the hash when it was already known. It is reasonable that other set-like operations share that

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: This issue stems from improper reliance on implementation details of `importlib.resources.path`, which returns a context manager that is designed to clean up the file after the context closes. certifi would have encountered the same problem on older

[issue40931] zoneinfo gives incorrect dst() in Europe/Madrid in 1938

2020-06-09 Thread Paul Ganssle
New submission from Paul Ganssle : Apparently in 1938, Madrid had a "double daylight saving time", where they transitioned from WET (+0) → WEST (+1) → WEMT (+2) → WEST (+1) → WET (+0): $ zdump -V -c 1938,1940 'Europe/Madrid' Europe/Madrid Sat Apr 2 22:59:59 1938 UT = Sat Apr 2 22:59:59 1938

[issue40930] zoneinfo gives incorrect dst() in Pacific/Rarotonga between 1978 and 1991

2020-06-09 Thread Paul Ganssle
New submission from Paul Ganssle : While developing a shim for deprecating pytz, I discovered this issue with the Pacific/Rarotonga zone: >>> from datetime import datetime, timedelta >>> from backports.zoneinfo import ZoneInfo >>> datetime(1991, 2, 1,

[issue40077] Convert static types to PyType_FromSpec()

2020-06-09 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40594] urljoin since 3.5 incorrectly filters out double slashes

2020-06-09 Thread Tal Einat
Tal Einat added the comment: Putting aside backwards compatibility, I would argue the opposite: Since consecutive slashes are valid, I suggest we would need to see that collapsing them into a single slash is the status quo, otherwise we should avoid such collapsing. Here's some evidence

[issue39465] [subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2020-06-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19965 pull_request: https://github.com/python/cpython/pull/20766 ___ Python tracker ___

[issue40802] AbstractEventLoop.shutdown_default_executor breaks backwards compatibility

2020-06-09 Thread Yury Selivanov
Yury Selivanov added the comment: > Since asyncio is no longer provisional, should it break backwards > compatibility with just a What's New entry? Adding new APIs to asyncio can't be classified as a backward compatibility issue. Otherwise the development of it would stall and nobody would

[issue40275] test.support has way too many imports

2020-06-09 Thread hai shi
Change by hai shi : -- pull_requests: +19964 pull_request: https://github.com/python/cpython/pull/20765 ___ Python tracker ___ ___

[issue17013] Allow waiting on a mock

2020-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: isn't PR 20759 backwards incompatible? If I understand correctly, this would break anyone that is checking for identity as : assert mymock.called is True -- nosy: +pablogsal ___ Python tracker

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ce5e6f098f8a270e50b989baa75765584573706b by Łukasz Langa in branch '3.9': [3.9] bpo-40924: Revert "bpo-39791 native hooks for importlib.resources.files (GH-20576)" (#20760)

[issue39791] New `files()` api from importlib_resources.

2020-06-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ce5e6f098f8a270e50b989baa75765584573706b by Łukasz Langa in branch '3.9': [3.9] bpo-40924: Revert "bpo-39791 native hooks for importlib.resources.files (GH-20576)" (#20760)

[issue40925] Remove redundant macros used for stack manipulation in interpreter

2020-06-09 Thread Eric V. Smith
Eric V. Smith added the comment: What type of changes are you proposing to make? -- nosy: +eric.smith ___ Python tracker ___ ___

[issue38160] [subinterpreters] Add a "PyInterpreterState *" field to PyTypeObject.

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue40854] Allow overriding sys.platlibdir: add PYTHONPLATLIBDIR env var

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: Thanks Sandro Mani. The new env var should be part of the incoming Python 3.9.0 beta3. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40223] Add -fwrapv for new icc versions

2020-06-09 Thread Laël Cellier
Laël Cellier added the comment: since ‑fwrapv is the default with ɢᴄᴄ as ‑O2 is used in Cpython build scripts. -- ___ Python tracker ___

[issue40223] Add -fwrapv for new icc versions

2020-06-09 Thread Laël Cellier
Laël Cellier added the comment: No I’m meaning disabling all optimization when using gcc and using ‑ftrapv. This should cause the same problem : a crashing binary… -- ___ Python tracker

[issue40927] ./python -m test test___all__ test_binhex fails

2020-06-09 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 1.0 -> 2.0 pull_requests: +19963 pull_request: https://github.com/python/cpython/pull/20764 ___ Python tracker ___

[issue39372] The header files in Include/ have many declarations with no definition

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: > Maybe backport this change (except PyNoArgsFunction)? I don't think that it's a good idea. I suggest to only do cleanup in the master branch, just in case if something goes wrong. Like the PyNoArgsFunction removal :-) -- nosy: +vstinner

[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-06-09 Thread honglei jiang
honglei jiang added the comment: c:\Python39>python -m test -j4 == CPython 3.9.0b2 (tags/v3.9.0b2:0b1a1c8, Jun 8 2020, 22:55:31) [MSC v.1924 64 bit (AMD64)] == Windows-10-10.0.18362-SP0 little-endian == cwd: C:\Users\jhong\AppData\Local\Temp\test_python_5960 == CPU count: 4 == encodings:

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: I forgot to say that MallocLogFile=/dev/null did not work, that's why I tried MallocDebugReport. -- ___ Python tracker ___

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Thanks, I found "MallocDebugReport" in `man malloc` (I could have thought to look into there...) that seem to do the trick: $ MallocDebugReport=none ./python -m test test_decimal -m test_maxcontext_exact_arith 0:00:00 load avg: 1.27 Run tests sequentially

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Ned Deily
Change by Ned Deily : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40890] Dict views should be introspectable

2020-06-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I meant that you can make dict_view.mapping always > returning a MappingProxyType. That would be a reasonable constraint. -- ___ Python tracker

[issue40077] Convert static types to PyType_FromSpec()

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: I tried to finalize static types in Py_Finalize(), but it didn't work: * https://bugs.python.org/issue1635741#msg371119 * https://github.com/python/cpython/pull/20763 -- ___ Python tracker

[issue40929] Multiprocessing. Instance of the custom class is missing in subprocesses

2020-06-09 Thread cyberlis
Change by cyberlis : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 20763 to "finalize" static types in Py_Finalize(). It mostly works, but "./Programs/_testembed test_forced_io_encoding" crash. This program calls Py_Initialize() and Py_Finalize() multiple times in a loop. It doesn't look to be safe to clear

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Stefan Krah
Stefan Krah added the comment: "squashing the remark" means suppressing the message from malloc(). I would really like it if the test could be executed by default though. Looking at:

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-06-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19962 pull_request: https://github.com/python/cpython/pull/20763 ___ Python tracker ___

[issue40929] Multiprocessing. Instance of the custom class is missing in subprocesses

2020-06-09 Thread cyberlis
New submission from cyberlis : When I use python3.7 everything works correctly and every subprocess has its own `Hello` instance. When I use python3.8 subprocesses do not have an instance of `Hello` class. Is this behavior correct? My code to reproduce an issue ```python from

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: > The annoying "error" looks the same as #5614, which was closed as "won't fix". Yes, it's a similar message, test_io does not display it on Catalina anymore thought. > Is this the only place in the test suite now? As far as I know yes. > If it is, I'm

[issue40891] Use pep573 in functools

2020-06-09 Thread Petr Viktorin
Petr Viktorin added the comment: I wrote about the _PyType_GetModuleByDef idea on the capi-sig mailing list: https://mail.python.org/archives/list/capi-...@python.org/thread/T3P2QNLNLBRFHWSKYSTPMVEIL2EEKFJU/ -- ___ Python tracker

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-09 Thread r n
Change by r n : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40873] Something wrong with html.unescape()

2020-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: needs patch -> versions: -Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue40223] Add -fwrapv for new icc versions

2020-06-09 Thread Stefan Krah
Stefan Krah added the comment: I'm aware of what -fwrapv does, it is a long standing issue in Python. I didn't try to find the exact location of overflow, since we also use -fwrapv for gcc. It is also possible that giving -fwrapv to icc disables another optimization that is the actual

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-09 Thread Saba Kauser
Saba Kauser added the comment: Thanks a ton! That worked.. As I understand, users are required to add the directory path of the dll. Is there any way I can set this while building the extension with dependency? I basically want to hard-code the dependency path so that import module works

[issue40873] Something wrong with html.unescape()

2020-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Stefan Krah
Stefan Krah added the comment: The annoying "error" looks the same as #5614, which was closed as "won't fix". Is this the only place in the test suite now? If it is, I'm okay with squashing the remark. -- nosy: +skrah versions: +Python 3.9 ___

[issue40873] Something wrong with html.unescape()

2020-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40873] Something wrong with html.unescape()

2020-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: > make install writes into /opt/py39b1/lib/python3.9/lib-dynload/ ("lib") I tested manually my fix: it works as expected. Install: ./configure --prefix /opt/py39_lib64 --with-platlibdir=lib64 make make install Test: $ /opt/py39_lib64/bin/python3.9 -m site

[issue40223] Add -fwrapv for new icc versions

2020-06-09 Thread Laël Cellier
Laël Cellier added the comment: If -fwrapv isn’t enabled (whereas with gcc this is the default with ‑O2), then it means -ftrapv is enabled. And from the manual page : This option generates traps for signed overflow on addition, subtraction, multiplication operations. Did you checked if the

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-06-09 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40923] Thread safety : disable intel’s compiler autopar where it’s being relevant.

2020-06-09 Thread Laël Cellier
Laël Cellier added the comment: I’m talking about the latest icc installed along with Parallel studio xe. -- ___ Python tracker ___

[issue40923] Thread safety : disable intel’s compiler autopar where it’s being relevant.

2020-06-09 Thread Stefan Krah
Stefan Krah added the comment: Yes, the generated Python crashes (as the link I gave shows). I'm using the command line, so I can't be of any assistance with Parallel Studio XE. -- ___ Python tracker

[issue40923] Thread safety : disable intel’s compiler autopar where it’s being relevant.

2020-06-09 Thread Stefan Krah
Change by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40928] test_decimal.CWhitebox.test_maxcontext_exact_arith() shows "malloc: can't allocate region" on MacOS

2020-06-09 Thread Rémi Lapeyre
New submission from Rémi Lapeyre : Here's the result of "./python -m test test_decimal -m test_maxcontext_exact_arith": 0:00:00 load avg: 1.33 Run tests sequentially 0:00:00 load avg: 1.33 [1/1] test_decimal python(7835,0x11a218dc0) malloc: can't allocate region :***

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-06-09 Thread miss-islington
miss-islington added the comment: New changeset 6cb24a035c5980cab39b6dc5d70762af07293bea by Miss Islington (bot) in branch '3.9': bpo-40684: Fix make install for platlibdir=lib64 (GH-20736) https://github.com/python/cpython/commit/6cb24a035c5980cab39b6dc5d70762af07293bea --

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-06-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19961 pull_request: https://github.com/python/cpython/pull/20761 ___ Python tracker

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-06-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 51ae31e5b93b986e57a7e18e25f981a6ffcdefb7 by Victor Stinner in branch 'master': bpo-40684: Fix make install for platlibdir=lib64 (GH-20736) https://github.com/python/cpython/commit/51ae31e5b93b986e57a7e18e25f981a6ffcdefb7 --

[issue7949] IDLE: avoid no-contrast popups and dialogs.

2020-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for finding that. Technically, #36176 should have been closed as a duplicate of this issue. But a fix anywhere is OK. Any other contrast problems should be a new issue. -- resolution: -> duplicate stage: needs patch -> resolved status:

[issue40365] argparse: action "extend" with 1 parameter splits strings into characters

2020-06-09 Thread Jonathan Haigh
Jonathan Haigh added the comment: >> But I wonder, was this situation discussed in the original bug/issue? >Doesn't look like it: I was looking at the wrong PR link. This has more discussion: https://github.com/python/cpython/pull/13305. nargs is discussed but I'm not sure it was realized

[issue40807] Codeop: Show warnings once during _maybe_compile

2020-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 3.7 backport is needed but required a revised example. The changeset is 4b378acb97a575892c0e372a6bb0c17da1ccdf3e. PRs 20486, 20639, 20672, and 20673 are the main patch. PRs 20646 and 20647 for 3.8 and 3.7 backport a test_codeop import change made

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +19959 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20760 ___ Python tracker

[issue39791] New `files()` api from importlib_resources.

2020-06-09 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 6.0 -> 7.0 pull_requests: +19960 pull_request: https://github.com/python/cpython/pull/20760 ___ Python tracker ___

[issue40594] urljoin since 3.5 incorrectly filters out double slashes

2020-06-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Tal, Thank you. To be specific, it is about parsing behavior, specifically urljoin behavior, There is no question about the validity of the double-slash in the URL. If we find a source (like libcurl) which exhibits parsing behavior different than

[issue7949] IDLE: avoid no-contrast popups and dialogs.

2020-06-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this was fixed with #36176. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40923] Thread safety : disable intel’s compiler autopar where it’s being relevant.

2020-06-09 Thread Laël Cellier
Laël Cellier added the comment: I’m using parallel studio xe 2020 and I didn’t receive any crash from icc itself. The problem is the resulting binary which can be downloaded here https://filebin.net/4lp4nb61dav9qamo but that can’t be posted on this issue that is crashing. The only thing I

[issue40594] urljoin since 3.5 incorrectly filters out double slashes

2020-06-09 Thread Tal Einat
Tal Einat added the comment: According to section 3.3 of RFC 3986[1], and also RFC 2396[2] which preceded it, a path is made up of zero or more consecutive "/" + section pieces, and a section may be empty. In other words, paths may include consecutive slashes. Several StackOverflow answers

[issue40888] Add close method to queue

2020-06-09 Thread Андрей Казанцев
Андрей Казанцев added the comment: Thank you so much -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40888] Add close method to queue

2020-06-09 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: The python-ideas is hosted at https://mail.python.org/mailman3/lists/python-ideas.python.org/, you can create an account and once it's validated you will be able to post a new message either using the web UI or by sending a mail directly to the list.

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Łukasz Langa
Łukasz Langa added the comment: In this case we need to revert the 3.9 backport to release a hotfix tonight. Please respect the beta feature freeze. -- ___ Python tracker ___

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: I understand the issue here and can supply more details soon (no later than this weekend). -- ___ Python tracker ___

[issue17013] Allow waiting on a mock

2020-06-09 Thread Ilya Kulakov
Change by Ilya Kulakov : -- nosy: +Ilya.Kulakov nosy_count: 11.0 -> 12.0 pull_requests: +19958 pull_request: https://github.com/python/cpython/pull/20759 ___ Python tracker

[issue40888] Add close method to queue

2020-06-09 Thread Андрей Казанцев
Андрей Казанцев added the comment: How to do this? -- type: enhancement -> ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40594] urljoin since 3.5 incorrectly filters out double slashes

2020-06-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: > The problem is: double slashes are perfectly legal in a URI/URL, and for > reasons I don't understand, they are in use in the wild And what is the de-facto behavior of browsers, when double URL is used? As far as I know, the browsers remove them, combine

  1   2   >