[issue40998] Compiler warnings in ubsan builds

2020-06-17 Thread Christian Heimes
New submission from Christian Heimes : I'm seeing several compiler warnings in ubsan builds: $ ./configure --with-address-sanitizer --with-undefined-behavior-sanitizer $ make clean $ make Parser/string_parser.c: In function ‘decode_unicode_with_escapes’: Parser/string_parser.c:98:17: warning: nu

[issue40998] Compiler warnings in ubsan builds

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +20108 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20929 ___ Python tracker ___

[issue40998] Compiler warnings in ubsan builds

2020-06-17 Thread Christian Heimes
Christian Heimes added the comment: PR 20929 addresses three out of four warnings found by GCC 10's ubsan on Fedora 32. -- stage: patch review -> ___ Python tracker ___

[issue40999] implicit-int-float-conversion warnings in time and math code

2020-06-17 Thread Christian Heimes
New submission from Christian Heimes : clang 10 with asan and ubsan complains about implicit int to float conversion in time and math related code: $ CC=clang ./configure --with-address-sanitizer --with-undefined-behavior-sanitizer $ make clean $ make -s Python/pytime.c:154:10: warning: impli

[issue40989] [C API] Remove _Py_NewReference() and _Py_ForgetReference() from the public C API

2020-06-17 Thread Stefan Behnel
Stefan Behnel added the comment: I looked into the freelists a bit more and (as always) it's not quite that simple. Calling _Py_NewReference() allows keeping the "ob_type" pointer in place, whereas PyObject_INIT() requires a blank object in order to set the type and properly ref-count heap t

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: See also Coverage report in Github CI for standard library discussion: https://discuss.python.org/t/coverage-report-in-github-ci-for-standard-library/2836 -- ___ Python tracker

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: Another issue: the "Test code coverage (C)" job on Travis CI times out after 50 minutes: https://travis-ci.org/github/python/cpython/jobs/699170857 0:44:44 load avg: 7.76 running: test_multiprocessing_spawn (11 min 38 sec), test_concurrent_futures (9 min 33

[issue40980] group names of bytes regexes are strings

2020-06-17 Thread Quentin Wenger
Quentin Wenger added the comment: Because utf-8 is Python's default encoding, e.g. in source files, decode() and encode(). Literally everywhere. If you ask around "I have a bytestring, I need a string, what do I do?", using latin-1 will not be the first answer (and moreover, the correct answ

[issue40980] group names of bytes regexes are strings

2020-06-17 Thread Quentin Wenger
Quentin Wenger added the comment: If I don't have to think about the str -> bytes direction, re should first stop going in the other direction. When I have bytes regexes I actually don't care about strings and would happily receive group names as bytes. But no, re decides that latin-1 is the

[issue40980] group names of bytes regexes are strings

2020-06-17 Thread Quentin Wenger
Quentin Wenger added the comment: bytes are _not_ Unicode code points, not even in the 256 range. End of the story. -- ___ Python tracker ___

[issue40987] Add tests to test_interpreters to import C extension modules converted to PEP 489 multiphase initialization

2020-06-17 Thread Dong-hee Na
Dong-hee Na added the comment: Hmm today I personally wrote the tests for it. Two goals should be achived 1. import doesn't crash 2. Memory leak should be detected. Running "import xxx" in _testcapi.run_in_subinterp() only detect that the import doesn't crash But the memory leak was not dete

[issue41000] IDLE only allow single instance

2020-06-17 Thread E. Paine
New submission from E. Paine : I propose that IDLE only allows a single instance, but behaves mostly like before (multiple shells, etc.). The main motivation for this issue is to (1) stop the same file being opened more than once and (2) make a tabbed interface easier to implement. Starting

[issue40855] statistics.stdev ignore xbar argument

2020-06-17 Thread Matti
Matti added the comment: >I see what you're trying to do but think that interpretation is surprising >and is at odds with the existing and intended uses of the *xbar* argument. > >The goals were to allow the mean to be precomputed (common case) or to be >recentered (uncommon). Neither case

[issue40855] statistics.stdev ignore xbar argument

2020-06-17 Thread Matti
Matti added the comment: I meant to write "pre-calculate". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10118] Tkinter does not find font

2020-06-17 Thread E. Paine
E. Paine added the comment: On Linux using, tcl 8.6.10 and Python 3.8.3, this does not appear to be an issue (Zed appears in the tkinter font family list). -- nosy: +epaine ___ Python tracker __

[issue40987] Add tests to test_interpreters to import C extension modules converted to PEP 489 multiphase initialization

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > So I'd like to suggest to write import tests on their module test > by using _testcapi.run_in_subinterp() for each case. I like this idea. But I would prefer to factorize the code as much as possible. Like being able to add more checks later without having

[issue40996] urllib should fsdecode percent-encoded parts of file URIs on Unix

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41001] Provide wrapper for eventfd

2020-06-17 Thread Christian Heimes
New submission from Christian Heimes : eventfd is a Linux syscall that returns a file descriptor for event/notify systems. I propse to add a simple eventfd(initval, flags) function that is a wrapper around glibc's eventfd abstraction layer. High level notify and semaphores can then be impleme

[issue41001] Provide wrapper for eventfd

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +20109 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20930 ___ Python tracker ___

[issue35663] webbrowser.py firefox bug [python3, windows 10]

2020-06-17 Thread E. Paine
E. Paine added the comment: Your code works fine on Windows 10 2004 with Python 3.8.3 and Firefox 77.0.1 (Firefox not set to default browser). -- nosy: +epaine ___ Python tracker ___

[issue41001] Provide wrapper for eventfd

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue40987] Add tests to test_interpreters to import C extension modules converted to PEP 489 multiphase initialization

2020-06-17 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue41000] IDLE only allow single instance

2020-06-17 Thread E. Paine
E. Paine added the comment: Sorry, I feel I need to clarify. When I say "... requires ... #40893 to be pulled ..." I mean that that would be the preferred way to transfer tabs. If TkDND is not available, or the version is a backport (which wouldn't have the bindings) then tab transfer will u

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20110 pull_request: https://github.com/python/cpython/pull/20931 ___ Python tracker ___ __

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread Inada Naoki
Inada Naoki added the comment: New changeset 2c4928d37edc5e4aeec3c0b79fa3460b1ec9b60d by Inada Naoki in branch 'master': bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878) https://github.com/python/cpython/commit/2c4928d37edc5e4aeec3c0b79fa3460b1ec9b60d -- _

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +20111 pull_request: https://github.com/python/cpython/pull/20932 ___ Python tracker

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20112 pull_request: https://github.com/python/cpython/pull/20933 ___ Python tracker ___ _

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878) This change broke test_distutils on multiple buildbots. Examples: * https://buildbot.python.org/all/#builders/6/builds/1311 * https://buildbot.python.org/all/#builders/639/builds/729 --

[issue41002] HTTPResponse.read with amt is slow

2020-06-17 Thread Bruce Merry
New submission from Bruce Merry : I've run into this on 3.8, but the code on Git master doesn't look significantly different so I assume it still applies. I'm happy to work on a PR for this. When http.client.HTTPResponse.read is called with a specific amount to read, it goes down this code pa

[issue41002] HTTPResponse.read with amt is slow

2020-06-17 Thread Bruce Merry
Change by Bruce Merry : -- type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 07923f32b16ba39165a58a5f47e807ca04ae17aa by Victor Stinner in branch 'master': bpo-35059: Enhance _PyObject_GC_TRACK() macros (GH-20931) https://github.com/python/cpython/commit/07923f32b16ba39165a58a5f47e807ca04ae17aa --

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread Inada Naoki
Inada Naoki added the comment: Oh, why I can not use C99? ``` /home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Include/cpython/unicodeobject.h: In function ‘Py_UNICODE_FILL’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Include/cpython/unicodeobject.h:56:5: error: ‘for’

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20113 pull_request: https://github.com/python/cpython/pull/20934 ___ Python tracker ___ _

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > Oh, why I can not use C99? PEP 7 requires C99 to build Python, but I think that we can try to keep C89 compatibility for the public header files (Python C API). -- ___ Python tracker

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
New submission from STINNER Victor : This issue is similar to bpo-40055: running test_copyreg fails with ENV_CHANGED if numpy is available. Example: $ ./python -m venv env $ env/bin/python -m pip install numpy $ env/bin/python -m test --fail-env-changed -v test_copyreg -m == CPython 3.9.0

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: The issue can be replaced by a fake numpy module: $ cat Lib/numpy.py import warnings warnings.simplefilter('ignore', UserWarning) -- ___ Python tracker ___

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-17 Thread martin w
New submission from martin w : In the ipaddress library there exists two classes IPv4Interface, and IPv6Interface. These classes' hash functions will always return 32 and 64 respectively. If IPv4Interface or IPv6Interface objects then are put in a dictionary, on for example a server storing I

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +20114 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20935 ___ Python tracker ___ _

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-17 Thread SBC King
New submission from SBC King : error was caused by the permission problem with 'xdg-settings'. I checked that Google Chrome is my default browser. I tried the following command by changing the c.NotebookApp.allow_root to True in the jupyter_notebook_config.py file, and it can successfully ope

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-17 Thread SBC King
SBC King added the comment: error was caused by the permission problem with 'xdg-settings'. I checked that Google Chrome is my default browser. I tried the following command by changing the c.NotebookApp.allow_root to True in the jupyter_notebook_config.py file, and it can successfully open

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-17 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +20115 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20936 ___ Python tracker _

[issue40637] Allow users to disable builtin hash modules on compile time

2020-06-17 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- nosy: +cstratak nosy_count: 2.0 -> 3.0 pull_requests: +20116 pull_request: https://github.com/python/cpython/pull/20937 ___ Python tracker

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
New submission from STINNER Victor : Currently, the runpy module imports many modules. runpy is used by "python3 -m module". I propose to attempt to reduce the number of imports to reduce Python startup time. With my local changes, I reduce Python startup time from 24 ms to 18 ms: Mean +- s

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: My local changes removed the following imports from runpy: - '_heapq', - '_locale', - '_sre', - 'collections.abc', - 'copyreg', - 'enum', - 'heapq', - 'importlib.abc', - 'itertools', - 're', - 'sre_compile', - 'sre_constants', - 'sre_parse', - 'typing', - 'typ

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-17 Thread martin w
Change by martin w : -- type: -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue41007] test_importlib logs ResourceWarning: test_path.CommonTests.test_importing_module_as_side_effect()

2020-06-17 Thread STINNER Victor
New submission from STINNER Victor : It seems like the issue was introduced in bpo-39791 by: commit 843c27765652e2322011fb3e5d88f4837de38c06 Author: Jason R. Coombs Date: Sun Jun 7 21:00:51 2020 -0400 bpo-39791 native hooks for importlib.resources.files (GH-20576) The warning: $ ./p

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

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > bpo-39791 native hooks for importlib.resources.files (GH-20576) > https://github.com/python/cpython/commit/843c27765652e2322011fb3e5d88f4837de38c06 This change introduced bpo-41007 "test_importlib logs ResourceWarning: test_path.CommonTests.test_importing_m

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +20117 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20938 ___ Python tracker ___ _

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

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20118 pull_request: https://github.com/python/cpython/pull/20938 ___ Python tracker ___ __

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread Inada Naoki
Inada Naoki added the comment: New changeset 8e34e92caa73259620dd242b92d26edd0949b4ba by Inada Naoki in branch 'master': bpo-36346: Make unicodeobject.h C89 compatible (GH-20934) https://github.com/python/cpython/commit/8e34e92caa73259620dd242b92d26edd0949b4ba -- __

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > Currently, runpy imports +21 modules: > * ./python mod.py: Total 33 > * ./python -m mod: Total 54 (+21) Oops sorry, that's with my local changes! Currently, runpy imports not less than 37 modules: * ./python mod.py: Total 33 * ./python -m mod: Total 70 (+3

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20119 pull_request: https://github.com/python/cpython/pull/20939 ___ Python tracker ___ __

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-06-17 Thread Brandt Bucher
Change by Brandt Bucher : -- assignee: -> brandtbucher components: +Interpreter Core nosy: +cool-RR versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ _

[issue40353] Add an optional "strict" check to zip

2020-06-17 Thread Brandt Bucher
Brandt Bucher added the comment: Looks like two issues were created. I'm going to close this one in favor of 40636, which has PRs attached and is specific to PEP 618. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Provide a strict form of zip (

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-06-17 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum nosy_count: 5.0 -> 6.0 pull_requests: +20120 pull_request: https://github.com/python/cpython/pull/20921 ___ Python tracker ___

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20121 pull_request: https://github.com/python/cpython/pull/20940 ___ Python tracker ___ __

[issue41008] multiprocessing.Connection.poll raises BrokenPipeError on Windows

2020-06-17 Thread David Adam
New submission from David Adam : On Windows 10 (1909, build 18363.900) in 3.7.7 and 3.9.0b3, poll() on a multiprocessing.Connection object can produce an exception: -- import multiprocessing def run(output_socket): for i in range(10): output_socket.send(i) output_socket.close(

[issue36346] Prepare for removing the legacy Unicode C API

2020-06-17 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20122 pull_request: https://github.com/python/cpython/pull/20941 ___ Python tracker ___ _

[issue41000] IDLE only allow single instance

2020-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am somewhat dubious about this. IDLE *must* allow side-by-side windows. AFAIK, single instance Notepad++ does not allow this. Tiles rather than only tabbed windows can potentially be done with with one process (turtledemo), but we are not there yet. I

[issue40275] test.support has way too many imports

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-41006: "Reduce number of modules imported by runpy". -- ___ Python tracker ___ ___ P

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40275: "test.support has way too many imports". -- ___ Python tracker ___ ___ Python

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread Christian Heimes
New submission from Christian Heimes : The decorators requires_linux_version, requires_freebsd_version, and requires_mac_ver don't work as class decorators. Decorated classes are ignored completely and not used in tests. The problem affects a couple of tests in test_os and maybe more cases.

[issue10118] Tkinter does not find font

2020-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: If this is not out of date, it is, and was, a tcl/tk (3rd party) issue. tkinter.font.families basically wraps a tk call. return root.tk.splitlist(root.tk.call("font", "families", *args)) -- resolution: -> out of date stage: -> resolved statu

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +20123 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20942 ___ Python tracker ___

[issue40485] Provide an abstraction for a select-able Event

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +Provide wrapper for eventfd ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41002] HTTPResponse.read with amt is slow

2020-06-17 Thread Bruce Merry
Change by Bruce Merry : -- keywords: +patch pull_requests: +20124 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20943 ___ Python tracker ___

[issue34908] netrc parsing is overly strict

2020-06-17 Thread Theresa O'Connor
Theresa O'Connor added the comment: Emacs' netrc library supports some other keywords, namely 'port'. (This helps distinguish SMTP and IMAP auth information for the same machine.) Documentation is here: https://www.gnu.org/software/emacs/manual/html_node/auth/Help-for-users.html --

[issue41010] email.message.EmailMessage.get_body

2020-06-17 Thread patrick totzke
New submission from patrick totzke : I am trying to use EmailMessage.get_body() on the attached spam email. Although that message may be malformed, I believe that this method should fail gracefully. To reproduce ``` with open('msg', 'rb') as f: m = email.message_from_binary_file(f, _clas

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8362893e3fe083df2ec8bb94c28b1a78383eadbf by Victor Stinner in branch 'master': bpo-41003: Fix test_copyreg when numpy is installed (GH-20935) https://github.com/python/cpython/commit/8362893e3fe083df2ec8bb94c28b1a78383eadbf -- ___

[issue38377] test_asyncio.test_events.GetEventLoopTestsMixin.test_get_event_loop_new_process mixin breaks in the Unix environment without working /dev/shm

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 3.0 -> 4.0 pull_requests: +20125 pull_request: https://github.com/python/cpython/pull/20944 ___ Python tracker ___ ___

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20126 pull_request: https://github.com/python/cpython/pull/20945 ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > What needs to happen to get this 15 year old bug fixed? It prevents C++ > Python modules from being compiled in situations where the user needs to > supply CXXFLAGS. Someone has to propose a PR, someone else to review it, and a core developer has to take

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread Christian Heimes
Christian Heimes added the comment: Clarification: By "ignored" I mean that the entire class is ignored and none of the tests in the class is executed. I ran into the issue when I was working on eventfd PR. -- ___ Python tracker

[issue37369] Issue with pip in venv on Powershell in Windows

2020-06-17 Thread Steve Dower
Steve Dower added the comment: Hi Miika Please create a new issue. It would also be helpful if you gave us some idea of what your username looks like, even if you change it a bit to hide it from the internet. The most common cause of this error is spaces or non-ASCII characters in your user

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset b39d41ba1b77f7bc51c4d6f6d0e336693192cb3a by Victor Stinner in branch '3.9': bpo-41003: Fix test_copyreg when numpy is installed (GH-20935) (GH-20945) https://github.com/python/cpython/commit/b39d41ba1b77f7bc51c4d6f6d0e336693192cb3a --

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20127 pull_request: https://github.com/python/cpython/pull/20946 ___ Python tracker ___ __

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: I created 3 PRs. I have a few more local branches to avoid types and itertools imports. I may create PRs for these ones as well. -- ___ Python tracker _

[issue40999] implicit-int-float-conversion warnings in time and math code

2020-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: I think #39277 is related. -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread miss-islington
miss-islington added the comment: New changeset bb6ec14479f18c32e71e43f2785f177aa17aabbd by Christian Heimes in branch 'master': bpo-41009: fix requires_OS_version() class decorator (GH-20942) https://github.com/python/cpython/commit/bb6ec14479f18c32e71e43f2785f177aa17aabbd -- nosy:

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3d974b2fc681ddd0ec722cf631008d5941da52b8 by Victor Stinner in branch '3.8': bpo-41003: Fix test_copyreg when numpy is installed (GH-20935) (GH-20945) (GH-20946) https://github.com/python/cpython/commit/3d974b2fc681ddd0ec722cf631008d5941da52b8

[issue41003] test_copyreg: importing numpy changes warnings filters

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7824cc05bfe7f8181b21848a52007ddaf5612b9b by Victor Stinner in branch 'master': bpo-41006: collections imports lazily heap (GH-20940) https://github.com/python/cpython/commit/7824cc05bfe7f8181b21848a52007ddaf5612b9b --

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 98ce7b107e6611d04dc35a4f5b02ea215ef122cf by Victor Stinner in branch 'master': bpo-41006: pkgutil imports lazily re (GH-20939) https://github.com/python/cpython/commit/98ce7b107e6611d04dc35a4f5b02ea215ef122cf -- __

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +20128 pull_request: https://github.com/python/cpython/pull/20947 ___ Python tracker ___

[issue40637] Allow users to disable builtin hash modules on compile time

2020-06-17 Thread miss-islington
miss-islington added the comment: New changeset 236a0f5cf022b59dbb6ea17a8e7a677c573d39b9 by stratakis in branch 'master': bpo-40637: Do not emit warnings for disabled builtin hashes (GH-20937) https://github.com/python/cpython/commit/236a0f5cf022b59dbb6ea17a8e7a677c573d39b9 --

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +20129 pull_request: https://github.com/python/cpython/pull/20948 ___ Python tracker ___

[issue41009] @support.requires_*_version broken for classes

2020-06-17 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +20130 pull_request: https://github.com/python/cpython/pull/20949 ___ Python tracker ___

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-17 Thread Eric V. Smith
Eric V. Smith added the comment: Good catch. Your approach seems like a good one. -- nosy: +eric.smith ___ Python tracker ___ ___ P

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-17 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-17 Thread martin w
Change by martin w : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue41000] IDLE: only allow single instance

2020-06-17 Thread E. Paine
E. Paine added the comment: I appreciate your concerns Terry and I guess I must start by saying as much as I like notepad++, I don't like how their instances work. This issue shouldn't change any behaviour (from a user's perspective) other than not being able to open the same file twice. Th

[issue40637] Allow users to disable builtin hash modules on compile time

2020-06-17 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +20131 pull_request: https://github.com/python/cpython/pull/20951 ___ Python tracker ___ ___

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-17 Thread martin w
martin w added the comment: Forgot to add, this applies to all versions, 3.10, 3.9, 3.8, 3.7, 3.6, 3.5 -- versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue40997] python 3.8.2: datetime.datetime(1969, 1, 1).timestamp() yields OSError

2020-06-17 Thread SilentGhost
SilentGhost added the comment: This looks like a duplicate of #37527. -- nosy: +SilentGhost, belopolsky, p-ganssle resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Timestamp conversion on windows fails with timestamps close to EPOCH ___

[issue40637] Allow users to disable builtin hash modules on compile time

2020-06-17 Thread miss-islington
miss-islington added the comment: New changeset 9a58f03dc21d15c076d051d902ce1d0324db9741 by stratakis in branch '3.9': [3.9] bpo-40637: Do not emit warnings for disabled builtin hashes (GH… (GH-20951) https://github.com/python/cpython/commit/9a58f03dc21d15c076d051d902ce1d0324db9741

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-06-17 Thread obserience
obserience added the comment: I looked into this in greater depth a while back and never followed up. In "Modules/_tkinter.c" the Tkapp_Dealloc() function has a commented out check that would ensure it isn't called from the wrong thread. Tkapp_Dealloc(PyObject *self) { PyObject *tp = (P

[issue41006] Reduce number of modules imported by runpy

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9e09849d20987c131b28bcdd252e53440d4cd1b3 by Victor Stinner in branch 'master': bpo-41006: importlib.util no longer imports typing (GH-20938) https://github.com/python/cpython/commit/9e09849d20987c131b28bcdd252e53440d4cd1b3 --

[issue41011] [venv] record which executable and command were used to create a virtual environment

2020-06-17 Thread Brett Cannon
New submission from Brett Cannon : When a virtual environment is created, the resulting pyvenv.cfg specifies the directory which contained the Python executable and the version of Python (see https://github.com/python/cpython/blob/master/Lib/venv/__init__.py#L147). Unfortunately that may not

  1   2   >