[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread gaborjbernat
Change by gaborjbernat : -- keywords: +patch pull_requests: +27100 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28757 ___ Python tracker ___

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread gaborjbernat
gaborjbernat added the comment: I think Brian Skinn script is a rough approximation, but definitely entirely accurate. You'd have to match up what sphinx thinks per doc vs what you import for an accurate view. -- ___ Python tracker

[issue45372] Unwarranted "certificate has expired" when urlopen-ing R3 sites

2021-10-06 Thread Aivar Annamaa
Aivar Annamaa added the comment: I was not able to find out why one of my Windows box failed to update the certificate store, but I was able to work around this by manually installing https://letsencrypt.org/certs/lets-encrypt-r3.der It looks like this is actually a Windows problem, so I'm

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread Brian Skinn
Brian Skinn added the comment: If I understand the problem correctly, these mis-attributions of roles (to 'data' instead of 'class' come about when a thing that is technically a class is defined in source using simple assignment, as with UnionType. Problematic entries will thus have 'data'

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-06 Thread Christian Heimes
Change by Christian Heimes : -- resolution: fixed -> stage: resolved -> needs patch status: closed -> open ___ Python tracker ___

[issue45375] Windows assertion in out-of-tree debug build

2021-10-06 Thread Eryk Sun
Eryk Sun added the comment: I left a message on the PR a day ago about a one-off error in the allocation of `buff`. The size should be `MAXPATHLEN + 1`. That's what's used everywhere else in PC/getpathp.c and what gets passed in the PathCchCombineEx(buff, MAXPATHLEN + 1, ...) call.

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-06 Thread Filipe Laíns
Filipe Laíns added the comment: The fix that was merged seems a bit hacky to me -- it changes the _is_gcc check so that it returns True on clang. Even though distutils is deprecated and no longer synced externally, if someone needs to issue a similar fix, this might trip them over. I would

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Diana! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11, Python 3.9 ___ Python tracker

[issue45390] asyncio.Task doesn't propagate CancelledError() exception correctly.

2021-10-06 Thread Ben
Ben added the comment: This seems to be present in both the Python implementation as well as the accelerated C _asyncio module. It looks like that when a Task awaits a cancelled future, the task itself is cancelled but the cancellation message is not propagated to the task.

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-06 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 5.0 -> 6.0 pull_requests: +27101 pull_request: https://github.com/python/cpython/pull/28760 ___ Python tracker ___

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: On the PR you mention there's more types with this problem. Can we get a full list? -- nosy: +lukasz.langa ___ Python tracker ___

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 496d1aa0b84466cc9b11f4f3b90cee93af1f393e by Miss Islington (bot) in branch '3.9': bpo-34804: [doc] Rephrase section on side effects in functional.rst for clarity (GH-27989) (GH-28763)

[issue45390] asyncio.Task doesn't propagate CancelledError() exception correctly.

2021-10-06 Thread Marco Pagliaricci
New submission from Marco Pagliaricci : I've spotted a little bug in how asyncio.CancelledError() exception is propagated inside an asyncio.Task. Since python 3.9 the asyncio.Task.cancel() method has a new 'msg' parameter, that will create an asyncio.CancelledError(msg) exception

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide: Linux kernel 5.15 regression

2021-10-06 Thread STINNER Victor
STINNER Victor added the comment: I upgraded Fedora Rawhide machines: * x86-64 now runs: 5.15.0-0.rc4.33.fc36.x86_64 * aarch64 now runs: 5.15.0-0.rc4.33.fc36.aarch64 I also disabled systemd-coredump: --- $ cat /etc/sysctl.d/50-coredump.conf # Disable systemd-coredump kernel.core_pattern= $

[issue45389] https://docs.python.org/3/objects.inv still points to 3.9

2021-10-06 Thread gaborjbernat
gaborjbernat added the comment: Could be not a CPython problem, but for reference when trying to look into the inventory file for 3.10 ran into https://github.com/bskinn/sphobjinv/issues/208 -- ___ Python tracker

[issue40116] Regression in memory use of shared key dictionaries for "compact dicts"

2021-10-06 Thread Mark Shannon
Mark Shannon added the comment: New changeset a7252f88d3fa33036bdd6036b8c97bc785ed6f17 by Mark Shannon in branch 'main': bpo-40116: Add insertion order bit-vector to dict values to allow dicts to share keys more freely. (GH-28520)

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread gaborjbernat
gaborjbernat added the comment: The issue with the current state this is that intersphinx fails to find types.UnionType in objects.inv because of leaves under the incorrect namespace (data vs class). -- ___ Python tracker

[issue45392] docstring of "type" could use an update

2021-10-06 Thread Mark Dickinson
Mark Dickinson added the comment: Larry: the first line was introduced in #20189. Does it still make sense to keep it at this point? -- nosy: +larry ___ Python tracker ___

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread gaborjbernat
gaborjbernat added the comment: Not easily, but, e.g. the EllipsisType is one. I would have to create some script which I haven't done yet. The best would be to create a sphinx plugin that collects entries registered in the doc and displays the discrepancy against the intershpinx object.

[issue45006] Add data_offset field to ZipInfo

2021-10-06 Thread Ammar Askar
Ammar Askar added the comment: Could you explain your use-case for this feature in a bit more detail? zipfile is meant to be a relatively high level library to do common tasks such as reading/writing/listing files. The use case for `data_offset` proposed here seems to be relatively advanced

[issue45388] Use JUMP_FORWARD for all forward jumps.

2021-10-06 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +27099 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28755 ___ Python tracker ___

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide: Linux kernel 5.15 regression

2021-10-06 Thread STINNER Victor
STINNER Victor added the comment: The fix is part of Linux kernel v5.15-rc3: https://github.com/torvalds/linux/commit/8cd9da85d2bd87ce889043e7b1735723dd10eb89#diff-40ae7979f67be398216a482f7b3937f9847a79e626665082886fb63e898b5247 -- ___ Python

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide: Linux kernel 5.15 regression

2021-10-06 Thread STINNER Victor
STINNER Victor added the comment: And the ppc64e machine runs 5.15.0-0.rc4.33.fc36.ppc64le. This machine was stuck at kernel 5.7, I'm not sure why. I had to regenerate the grub2 configuration. Ok, all Rawhide buildbots should now run a kernel 5.15 without the ITIMER_VIRTUAL bug. I close

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dcdeb96495fa105098544e2be7b74fa288589912 by Miss Islington (bot) in branch '3.10': bpo-34804: [doc] Rephrase section on side effects in functional.rst for clarity (GH-27989) (GH-28762)

[issue45385] Fix possible reference leak from descr_check

2021-10-06 Thread Dong-hee Na
Dong-hee Na added the comment: Compiler warnings from PR 28572: Objects/descrobject.c#L183 ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized] Objects/descrobject.c#L201 ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized] Objects/descrobject.c#L217

[issue45385] Fix reference leak from descr_check

2021-10-06 Thread Dong-hee Na
Change by Dong-hee Na : -- title: Fix possible reference leak from descr_check -> Fix reference leak from descr_check ___ Python tracker ___

[issue45392] docstring of "type" could use an update

2021-10-06 Thread Larry Hastings
Larry Hastings added the comment: Removing it makes sense to me. Not sure what I was thinking, way back when. Thanks for catching--and volunteering to fix--this! -- ___ Python tracker

[issue45392] docstring of "type" could use an update

2021-10-06 Thread Mark Dickinson
New submission from Mark Dickinson : The docstring of the "type" builtin is mildly confusing. Here's what the first few lines of the output for `help(type)` look like for me (on Python 3.10.0rc2): class type(object) | type(object_or_name, bases, dict) | type(object) -> the object's type

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7af95a1e8097b2aab2cbe8de88727809e745b658 by DonnaDia in branch 'main': bpo-34804: [doc] Rephrase section on side effects in functional.rst for clarity (GH-27989) https://github.com/python/cpython/commit/7af95a1e8097b2aab2cbe8de88727809e745b658

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +27103 pull_request: https://github.com/python/cpython/pull/28763 ___ Python tracker ___

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +27102 pull_request: https://github.com/python/cpython/pull/28762 ___ Python tracker

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread Brian Skinn
Brian Skinn added the comment: Identifiers starting with two uppercase letters returns a HUGE list. >>> pat2 = re.compile(r"([.][A-Z][A-Z])[^.]*$") Filtering down by only those that contain.lower() "type": >>> pprint([obj.name for obj in inv.objects if obj.role == "data" and >>>

[issue45388] Use JUMP_FORWARD for all forward jumps.

2021-10-06 Thread Mark Shannon
New submission from Mark Shannon : Python has two unconditional jumps, JUMP_ABSOLUTE and JUMP_FORWARD. The bytecode compiler should ensure that all forward jumps use JUMP_FORWARD and all backwards jumps use JUMP_ABSOLUTE. That way, the interpreter will know that JUMP_ABSOLUTE jumps are

[issue45389] https://docs.python.org/3/objects.inv still points to 3.10

2021-10-06 Thread gaborjbernat
New submission from gaborjbernat : https://docs.python.org/3/library/ links now to 3.10; however, the objects inventory does not. ❯ curl -s https://docs.python.org/3/objects.inv | head -n 3 # Sphinx inventory version 2 # Project: Python # Version: 3.9 ❯ curl -s

[issue45389] https://docs.python.org/3/objects.inv still points to 3.9

2021-10-06 Thread gaborjbernat
Change by gaborjbernat : -- title: https://docs.python.org/3/objects.inv still points to 3.10 -> https://docs.python.org/3/objects.inv still points to 3.9 ___ Python tracker

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread gaborjbernat
New submission from gaborjbernat : It's a class though: ❯ sphobjinv suggest ./objects.inv UnionType :py:data:`types.UnionType` defined as: UnionType = type(int | str) -- assignee: docs@python components: Documentation messages: 403300 nosy: docs@python, gaborjbernat priority: normal

[issue45272] 'os.path' should not be a frozen module

2021-10-06 Thread Eric Snow
Eric Snow added the comment: On Wed, Oct 6, 2021 at 11:38 AM Guido van Rossum wrote: > I'm trying to understand the proposed solution, "have _imp.is_frozen() check > the module in sys.modules." Does that mean it would do a dict lookup first? Correct. We'd look up the module in sys.modules

[issue45393] help() on operator precedence has confusing entries "avait" "x" and "not" "x"

2021-10-06 Thread Max
New submission from Max : Nobody seems to have noticed this AFAICS: If you type, e.g., help('+') to get help on operator precedence, the fist column gives a lit of operators for each row corresponding to a given precedence. However, the row for "not" (and similar for "await"), has the entry

[issue45375] Windows assertion in out-of-tree debug build

2021-10-06 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +27104 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/28764 ___ Python tracker ___

[issue45394] pip install numpy not working in 3.11.0a on macOS 11.6

2021-10-06 Thread Christian Heimes
Christian Heimes added the comment: Please open a bug with NumPy. The expression Py_TYPE(_fields) = NULL; is no longer valid. NumPy has to use new Py_SET_TYPE() API to modify the type field. -- nosy: +christian.heimes resolution: -> third party stage: -> resolved status: open

[issue45375] Windows assertion in out-of-tree debug build

2021-10-06 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue45375] Windows assertion in out-of-tree debug build

2021-10-06 Thread Steve Dower
Steve Dower added the comment: New changeset 6c942a86a4fb4c8b731cb1bd2933dba554eb79cd by Steve Dower in branch 'main': bpo-45375: Fix off by one error in buffer allocation (GH-28764) https://github.com/python/cpython/commit/6c942a86a4fb4c8b731cb1bd2933dba554eb79cd --

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45272] 'os.path' should not be a frozen module

2021-10-06 Thread Guido van Rossum
Guido van Rossum added the comment: I'm trying to understand the proposed solution, "have _imp.is_frozen() check the module in sys.modules." Does that mean it would do a dict lookup first? Maybe you should do that in the caller instead? importlib/_bootstrap.py calls it a few times, but I'm

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4c35a2aa80d7f55573d83651883d8733fac01e31 by Miss Islington (bot) in branch '3.10': bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) (GH-28771) https://github.com/python/cpython/commit/4c35a2aa80d7f55573d83651883d8733fac01e31

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 92018a08240308c5beef9ccc712bef5c2e582926 by Miss Islington (bot) in branch '3.9': bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) (GH-28770) https://github.com/python/cpython/commit/92018a08240308c5beef9ccc712bef5c2e582926

[issue45272] 'os.path' should not be a frozen module

2021-10-06 Thread Guido van Rossum
Guido van Rossum added the comment: It was a comment about my general lack of understanding of how the importlib bootstrap process works. I should probably start reading the docstrings before complaining more. :-) -- ___ Python tracker

[issue45375] Windows assertion in out-of-tree debug build

2021-10-06 Thread Steve Dower
Steve Dower added the comment: Thanks for mentioning it! New PR to fix -- priority: release blocker -> high ___ Python tracker ___

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f528045f695f7483d955a1eae4c1df68b1b4cacd by Łukasz Langa in branch 'main': bpo-40321: Add missing test, slightly expand documentation (GH-28760) https://github.com/python/cpython/commit/f528045f695f7483d955a1eae4c1df68b1b4cacd --

[issue45393] help() on operator precedence has confusing entries "await" "x" and "not" "x"

2021-10-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: help() on operator precedence has confusing entries "avait" "x" and "not" "x" -> help() on operator precedence has confusing entries "await" "x" and "not" "x" versions: -Python 3.6, Python 3.7, Python 3.8

[issue45020] Freeze all modules imported during startup.

2021-10-06 Thread Eric Snow
Eric Snow added the comment: On Tue, Oct 5, 2021 at 11:31 AM Guido van Rossum wrote: > Whoa. os.path is not always an alias for posixpath, is it? Steve brought this to my attention a couple weeks ago. Bottom line: the frozen module entry is only there for checks, not for actual import, but

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +27108 pull_request: https://github.com/python/cpython/pull/28771 ___ Python tracker ___

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: Senthil, we can't be backporting new APIs to bugfix versions. I took care of updating tests and docs (versionadded), thanks for the code review. Thanks for the fix, Jochem! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open ->

[issue45386] xmlrpc.client unimportable due to strfmt ValueError

2021-10-06 Thread Rodrigo
Change by Rodrigo : -- keywords: +patch nosy: +rtobar nosy_count: 1.0 -> 2.0 pull_requests: +27105 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28765 ___ Python tracker

[issue45020] Freeze all modules imported during startup.

2021-10-06 Thread Larry Hastings
Larry Hastings added the comment: Nope. On Windows, os.path is "ntpath". -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43669] PEP 644: Require OpenSSL 1.1.1 or newer

2021-10-06 Thread Illia Volochii
Change by Illia Volochii : -- nosy: +illia-v nosy_count: 3.0 -> 4.0 pull_requests: +27106 pull_request: https://github.com/python/cpython/pull/28768 ___ Python tracker ___

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0571b934f5f9198c3461a7b631d7073ac0a5676f by rtobar in branch 'main': bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) https://github.com/python/cpython/commit/0571b934f5f9198c3461a7b631d7073ac0a5676f -- nosy:

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27107 pull_request: https://github.com/python/cpython/pull/28770 ___ Python tracker

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, rtobar! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35970] no help flag in base64 util

2021-10-06 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch nosy: +ammar2 nosy_count: 1.0 -> 2.0 pull_requests: +27109 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28774 ___ Python tracker

[issue45396] Custom frozen modules get ignored.

2021-10-06 Thread Eric Snow
Eric Snow added the comment: (This was motivated by https://github.com/python/cpython/pull/28633#discussion_r720506225.) -- ___ Python tracker ___

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

2021-10-06 Thread miss-islington
miss-islington added the comment: New changeset db72e58ea5940c3942ede9f70cb897510b52fc36 by Ammar Askar in branch 'main': bpo-29505: Add fuzzer for ast.literal_eval (GH-28777) https://github.com/python/cpython/commit/db72e58ea5940c3942ede9f70cb897510b52fc36 --

[issue45389] https://docs.python.org/3/objects.inv still points to 3.9

2021-10-06 Thread Ned Deily
Change by Ned Deily : -- assignee: docs@python -> mdk nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread gaborjbernat
gaborjbernat added the comment: Here's a gist where I managed to detect roughly 140 errors (some looks like potential false positive, so likely the real number is more around 100): https://gist.github.com/gaborbernat/5360badab2125b3f81a3bcbce0e94c2a#file-found_issues-output-L1 This does

[issue35970] no help flag in base64 util

2021-10-06 Thread miss-islington
miss-islington added the comment: New changeset 5baec4aea6821256f5d1785a6bd596fab069f1b6 by Ammar Askar in branch 'main': bpo-35970: Add help flag to base64 module (GH-28774) https://github.com/python/cpython/commit/5baec4aea6821256f5d1785a6bd596fab069f1b6 -- nosy: +miss-islington

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

2021-10-06 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +27111 pull_request: https://github.com/python/cpython/pull/28777 ___ Python tracker ___

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-06 Thread Eric Snow
Eric Snow added the comment: I've posted a PR that demonstrates a reasonable solution. -- ___ Python tracker ___ ___

[issue35970] no help flag in base64 util

2021-10-06 Thread Ammar Askar
Change by Ammar Askar : -- components: +Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.11 ___ Python tracker

[issue45394] pip install numpy not working in 3.11.0a on macOS 11.6

2021-10-06 Thread Joshua
New submission from Joshua : pip3.11 install numpy failed on a fresh install of python 3.11.0a on macOS 11.6. pip3.11 install numpy Collecting numpy Downloading numpy-1.21.1.zip (10.3 MB) || 10.3 MB 14.1 MB/s Installing build dependencies ... done

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-06 Thread Eric Snow
New submission from Eric Snow : The mechanism to add custom frozen modules to the Python runtime is to set PyImport_FrozenModules (see Python/frozen.c) to some new array. This means that the default frozen modules (from _PyImport_FrozenModules) are no longer used unless explicitly added to

[issue45393] help() on operator precedence has confusing entries "await" "x" and "not" "x"

2021-10-06 Thread Max
Max added the comment: Thanks for fixing the typo, didn't knnow how to do that when I spotted it (I'm new to this). You also removed Python version 3.6, 3.7, 3.8, however, I just tested on pythonanywhere, >>> sys.version '3.7.0 (default, Aug 22 2018, 20:50:05) \n[GCC 5.4.0 20160609]' So I

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-06 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +27112 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28778 ___ Python tracker

[issue45385] Fix reference leak from descr_check

2021-10-06 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45385] Fix reference leak from descr_check

2021-10-06 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 660718dba57624720c2a9832f10f29ace59c77cf by Dong-hee Na in branch '3.9': [3.9] bpo-45385: Fix reference leak from descr_check (GH-28719) (GH-28780) https://github.com/python/cpython/commit/660718dba57624720c2a9832f10f29ace59c77cf --

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2021-10-06 Thread Hai Shi
Change by Hai Shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: A similar report, https://stackoverflow.com/questions/69466716/python-3-10-idle-does-not-respond-everytime-i-hit-configure-idle-from-options but with FiraCode font https://github.com/tonsky/FiraCode. The compatibility list includes IDLE as 'does not work'

[issue45393] help() on operator precedence has confusing entries "await" "x" and "not" "x"

2021-10-06 Thread Vedran Čačić
Vedran Čačić added the comment: I guess those old versions were removed because they are "frozen", that is, not receiving doc fixes anymore. -- nosy: +veky ___ Python tracker

[issue45385] Fix reference leak from descr_check

2021-10-06 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset e6ff4eba6da9b64aed235ba8d730b5645f71955c by Dong-hee Na in branch 'main': bpo-45385: Fix reference leak from descr_check (#28719) https://github.com/python/cpython/commit/e6ff4eba6da9b64aed235ba8d730b5645f71955c --

[issue45385] Fix reference leak from descr_check

2021-10-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27113 pull_request: https://github.com/python/cpython/pull/28779 ___ Python tracker

[issue45396] Custom frozen modules get ignored.

2021-10-06 Thread Eric Snow
New submission from Eric Snow : Recently we added the "-X frozen_modules" CLI option to control whether or not (non-essential) frozen modules get used. Currently the default is "off", though the plan is to make the default "on". Regardless, this is problematic for executables with custom

[issue45396] Custom frozen modules get ignored.

2021-10-06 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +27110 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28776 ___ Python tracker

[issue38902] image/webp support in mimetypes

2021-10-06 Thread Leo Antunes
Change by Leo Antunes : -- nosy: +costela ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45385] Fix reference leak from descr_check

2021-10-06 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27114 pull_request: https://github.com/python/cpython/pull/28780 ___ Python tracker ___

[issue40418] Small Refactoring: Use bytes.hex() in secrets.token_hex()

2021-10-06 Thread Dennis Sweeney
Change by Dennis Sweeney : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41682] [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure

2021-10-06 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: -27076 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29410] Moving to SipHash-1-3

2021-10-06 Thread Guido van Rossum
Guido van Rossum added the comment: Worth revisiting? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29410] Moving to SipHash-1-3

2021-10-06 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

2021-10-06 Thread jg
New submission from jg : In the version 3.10 and 3.11 python turtle doc, the turtle.write line shows font without it's tuple parenthesis. Something change in 3.10 that makes it look like font='Arial' and 8 and 'normal' are 3 separate parameters, when it should be one tuple parameter

[issue45315] `PyType_FromSpec` does not copy the name

2021-10-06 Thread Hai Shi
Hai Shi added the comment: > the simplest solution is calling `type_set_name`, even if that runs some > unnecessary checks. Hm, I haven't find any case who use dynamical tp_name of Type_Spec temporarily. If we meet this user case, Adding a new object pointer of type name in is an other

[issue45386] xmlrpc.client unimportable due to strfmt ValueError

2021-10-06 Thread R
New submission from R : This is a problem caused by https://bugs.python.org/issue13305. When running python in SerenityOS (https://serenityos.org/), the xmlrpc.client module fails to be imported. This is because the code that decides which format to use for getting 4-digit years, which

[issue45191] Error.__traceback__.tb_lineno is wrong

2021-10-06 Thread nahco314
Change by nahco314 : -- pull_requests: +27098 pull_request: https://github.com/python/cpython/pull/28753 ___ Python tracker ___ ___

[issue45387] GzipFile.write should be buffered

2021-10-06 Thread Ruben Vorderman
Change by Ruben Vorderman : -- components: +Library (Lib) type: -> performance versions: +Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue45387] GzipFile.write should be buffered

2021-10-06 Thread Ruben Vorderman
New submission from Ruben Vorderman : Please consider the following code snippet: import gzip import sys with gzip.open(sys.argv[1], "rt") as in_file_h: with gzip.open(sys.argv[2], "wt", compresslevel=1) as out_file_h: for line in in_file_h: #

[issue45387] GzipFile.write should be buffered

2021-10-06 Thread Marcel Martin
Change by Marcel Martin : -- nosy: +marcelm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45367] Specialize BINARY_MULTIPLY

2021-10-06 Thread Mark Shannon
Mark Shannon added the comment: If some misses are caused by mixed int/float operands, it might be worth investigating whether these occur in loops. Most JIT compilers perform some sort of loop peeling to counter this form of type instability. E.g. x = 0 for ... x += some_float() `x`